CN106776333A - The method of testing and mobile terminal of a kind of search engine - Google Patents

The method of testing and mobile terminal of a kind of search engine Download PDF

Info

Publication number
CN106776333A
CN106776333A CN201611228743.XA CN201611228743A CN106776333A CN 106776333 A CN106776333 A CN 106776333A CN 201611228743 A CN201611228743 A CN 201611228743A CN 106776333 A CN106776333 A CN 106776333A
Authority
CN
China
Prior art keywords
search
keyword
search keyword
tested
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611228743.XA
Other languages
Chinese (zh)
Inventor
许明俊
李悦
张淑燕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201611228743.XA priority Critical patent/CN106776333A/en
Publication of CN106776333A publication Critical patent/CN106776333A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

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)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses the method for testing and mobile terminal of a kind of search engine, methods described includes:Predetermined M search keyword is scanned for by predetermined N number of competing product search engine, is obtained M corresponding M first of search keyword and is searched for set;Wherein, M and N are the natural number more than or equal to 1;M search keyword is scanned for by search engine to be tested, is obtained M corresponding M second of search keyword and is searched for set;The search engine to be tested is tested according to M first search set and M second search set.The embodiment of the present invention can not only improve the testing efficiency of search engine, but also can improve the accuracy of test result.

Description

The method of testing and mobile terminal of a kind of search engine
Technical field
The present invention relates to Internet technical field, more particularly to a kind of search engine method of testing and mobile terminal.
Background technology
Search engine refers to, according to certain strategy, information to be collected from internet with specific computer program, After information is organized and processed, retrieval service is provided the user, be by what the related information of user search showed user System.The function that it is realized is exactly in short data prediction, sets up index and receive inquiry request and returning result.Its In, data prediction refers to, according to search engine requirement, the data obtained through various channels to be converted into structural data;Set up Index refers to that the various fields in structural data set up corresponding index;Receive inquiry request and returning result is to instigate The index set up is retrieved with searching keyword, and returns to the structural data pointed by the index for retrieving.
In general, the renewal of search engine version be very frequently, and every time renewal finish after will be to renewal after Search engine function and performance test is carried out to judge whether it meets function and performance requirement.Draw in the search of prior art In the method for testing held up, search engine to be tested is tested using manual type generally.I.e.:Tester will be true in advance Fixed multiple search keywords are input in search engine to be tested, and each search is closed according to search engine to be tested then The Search Results of keyword are estimated to search engine to be tested.
Realize it is of the invention during, inventor find at least there are the following problems in the prior art:
In the method for testing of existing search engine, search engine to be tested is surveyed using manual type generally Examination, so not only can seriously reduce the testing efficiency of search engine, and also affect the accuracy of test result.
The content of the invention
In view of this, the method for testing and mobile terminal of a kind of search engine are the embodiment of the invention provides, can not only The testing efficiency of search engine is improved, but also the accuracy of test result can be improved.
What the technical scheme of the embodiment of the present invention was realized in:
The embodiment of the present invention proposes a kind of method of testing of search engine, and methods described includes:
Predetermined M search keyword is scanned for by predetermined N number of competing product search engine, obtains M Corresponding M first of individual search keyword searches for set;Wherein, M and N are the natural number more than or equal to 1;
M search keyword is scanned for by search engine to be tested, the corresponding M of M search keyword of acquisition Individual second search set;
The search engine to be tested is tested according to M first search set and M second search set.
In the above-described embodiments, the corresponding M first search set of described M search keyword of acquisition, including:
M search keyword is scanned for by N number of competing product search engine, obtains M search keyword and N number of competing product The corresponding M of search engine × N number of competing product search set;
M first search set is determined according to M × N number of competing product search set.
In the above-described embodiments, it is described that M first search set is determined according to M × N number of competing product search set, including:
When M search keyword is not space-time, one search keyword of selection is used as currently searching in M search keyword Rope keyword;
The current search keyword corresponding the is determined according to the corresponding N number of competing product search set of current search keyword One search set;Repeat aforesaid operations.
In the above-described embodiments, it is described to be gathered with M second search set to described to be tested according to M first search Search engine is tested, including:
When M search keyword is not space-time, one search keyword of selection is used as currently searching in M search keyword Rope keyword;
According to the corresponding first search set of the current search keyword and the second search set to described to be tested Search engine is tested, and obtains the corresponding current test result of the current search keyword;
When whole search keywords are space-time, the search engine to be tested is determined according to M current test result Test result.
In the above-described embodiments, the corresponding current test result of the acquisition current search keyword, including:
The current search keyword is tested by the multiple testing algorithms for pre-setting, acquisition is described currently to search The corresponding multiple Intermediate Test Results of rope keyword;
Determine the current test result according to multiple Intermediate Test Results.
The embodiment of the present invention also proposed a kind of mobile terminal, and the mobile terminal includes:Acquiring unit and test cell; Wherein,
The acquiring unit, for crucial to predetermined M search by predetermined N number of competing product search engine Word is scanned for, and is obtained M corresponding M first of search keyword and is searched for set;M is searched by search engine to be tested Rope keyword is scanned for, and is obtained M corresponding M second of search keyword and is searched for set;Wherein, M and N are and are more than or equal to 1 natural number;
The test cell, for being searched to described to be tested according to M first search set and M second search set Index is held up and is tested.
In the above-described embodiments, the acquiring unit includes:Obtain subelement and the first determination subelement;Wherein,
The acquisition subelement, for being scanned for M search keyword by N number of competing product search engine, obtains M Search keyword M corresponding with N number of competing product search engine × N number of competing product search set;
First determination subelement, for determining M first search set according to M × N number of competing product search set.
In the above-described embodiments, first determination subelement, specifically for being not space-time when M search keyword, in M A search keyword is selected in individual search keyword as current search keyword;According to the corresponding N of current search keyword Individual competing product search set determines the corresponding first search set of the current search keyword;Repeat aforesaid operations.
In the above-described embodiments, the test cell includes:Selection subelement, test subelement and second determine that son is single Unit;Wherein,
The selection subelement, for being not space-time when M search keyword, selects one in M search keyword Search keyword is used as current search keyword;
The test subelement, for according to the corresponding first search set of the current search keyword and the second search Set is tested the search engine to be tested, obtains the corresponding current test result of the current search keyword;
Second determination subelement, for being space-time when whole search keywords, determines according to M current test result The test result of the search engine to be tested.
In the above-described embodiments, the test subelement, specifically for the multiple testing algorithms by pre-setting to institute State current search keyword to be tested, obtain the corresponding multiple Intermediate Test Results of the current search keyword;According to many Individual Intermediate Test Results determine the current test result.
As can be seen here, in the technical scheme of the embodiment of the present invention, predetermined N number of competing product search engine is first passed through to pre- The M search keyword for first determining is scanned for, and is obtained M corresponding M first of search keyword and is searched for set, is then passed through Search engine to be tested is scanned for M search keyword, is obtained M corresponding M second of search keyword and is searched for collection Close, search engine to be tested is tested finally according to M first search set and M second search set.Namely Say, in the technical scheme of the embodiment of the present invention, can be automatically obtained to test by predetermined N number of competing product search engine Search engine tested.Rather than as in the prior art, being tested search engine to be tested using manual type. Therefore, compared to the prior art, the method for testing and mobile terminal of the search engine that the embodiment of the present invention is proposed, can not only carry The testing efficiency of search engine high, but also the accuracy of test result can be improved;Also, implement simple and convenient, be easy to Popularization, the scope of application is wider.
Brief description of the drawings
Fig. 1 is a hardware architecture diagram for optional mobile terminal 1 00 for realizing each embodiment of the invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal 1 00 as shown in Figure 1;
Fig. 3 realizes schematic flow sheet for first of the method for testing of search engine in the embodiment of the present invention;
Fig. 4 is the implementation method stream of the corresponding M first search set of M search keyword of acquisition in the embodiment of the present invention Journey schematic diagram;
Fig. 5 is the implementation method schematic flow sheet of the search set of determination first in the embodiment of the present invention;
Fig. 6 is the implementation method schematic flow sheet tested search engine to be tested in the embodiment of the present invention;
Fig. 7 realizes schematic flow sheet for second of the method for testing of search engine in the embodiment of the present invention;
Fig. 8 is the first composition structural representation of mobile terminal in the embodiment of the present invention;
Fig. 9 is the second composition structural representation of mobile terminal in the embodiment of the present invention.
Specific embodiment
It should be appreciated that the technical scheme that the specific embodiments described herein are merely illustrative of the present invention, is not used to Limit protection scope of 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 It is phone, smart phone, notebook computer, digit broadcasting receiver, personal digital assistant (PDA), panel computer (PAD), portable The mobile terminal of formula multimedia player (PMP), guider etc..
Fig. 1 is that the hardware configuration of the mobile terminal 1 00 for realizing each embodiment of the invention is illustrated, as shown in figure 1, mobile whole End 100 can include:Wireless communication unit 110, user input unit 120, sensing unit 130, output unit 140, memory 150th, interface unit 160, controller 170 and power subsystem 180 etc..Fig. 1 shows the mobile terminal 1 00 with various assemblies, It should be understood that being not required for implementing all components for showing.More or less component can alternatively be implemented.Will be The element of mobile terminal 1 00 is described below in detail.
Wireless communication unit 110 generally includes one or more assemblies, and it allows mobile terminal 1 00 and wireless communication system Or the radio communication between network.For example, wireless communication unit 110 can include:It is mobile communication module 111, wireless interconnected At least one of net module 112 and short range communication module 113.
Mobile communication module 111 send radio signals to base station (for example, access point, node B etc.), exterior terminal with And at least one of server and/or receive from it radio signal.Such radio signal can include voice call 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 112 supports the Wi-Fi (Wireless Internet Access) of mobile terminal 1 00.Wireless Internet module 112 can To be internally or externally couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by wireless Internet module 112 can include WLAN (WLAN), Wireless Fidelity (Wi-Fi), WiMAX (Wibro), worldwide interoperability for microwave accesses (Wimax), high-speed downlink packet access (HSDPA) etc..
Short range communication module 113 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 honeybeeTMDeng.
User input unit 120 can generate key input data to control mobile terminal 1 00 according to the order of user input Various operations.User input unit 120 allow the various types of information of user input, and can include keyboard, metal dome, Touch pad (for example, detection due to being touched caused by resistance, pressure, electric capacity etc. change sensitive component), roller, rocking bar Deng.Especially, when touch pad is superimposed upon on display unit 141 in the form of layer, touch-screen can be formed.
Sensing unit 130 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 The acceleration or deceleration movement of 100 orientation, mobile terminal 1 00 and direction etc., and generate the behaviour for controlling mobile terminal 1 00 The order of work or signal.For example, when mobile terminal 1 00 is embodied as sliding-type mobile phone, sensing unit 130 can sense this Sliding-type phone is opened or closed.In addition, sensing unit 130 can detect power subsystem 180 whether provide electric power or Whether interface unit 160 couples with external device (ED).
Interface unit 160 is connected the interface that can pass through with mobile terminal 1 00 as at least one external device (ED).For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port (typical case is general-purpose serial bus USB port), the dress for connecting with identification module Port, audio input/output (I/O) port, video i/o port, ear port for putting etc..
Interface unit 160 can be used for receiving the input (for example, data message, electric power etc.) from external device (ED) and inciting somebody to action One or more elements that the input for receiving is transferred in mobile terminal 1 00 can be used in mobile terminal 1 00 and outer Data are transmitted between part device.
In addition, when mobile terminal 1 00 is connected with external base, interface unit 160 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 1 00.Be can serve as from the various command signals or electric power of base input mobile whole for recognizing Whether end 100 is accurately fitted within the signal on base.
Output unit 140 is configured to provide output signal (for example, audio is believed with vision, audio and/or tactile manner Number, vision signal, alarm signal, vibration signal etc.).Output unit 140 can include display unit 141 and dio Output Modules 142 etc..
Display unit 141 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 141 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 be in video calling pattern or During person's image capture mode, display unit 141 can show the image of capture and/or the image of reception, show video or image And the UI or GUI of correlation function etc..
Meanwhile, when display unit 141 and touch pad in the form of layer it is superposed on one another to form touch-screen when, display unit 141 can serve as input unit and output device.Display unit 141 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 one Kind.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 aobvious Show device, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..Wanted according to specific Implementation method, mobile terminal 1 00 can include two or more display units (or other display devices), for example, it is mobile eventually End 100 can include outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used to detect touch Input pressure and touch input position and touch input area.
Dio Output Modules 142 can be in call signal reception pattern, call mode, record mould in mobile terminal 1 00 It is that wireless communication unit 110 is received or in memory 150 when under formula, speech recognition mode, broadcast reception mode isotype The voice data transducing audio signal of middle storage and it is output as sound.And, dio Output Modules 142 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.Sound Frequency output module 142 can be including loudspeaker, buzzer etc..
Memory 150 can store software program for the treatment and control operation performed by controller 170 etc., or can be with Temporarily store the data (for example, telephone directory, message, still image, video etc.) that exported or will export.And, deposit Reservoir 150 can store vibration and the data of audio signal of the various modes on being exported when touching and being applied to touch-screen.
Memory 150 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 memory (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 150 with by network connection Store function network storage device cooperation.
The overall operation of the generally control mobile terminal 1 00 of controller 170.For example, controller 170 perform with voice call, The related control and treatment such as data communication, video calling.In addition, controller 170 can be included for reproducing or playing back many matchmakers The multi-media module 171 of volume data, multi-media module 171 can be constructed in controller 170, or can be structured as and control Device 170 is separated.Controller 170 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 180 receives external power or internal power under the control of controller 170 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 170. 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 150 and performed by controller 170.
So far, mobile terminal 1 00 is described according to its function.Below, for the sake of brevity, description is such as folded Slide type mobile terminal in various types of mobile terminal 1s 00 of type, board-type, oscillating-type, slide type mobile terminal 100 etc. 100 as an example.Therefore, the present invention can be applied to any kind of mobile terminal 1 00, and be not limited to sliding-type movement eventually End 100.
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 wireless communication system and satellite-based communication system are operated.
The communication system that mobile terminal 1 00 wherein of the invention can be operated is described referring now to Fig. 2.
Such communication system can use different air interface and/or physical layer.For example, used by communication system Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system System (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, below Description be related to cdma communication system, but such teaching is equally applicable to other types of system.
With reference to Fig. 2, cdma wireless communication system 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 include such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system can include multiple BSC275 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 System (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.
Used as a typical operation of wireless communication system, BS270 receives the reverse link from various mobile terminal 1s 00 Signal.Mobile terminal 1 00 generally participates in call, information receiving and transmitting and other types of communication.Each of specific BS270 receptions is reverse Link signal is processed in specific BS270.The data of acquisition are forwarded to the BSC275 of correlation.BSC provides call money Source distribution and the mobile management function of the coordination including the soft switching process between BS270.The data that BSC275 will also be received MSC280 is routed to, it provides the extra route service for forming interface with PSTN290.Similarly, PSTN290 with MSC280 forms interface, and MSC and BSC275 form interface, and BSC275 correspondingly controls BS270 with by forward link signals It is sent to mobile terminal 1 00.
The mobile communication module 112 of wireless communication unit 110 is based on the built-in access movement of mobile terminal in mobile terminal The necessary data (including customer identification information and authentication information) of communication network (such as 2G/3G/4G mobile communications networks) is accessed Mobile communications network is the business transmission mobile data (bag such as the web page browsing of mobile terminal user, network multimedia broadcasting Include up mobile data and descending mobile data).
The wireless Internet module 113 of wireless communication unit 110 by run the related protocol function of hotspot and reality The function of existing hotspot, hotspot supports that multiple mobile terminals (any mobile terminal outside mobile terminal) are accessed, and leads to The webpage that the mobile communication crossed between multiplexing mobile communication module 112 and mobile communications network is connected as mobile terminal user is clear Look at, the business transmission mobile data such as network multimedia is played (including up mobile data and descending movement it is logical Letter data), because mobile terminal is substantially the mobile communication connection transmission movement between multiplexing mobile terminal and communication network Communication data, therefore the flow of the mobile data of mobile terminal consumption counts movement by the charging entity of communication network side The post and telecommunication tariff of terminal, so as to consume the data flow of the mobile data that the mobile terminal post and telecommunication tariff that uses of signing includes Amount.
Based on the hardware configuration of above-mentioned mobile terminal 1 00 and communication system, the inventive method each embodiment is proposed.
Fig. 3 realizes schematic flow sheet for first of the method for testing of search engine in the embodiment of the present invention.As shown in figure 3, The method of testing of search engine may comprise steps of:
Step 301, predetermined M search keyword is searched by predetermined N number of competing product search engine Rope, obtains M corresponding M first of search keyword and searches for set.
In a particular embodiment of the present invention, it may be predetermined that N number of competing product search engine and M search keyword.Example Such as, it is assumed that three competing product search engines and four search keywords can be predefined;Wherein, three competing product search engine difference For:Competing product search engine 1, competing product search engine 2 and competing product search engine 3;Three search keywords are respectively:Search keyword 1st, search keyword 2, search keyword 3 and search keyword 4.In this step, can be searched by predetermined N number of competing product Index is held up and predetermined M search keyword is scanned for, and obtains M corresponding M first of search keyword and searches for collection Close.Wherein, M and N are the natural number more than or equal to 1.For example, it is assumed that predefining three competing product search engines and four search Keyword, can be scanned for by predetermined three competing product search engines to predetermined four search keywords, Obtain four corresponding four first of search keywords and search for set, respectively:First the 1, first search of search set set 2, First search set 3 and the first search set 4.
Fig. 4 is the implementation method stream of the corresponding M first search set of M search keyword of acquisition in the embodiment of the present invention Journey schematic diagram.As shown in figure 4, the method for the corresponding M first search set of M search keyword of acquisition can include following step Suddenly:
Step 401, M search keyword is scanned for by N number of competing product search engine, obtain M search keyword M corresponding with N number of competing product search engine × N number of competing product search set.
In specific embodiment of the invention, M search keyword can be searched by N number of competing product search engine Rope, obtains M search keyword M corresponding with N number of competing product search engine × N number of competing product search and gathers.Specifically, M × N number of competing Product search set can be as described in Table 1:
Table 1
In a particular embodiment of the present invention, it is assumed that predefine three competing product search engines and four search keywords, In this step, four search keywords can be scanned for by three competing product search engines, obtains four search crucial Word 4 × 3=12 competing product search set corresponding with three competing product search engines.
Step 402, M first search set is determined according to the competing product search set of M × N number of.
In a particular embodiment of the present invention, M search keyword M corresponding with N number of competing product search engine is being got After × N number of competing product search set, M first search set can be determined according to M × N number of competing product search set.Fig. 5 is this hair The implementation method schematic flow sheet of the first search set is determined in bright embodiment.As shown in figure 5, according to M × N number of competing product search collection Close and determine that the method for M first search set may comprise steps of:
Step 402a, judge whether M search keyword is empty;When M search keyword is not space-time, step is performed 402b;When M search keyword is space-time, step 402d is performed.
In a particular embodiment of the present invention, when M first search set is determined according to M × N number of competing product search set, Can first judge whether M search keyword is empty;When M search keyword is not space-time, step 402b is performed;Searched when M Rope keyword is space-time, performs step 402d.
Step 402b, in M search keyword select a search keyword as current search keyword.
In a particular embodiment of the present invention, when M search keyword is not space-time, can be in M search keyword One search keyword of selection is used as current search keyword.For example, in this step, when M search keyword is not space-time, Search keyword 1 can be selected as current search keyword.
Step 402c, current search keyword pair is determined according to the corresponding N number of competing product search set of current search keyword The the first search set answered;Return and perform step 402a.
In a particular embodiment of the present invention, after selection current search keyword in M search keyword, can be with root Determine the corresponding first search set of current search keyword according to the corresponding N number of competing product search set of current search keyword.Compared with Goodly, in a particular embodiment of the present invention, N number of competing product search intersection of sets collection can be calculated, by N number of competing product search set Common factor is defined as the corresponding first search set of current search keyword;Return and perform step 402a.
Step 402d, the flow for terminating the individual first search set of determination M.
In a particular embodiment of the present invention, when whether M search keyword is space-time, terminate to determine M first search The flow of set.
It can be seen from above-mentioned analysis, by above-mentioned step 401~402, M search keyword can be obtained corresponding M first search set, is then scanned for by search engine to be tested to M search keyword, is obtained M search and is closed The corresponding M second search set of keyword, finally according to M first search set and M second search set to be tested Search engine is tested.
Step 302, M search keyword is scanned for by search engine to be tested, obtain M search keyword Corresponding M second search set.
In a particular embodiment of the present invention, the corresponding M first search set of M search keyword is being got Afterwards, M search keyword can also be scanned for by search engine to be tested, the corresponding M of M search keyword of acquisition Individual second search set.For example, it is assumed that after the corresponding four first search set of four search keywords is got, can be with Four search keywords are scanned for by search engine to be tested, obtains four search keywords corresponding four second Search set, respectively:Second the 1, second search of search set the 2, second search of set set 3 and the second search set 4.
Step 303, search engine to be tested is surveyed according to the search of M first set and M second search set Examination.
In a particular embodiment of the present invention, the corresponding M first search set of M search keyword of acquisition is being got Searched for after set with M corresponding M second of search keyword, can be according to M first search set and M second search Set is tested search engine to be tested.
Fig. 6 is the implementation method schematic flow sheet tested search engine to be tested in the embodiment of the present invention.Such as Shown in Fig. 6, according to the method that M first search set and M second search set are tested search engine to be tested May comprise steps of:
Step 303a, judge whether M search keyword is empty;When M search keyword is not space-time, step is performed 303b;When M search keyword is space-time, step 303d is performed.
In a particular embodiment of the present invention, gather with M second search set to be tested according to M first search Search engine tested, can first judge whether M search keyword is empty;When M search keyword is not space-time, hold Row step 303b;When M search keyword is space-time, step 303d is performed.
Step 303b, in M search keyword select a search keyword as current search keyword.
In a particular embodiment of the present invention, when M search keyword is not space-time, can be in M search keyword One search keyword of selection is used as current search keyword.For example, in this step, when M search keyword is not space-time, Search keyword 1 can be selected as current search keyword.
Step 303c, according to current search keyword it is corresponding first search set and second search set to be tested Search engine is tested, and obtains the corresponding current test result of current search keyword;Return and perform step 303a.
In a particular embodiment of the present invention, after selection current search keyword in M search keyword, can be with root Search engine to be tested is tested according to the corresponding first search set of current search keyword and the second search set, is obtained Take the corresponding current test result of current search keyword;Return and perform step 303a.Specifically, in specific implementation of the invention In example, the multiple testing algorithms for pre-setting can be first passed through current search keyword is tested, obtained current search and close The corresponding multiple Intermediate Test Results of keyword;Then current test result is determined according to multiple Intermediate Test Results.Specifically, in advance The multiple testing algorithms for first setting can include:P&N algorithms, MRR algorithms, MAP algorithms, RECALL algorithms and PRECISION are calculated Method.
Step 303d, the test result that search engine to be tested is determined according to M current test result.
In a particular embodiment of the present invention, get the corresponding current test result of M current search keyword it Afterwards, the test result of search engine to be tested can be determined according to M current test result.In specific embodiment of the invention In, the test result of search engine to be tested can be determined using various methods.For example, can be by calculating M current survey The average value of test result determines the test result of search engine to be tested;Can also be by calculating the individual current test results of M Weighted average determines the test result of search engine to be tested.
Fig. 7 realizes schematic flow sheet for second of the method for testing of search engine in the embodiment of the present invention.As shown in fig. 7, Pre-set N number of competing product search engine and M search keyword;Then by N number of competing product search engine to M search keyword Scan for, obtain M corresponding M first of search keyword and search for set;M is searched by search engine to be tested again Rope keyword is scanned for, and is obtained M corresponding M second of search keyword and is searched for set;Finally according to M first search collection Close and M second search set is tested search engine to be tested, obtain the test result of search engine to be tested.
The method of testing of the search engine that the embodiment of the present invention is proposed, first passes through predetermined N number of competing product search engine Predetermined M search keyword is scanned for, M corresponding M first of search keyword is obtained and is searched for set, then M search keyword is scanned for by search engine to be tested, is obtained M corresponding M second of search keyword and is searched Suo Jihe, tests search engine to be tested finally according to M first search set and M second search set. That is, in the technical scheme of the embodiment of the present invention, it is right to be automatically obtained by predetermined N number of competing product search engine The search engine of test is tested.Rather than as in the prior art, being carried out to search engine to be tested using manual type Test.Therefore, compared to the prior art, the method for testing of the search engine that the embodiment of the present invention is proposed, can not only improve and search The testing efficiency that index is held up, but also the accuracy of test result can be improved;Also, implement it is simple and convenient, be easy to popularization, The scope of application is wider.
Fig. 8 is the first composition structural representation of mobile terminal in the embodiment of the present invention.As shown in fig. 7, described mobile whole End includes:Acquiring unit 801 and test cell 802;Wherein,
The acquiring unit 801, for being searched for predetermined M by predetermined N number of competing product search engine Keyword is scanned for, and is obtained M corresponding M first of search keyword and is searched for set;By search engine to be tested to M Individual search keyword is scanned for, and is obtained M corresponding M second of search keyword and is searched for set;Wherein, M and N are and are more than Natural number equal to 1;
The test cell 802, for being gathered with M second search set to described to be tested according to M first search Search engine tested.
Fig. 9 is the second composition structural representation of mobile terminal in the embodiment of the present invention.As shown in figure 9, described obtain single Unit 801 includes:Obtain the determination subelement 8012 of subelement 8011 and first;Wherein,
The acquisition subelement 8011, for being scanned for M search keyword by N number of competing product search engine, is obtained Take M search keyword M corresponding with N number of competing product search engine × N number of competing product search set;
First determination subelement 8012, for determining M first search set according to M × N number of competing product search set.
Further, first determination subelement 8012, specifically for not being space-time when M search keyword, at M A search keyword is selected in search keyword as current search keyword;It is corresponding N number of according to current search keyword Competing product search set determines the corresponding first search set of the current search keyword;Repeat aforesaid operations.
Further, the test cell 802 includes:Selection subelement 8021, test subelement 8022 and second determine Subelement 8023;Wherein,
The selection subelement 8021, for being not space-time when whole search keywords, selects in whole search keywords A search keyword is selected as current search keyword;
The test subelement 8022, for according to the corresponding first search set of the current search keyword and second Search set is tested the search engine to be tested, obtains the corresponding current test knot of the current search keyword Really;
Second determination subelement 8023, for being space-time when whole search keywords, according to M current test result Determine the test result of the search engine to be tested.
Further, the test subelement 8022, specifically for the multiple testing algorithms by pre-setting to described Current search keyword is tested, and obtains the corresponding multiple Intermediate Test Results of the current search keyword;According to multiple Intermediate Test Results determine the current test result.
Acquiring unit 801 and test cell 802 in mobile terminal provided in an embodiment of the present invention can be by movements Processor in terminal is realized;Certainly can also be realized by specific logic circuit;During specific embodiment, treatment Device can be central processing unit (CPU), microprocessor (MPU), digital signal processor (DSP) or field programmable gate array (FPGA) etc..
The mobile terminal that the embodiment of the present invention is proposed, first passes through predetermined N number of competing product search engine to predefining M search keyword scan for, obtain corresponding M first search of M search keyword and gather, then by be tested Search engine M search keyword is scanned for, obtain corresponding M second search of M search keyword and gather, finally Search engine to be tested is tested according to M first search set and M second search set.That is, at this In the technical scheme of inventive embodiments, the search to testing can be automatically obtained by predetermined N number of competing product search engine Engine is tested.Rather than as in the prior art, being tested search engine to be tested using manual type.Therefore, Compared to the prior art, the mobile terminal that the embodiment of the present invention is proposed, can not only improve the testing efficiency of search engine, and The accuracy of test result can also be improved;Also, implement simple and convenient, be easy to popularization, the scope of application is wider.
It should be understood that " one embodiment " or " embodiment " that specification is mentioned in the whole text means relevant with embodiment Special characteristic, structure or characteristic are included at least one embodiment of the present invention.Therefore, occur everywhere in entire disclosure " in one embodiment " or " in one embodiment " not necessarily refers to identical embodiment.Additionally, these specific feature, knots Structure or characteristic can be combined in one or more embodiments in any suitable manner.It should be understood that in various implementations of the invention In example, the size of the sequence number of above-mentioned each process is not meant to the priority of execution sequence, and the execution sequence of each process should be with its work( Can determine with internal logic, the implementation process without tackling the embodiment of the present invention constitutes any restriction.The embodiments of the present invention Sequence number is for illustration only, and the quality of embodiment is not represented.
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.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, can be by it Its mode is realized.Apparatus embodiments described above are only schematical, for example, the division of the unit, is only A kind of division of logic function, can have other dividing mode, such as when actually realizing:Multiple units or component can be combined, or Another system is desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed each composition portion Coupling point each other or direct-coupling or communication connection can be the INDIRECT COUPLINGs of equipment or unit by some interfaces Or communication connection, can be electrical, machinery or other forms.
The above-mentioned unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location;Both a place had been may be located at, it is also possible to be distributed to multiple network lists In unit;Part or all of unit therein can be according to the actual needs selected to realize the purpose of this embodiment scheme.
In addition, each functional unit in various embodiments of the present invention can be fully integrated into a processing unit, also may be used Being each unit individually as a unit, it is also possible to which two or more units are integrated in a unit;It is above-mentioned Integrated unit can both be realized in the form of hardware, it would however also be possible to employ hardware adds the form of SFU software functional unit to realize.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through Programmed instruction related hardware is completed, and foregoing program can be stored in computer read/write memory medium, and the program exists During execution, the step of including above method embodiment is performed;And foregoing storage medium includes:Movable storage device, read-only deposit Reservoir (Read Only Memory, ROM), magnetic disc or CD etc. are various can be with the medium of store program codes.
Or, if the above-mentioned integrated unit of the present invention is to realize in the form of software function module and as independent product When selling or using, it is also possible to which storage is in a computer read/write memory medium.Based on such understanding, the present invention is implemented The part that the technical scheme of example substantially contributes to prior art in other words can be embodied in the form of software product, The computer software product is stored in a storage medium, including some instructions are used to so that computer equipment (can be with It is personal computer, server or network equipment etc.) perform all or part of each embodiment methods described of the invention. And foregoing storage medium includes:Movable storage device, ROM, magnetic disc or CD etc. are various can be with Jie of store program codes Matter.
The above, specific embodiment only of the invention, but protection scope of the present invention is not limited thereto, and it is any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all contain Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (10)

1. a kind of method of testing of search engine, it is characterised in that methods described includes:
Predetermined M search keyword is scanned for by predetermined N number of competing product search engine, is obtained M and is searched The corresponding M first search set of rope keyword;Wherein, M and N are the natural number more than or equal to 1;
M search keyword is scanned for by search engine to be tested, obtains the corresponding M of M search keyword individual the Two search set;
The search engine to be tested is tested according to M first search set and M second search set.
2. method according to claim 1, it is characterised in that corresponding M first of M search keyword of the acquisition is searched Suo Jihe, including:
M search keyword is scanned for by N number of competing product search engine, is obtained M search keyword and is searched for N number of competing product The corresponding M of engine × N number of competing product search set;
M first search set is determined according to M × N number of competing product search set.
3. method according to claim 2, it is characterised in that described to determine M the according to M × N number of competing product search set One search set, including:
When M search keyword is not space-time, a search keyword is selected to be closed as current search in M search keyword Keyword;
Determine that the current search keyword corresponding first is searched according to the corresponding N number of competing product search set of current search keyword Suo Jihe;Repeat aforesaid operations.
4. method according to claim 1, it is characterised in that described according to M first search set and M second search Set is tested the search engine to be tested, including:
When M search keyword is not space-time, a search keyword is selected to be closed as current search in M search keyword Keyword;
According to the corresponding first search set of the current search keyword and the second search set to the search to be tested Engine is tested, and obtains the corresponding current test result of the current search keyword;
When whole search keywords are space-time, the test of the search engine to be tested is determined according to M current test result As a result.
5. method according to claim 4, it is characterised in that the acquisition current search keyword is corresponding current Test result, including:
The current search keyword is tested by the multiple testing algorithms for pre-setting, is obtained the current search and is closed The corresponding multiple Intermediate Test Results of keyword;
Determine the current test result according to multiple Intermediate Test Results.
6. a kind of mobile terminal, it is characterised in that the mobile terminal includes:Acquiring unit and test cell;Wherein,
The acquiring unit, for being entered to predetermined M search keyword by predetermined N number of competing product search engine Line search, obtains M corresponding M first of search keyword and searches for set;M search is closed by search engine to be tested Keyword is scanned for, and is obtained M corresponding M second of search keyword and is searched for set;Wherein, M and N are more than or equal to 1 Natural number;
The test cell, for being drawn to the search to be tested according to M first search set and M second search set Hold up and tested.
7. mobile terminal according to claim 6, it is characterised in that the acquiring unit includes:Obtain subelement and the One determination subelement;Wherein,
The acquisition subelement, for being scanned for M search keyword by N number of competing product search engine, obtains M search Keyword M corresponding with N number of competing product search engine × N number of competing product search set;
First determination subelement, for determining M first search set according to M × N number of competing product search set.
8. mobile terminal according to claim 7, it is characterised in that first determination subelement, specifically for when M Search keyword is not space-time, and a search keyword is selected in M search keyword as current search keyword;According to The corresponding N number of competing product search set of current search keyword determines the corresponding first search set of the current search keyword; Repeat aforesaid operations.
9. mobile terminal according to claim 6, it is characterised in that the test cell includes:Selection subelement, test Subelement and the second determination subelement;Wherein,
The selection subelement, for being not space-time when M search keyword, selects a search in M search keyword Keyword is used as current search keyword;
The test subelement, for according to the corresponding first search set of the current search keyword and the second search set The search engine to be tested is tested, the corresponding current test result of the current search keyword is obtained;
Second determination subelement, for being space-time when whole search keywords, according to M current test result determines The test result of search engine to be tested.
10. mobile terminal according to claim 9, it is characterised in that the test subelement, specifically for by advance Multiple testing algorithms of setting are tested the current search keyword, obtain the current search keyword corresponding many Individual Intermediate Test Results;Determine the current test result according to multiple Intermediate Test Results.
CN201611228743.XA 2016-12-27 2016-12-27 The method of testing and mobile terminal of a kind of search engine Pending CN106776333A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611228743.XA CN106776333A (en) 2016-12-27 2016-12-27 The method of testing and mobile terminal of a kind of search engine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611228743.XA CN106776333A (en) 2016-12-27 2016-12-27 The method of testing and mobile terminal of a kind of search engine

Publications (1)

Publication Number Publication Date
CN106776333A true CN106776333A (en) 2017-05-31

Family

ID=58922685

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611228743.XA Pending CN106776333A (en) 2016-12-27 2016-12-27 The method of testing and mobile terminal of a kind of search engine

Country Status (1)

Country Link
CN (1) CN106776333A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108021505A (en) * 2017-12-05 2018-05-11 百度在线网络技术(北京)有限公司 Data loading method, device and computer equipment
CN108959067A (en) * 2018-05-31 2018-12-07 康键信息技术(深圳)有限公司 Test method, device and the computer readable storage medium of search engine
CN109739768A (en) * 2018-12-29 2019-05-10 深圳Tcl新技术有限公司 Search engine evaluating method, device, equipment and readable storage medium storing program for executing

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4011383B2 (en) * 2002-04-04 2007-11-21 Kddi株式会社 Data search method, data search system, search keyword generation device, and computer program
CN102508831A (en) * 2010-04-09 2012-06-20 微软公司 Shopping search engines
CN102622296A (en) * 2012-02-21 2012-08-01 百度在线网络技术(北京)有限公司 Search engine module testing method, search engine module testing system and devices
CN106776299A (en) * 2016-11-30 2017-05-31 努比亚技术有限公司 Search engine test device and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4011383B2 (en) * 2002-04-04 2007-11-21 Kddi株式会社 Data search method, data search system, search keyword generation device, and computer program
CN102508831A (en) * 2010-04-09 2012-06-20 微软公司 Shopping search engines
CN102622296A (en) * 2012-02-21 2012-08-01 百度在线网络技术(北京)有限公司 Search engine module testing method, search engine module testing system and devices
CN106776299A (en) * 2016-11-30 2017-05-31 努比亚技术有限公司 Search engine test device and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈运文: "《怎样量化评价搜索引擎的结果质量[https://www.infoq.cn/article/cyw-evaluate-seachengine-result-quality]》", 《百度文库》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108021505A (en) * 2017-12-05 2018-05-11 百度在线网络技术(北京)有限公司 Data loading method, device and computer equipment
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
CN109739768A (en) * 2018-12-29 2019-05-10 深圳Tcl新技术有限公司 Search engine evaluating method, device, equipment and readable storage medium storing program for executing
CN109739768B (en) * 2018-12-29 2021-03-30 深圳Tcl新技术有限公司 Search engine evaluation method, device, equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN103914502B (en) The method and its terminal of the intelligent search service of use situation identification
CN107066497A (en) A kind of searching method and device
CN106325867A (en) Mobile terminal and interface display method thereof
CN106990889A (en) A kind of prompt operation implementation method and device
CN106506795A (en) A kind of mobile terminal and image processing method
CN106331145A (en) Information recommendation method, device and system
CN106792609A (en) A kind of method of calling of mobile terminal and emergency numbers
CN106791017A (en) A kind of terminal and photographic method
CN105975545A (en) Terminal control method and terminal
CN106776906A (en) One kind application clustering method and device
CN106953979A (en) The method and device that a kind of double antenna in call intelligently switches
CN106776333A (en) The method of testing and mobile terminal of a kind of search engine
CN106682062A (en) URL navigation processing method and terminal
CN106020706A (en) Touch operation processing method and mobile terminal
CN106024013A (en) Voice data searching method and system
CN106302992A (en) A kind of mobile terminal and screen lighting method
CN105183830B (en) picture browsing method and device
CN106960046A (en) Picture recommendation method and terminal
CN104898927B (en) The method and device of information search
CN107092868A (en) A kind of fingerprint collecting method and terminal
CN106383871A (en) Mobile terminal and search method of application
CN106254685B (en) A kind of content-label method and mobile terminal
CN106777254A (en) One kind application search method and device
CN106875960A (en) The player method and mobile terminal of a kind of audio file
CN106789167A (en) A kind of data processing method and server

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

Application publication date: 20170531

RJ01 Rejection of invention patent application after publication