CN101231638B - Method, system and apparatus for implementation of class heading search - Google Patents

Method, system and apparatus for implementation of class heading search Download PDF

Info

Publication number
CN101231638B
CN101231638B CN2007100024701A CN200710002470A CN101231638B CN 101231638 B CN101231638 B CN 101231638B CN 2007100024701 A CN2007100024701 A CN 2007100024701A CN 200710002470 A CN200710002470 A CN 200710002470A CN 101231638 B CN101231638 B CN 101231638B
Authority
CN
China
Prior art keywords
classification
data recording
terminal
searching
search flags
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2007100024701A
Other languages
Chinese (zh)
Other versions
CN101231638A (en
Inventor
喻策
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN2007100024701A priority Critical patent/CN101231638B/en
Publication of CN101231638A publication Critical patent/CN101231638A/en
Priority to HK08114086.8A priority patent/HK1120893A1/en
Application granted granted Critical
Publication of CN101231638B publication Critical patent/CN101231638B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method for realizing the category searching. The method comprises the following steps that: A. a terminal sends out a searching request to a server, and the searching request contains a searching mark, which is used to indicate a searching condition; B. the server searches out data records which contain the mark in the category according to the searching mark; C. the server judges whether the ratio between the data records which contain the searching mark in the category and the data records which contain the searching mark reaches the set value, if yes, the page information of the data records which contain the searching mark in the category are sent out to the terminal. Through the invention, the searching time of a user is reduced, the searching cost is lower, the resource waste during the searching process is reduced, and the user feeling is better. At the same time, the invention also discloses a system for realizing the category searching.

Description

A kind of method, system and device of realizing class heading search
Technical field
The present invention relates to microcomputer data processing, relate in particular to a kind of method, system and device of realizing class heading search.
Background technology
Along with the development of network and e-commerce technology, increasing user sells or searches the purchase commodity by network.And the user is when searching commodity, normally sends the sign of wanting to search commodity to the webserver, found out the commodity that contain this sign and shown to the user from all commodity of preserving by this webserver.For example, if the user logins shopping website and wants to search when containing the mobile phone that is designated ABC, mainly may further comprise the steps:
Step 1: the user sends searching request to the server of this shopping website, has comprised in this request and has wished that the commodity sign of searching is ABC.
Step 2: after server is received this searching request, from all commodity of preserving, find out the commodity that contain ABC in the title, and all commodity are shown to the user by classification, comprising: the electronic product classification, auto parts machinery product classification and the dress-goods classification that contain the ABC sign.Because what the user wanted to check is mobile phone products, therefore, send the request that requires to check the electronic product classification to this server once more, then the server electronic product that again all contained ABC sign shows to the user according to classification again, comprising: contain the mobile communication equipment classification, digital camera classification, televisor classification of ABC sign etc.Subsequently, the user sends the request that requires to check mobile communication equipment to this server for the third time, then the server mobile communication equipment that again all contained ABC sign shows to the user according to classification, comprising: mobile phone classification, intercom classification and the mobile communication equipment accessory classification etc. that contain the ABC sign.Then user the 4th time sends the request that requires to check mobile phone to this server, and now do not had subcategory in the cell phone type that contains the ABC sign this moment, and then server shows the cellphone information that contains the ABC sign to the user.
In the search procedure by the said method realization, the user needs repeatedly to send the request of checking classifications at different levels to server, make that the user search time is longer, searching cost increases, user's experience is relatively poor, and in addition, server is the request of process user transmission repeatedly, and repeatedly show classification information at different levels to the user, cause the wasting of resources.
Summary of the invention
The invention provides a kind of method that realizes class heading search, with solve the user search time that exists in the prior art long, searching cost is big, user's the relatively poor problem of experience.
The invention provides a kind of method that realizes class heading search, this method may further comprise the steps:
A. terminal sends to server with searching request, comprises Search Flags in this searching request, and this Search Flags is used to indicate search condition;
B. server finds out the data recording that contains this Search Flags in the classification according to described Search Flags;
C. server judges whether the data recording that contains this Search Flags in the classification and the ratio of the data recording that all contain this Search Flags reach setting value, if reach, then send the page info that contains the data recording of described Search Flags in this classification to described terminal.
Among the step C when if the ratio that contains the data recording of this Search Flags and the data recording that all contain this Search Flags in the classification reaches setting value, then judge and whether comprise subcategory in the described classification, if do not comprise, then send the page info that contains the data recording of described Search Flags in this classification to described terminal, if comprise repeated execution of steps C.
If server described in the step C is judged when the ratio that contains the data recording of described Search Flags and the data recording that all contain this Search Flags in the classification does not reach setting value, then further comprise step after the step C:
C1, described server identify to the classification that described terminal sends described classification correspondence, and this terminal sends searching request to described server after receiving described classification sign, comprises classification sign and Search Flags in this searching request;
C2, whois lookup go out in the corresponding classification of described classification sign to contain the data recording information of described Search Flags, and the page info that will contain this data recording sends to described terminal.
Also comprise step after the step C1 before the C2:
Server judges whether the corresponding classification of described classification sign comprises subcategory, if do not comprise, then carries out C2, if comprise, then repeats C1.
The present invention also provides a kind of system that realizes class heading search, and this system comprises terminal and server, wherein,
Described terminal is used for searching request is sent to described server, comprises Search Flags in this searching request, and receives the page info of the data recording that contains described Search Flags of described server transmission;
Described server, be used to receive the described searching request that described terminal sends, find out the data recording that contains this sign in the classification according to described Search Flags, and judge whether the data recording that contains this Search Flags in the classification and the ratio of the data recording that all contain this Search Flags reach setting value, if reach, then send the page info that contains the data recording of Search Flags in this classification to described terminal.
Described terminal comprises:
First transmitting element is used for described searching request is sent to described server;
First receiving element is used to receive the page info of the data recording that contains Search Flags that described server sends.
Described server comprises:
First searches the unit, after being used to receive the described searching request of described terminal transmission, finds out the data recording that contains this sign in the classification according to described Search Flags;
Judging unit, be used for judging that classification contains the data recording of described Search Flags and whether the ratio of the data recording that all contain this Search Flags reaches setting value, if reach, then send the page info that contains the data recording of described Search Flags in this classification to described terminal.
Described judging unit comprises first judging unit and second judging unit, wherein,
Described first judging unit is used for judging that classification contains the data recording of described Search Flags and whether the ratio of the data recording that all contain this Search Flags reaches setting value, if reach, then triggers described second judging unit;
Described second judging unit is used for judging whether described classification comprises subcategory, if do not comprise, then sends the page info that contains the data recording of described Search Flags in this classification to described terminal, if comprise, then triggers described first judging unit.
Described judging unit comprises that also second searches the unit,
Described first judging unit also is used for then triggering described second and searching the unit when judging that ratio that classification contains the data recording of described Search Flags and the data recording that all contain this Search Flags does not reach setting value;
Described second searches the unit, be used for when the classification sign that sends described classification correspondence to described terminal, and after receiving the searching request of this terminal transmission, comprise such target knowledge and Search Flags in this searching request, find out such target and know in the corresponding classification and contain the data recording information of described Search Flags, and the page info that will contain this data recording sends to described terminal.
Described second searches the unit comprises and searches unit and the 3rd judging unit,
The described unit of searching, be used for when the classification sign that sends described classification correspondence to described terminal, and after receiving the described searching request of this terminal transmission, find out in the corresponding classification of such target knowledge and contain the data recording information of described Search Flags, and trigger described the 3rd judging unit;
Described the 3rd judging unit is used to judge whether the corresponding classification of described classification sign comprises subcategory, if do not comprise, the page info that then will contain described data recording sends to described terminal, if comprise, then triggers the described unit of searching.
Described terminal also comprises:
Second receiving element is used for receiving described second and searches the classification sign of the described classification correspondence that the unit sends and the page info that this classification contains the data recording of described Search Flags;
Second transmitting element is used for searching the unit to described second and sends searching request, comprises such target knowledge and Search Flags in this searching request.
The present invention sends to server by the searching request that terminal will contain Search Flags, go out the data recording that contains this sign in the classification by whois lookup, and judge whether the data recording that contains this sign in the classification and the ratio of the data recording that all contain this sign reach setting value, if reach, then send the method for the page info that contains described data recording to described terminal, make the user reduce search time, reduced searching cost, reduce the wasting of resources of search procedure, made the user experience better.
Description of drawings
Fig. 1 is an embodiment of the invention system architecture synoptic diagram;
Fig. 2 is an embodiment of the invention method step schematic flow sheet.
Embodiment
Server finds out the data recording that contains this sign in the classification according to the Search Flags that terminal sends, and judge whether the data recording that contains this sign in the classification and the ratio of the data recording that all contain this sign reach setting value, if reach, then send the page info that contains described data recording to described terminal.
Describe the inventive method in detail below in conjunction with Figure of description.
As shown in Figure 1, be embodiment of the invention system architecture synoptic diagram, comprise terminal and server in this system, wherein, terminal is used for searching request is sent to described server, comprise Search Flags in this searching request, and receive the page info of the data recording that contains described Search Flags of described server transmission; Server is used to receive the described searching request that described terminal sends, find out the data recording that contains this sign in the classification according to described Search Flags, and judge whether the data recording that contains this Search Flags in the classification and the ratio of the data recording that all contain this Search Flags reach setting value, if reach, then send the page info that contains the data recording of Search Flags in this classification to described terminal.
Further, described terminal comprises first transmitting element 11 and first receiving element 12, and wherein, first transmitting element 11 is used for described searching request is sent to server; First receiving element 12 is used to receive the page info of the data recording that contains Search Flags that described server sends.
Described server comprises that first searches unit 21 and judging unit 22, wherein, first searches unit 21 be used to receive the described searching request that described terminal sends after, find out the data recording that contains this sign in the classification according to described Search Flags; Judging unit 22 is used for judging that classification contains the data recording of described Search Flags and whether the ratio of the data recording that all contain this Search Flags reaches setting value, if reach, then send the page info that contains the data recording of described Search Flags in this classification to described terminal.
Described judging unit 22 can comprise first judging unit 23 and second judging unit 24, wherein, first judging unit 23 is used for judging that classification contains the data recording of described Search Flags and whether the ratio of the data recording that all contain this Search Flags reaches setting value, if reach, then trigger described second judging unit 24; Second judging unit 24 is used for judging whether described classification comprises subcategory, if do not comprise, then sends the page info that contains the data recording of described Search Flags in this classification to described terminal, if comprise, then triggers described first judging unit 23.
Described judging unit 22 can also comprise that second searches unit 25, then first judging unit 23 also is used for then triggering described second and searching unit 25 when judging that ratio that classification contains the data recording of described Search Flags and the data recording that all contain this Search Flags does not reach setting value; Second searches unit 25 is used for when the classification sign that sends described classification correspondence to described terminal, and after receiving the searching request of this terminal transmission, comprise such target knowledge and Search Flags in this searching request, find out such target and know in the corresponding classification and contain the data recording information of described Search Flags, and the page info that will contain this data recording sends to described terminal.
Described second searches unit 25 can comprise and search unit 26 and the 3rd judging unit 27, wherein, searching unit 26 is used for when the classification sign that sends described classification correspondence to described terminal, and after receiving the described searching request of this terminal transmission, find out in the corresponding classification of such target knowledge and contain the data recording information of described Search Flags, and trigger described the 3rd judging unit 27; The 3rd judging unit 27 is used to judge whether the corresponding classification of described classification sign comprises subcategory, if do not comprise, the page info that then will contain described data recording sends to described terminal, if comprise, then triggers the described unit 26 of searching.
Described terminal can also comprise second receiving element 13 and second transmitting element 14, wherein, second receiving element 13 is used for receiving described second and searches the classification sign of the described classification correspondence that unit 25 sends and the page info that this classification contains the data recording of described Search Flags; Second transmitting element 14 is used for searching the unit to described second and sends searching request, comprises such target knowledge and Search Flags in this searching request.
Describe the inventive method in detail below in conjunction with specific embodiment.As shown in Figure 2, be embodiment of the invention method step schematic flow sheet, this flow process mainly may further comprise the steps:
Step 201: terminal sends to server with searching request, comprises Search Flags in this searching request, and the notification server terminal wishes to search the page of the data recording that contains this Search Flags.
In the present embodiment, can set this server equally for the server of service is provided to shopping website, terminal wishes that the commodity of searching contain sign ABC, therefore, terminal sends to server with Search Flags ABC, requires server to provide to contain the page info of the data recording that identifies ABC.
Step 202: after server receives described searching request, find out the data recording that contains Search Flags ABC of preserving in each classification respectively.
Step 203: when whois lookup go out contain the data recording that identifies ABC in each classification after, be easy to obtain all data recording summation numbers, server obtains to contain in each classification the quantity of the data recording that identifies ABC and the ratio of described data recording summation number then, further, server will carry out deterministic process, be used to judge the data recording information that sends to terminal, this deterministic process comprises:
Steps A: server judges whether to exist classification, the ratio of quantity and described data recording summation number that contains the data recording of Search Flags ABC in this classification reaches setting value, if reach, then send the page info that contains the data recording of described Search Flags in this classification to terminal.In embodiments of the present invention, described setting value can be set according to user's needs, if the user wishes to carry out the search at the data recording of a certain type, then can set higher value, if the user wishes to carry out is in a big way search, then can set lower value, and establishing method can have multiple, for example, the user can send the setting value that the user wishes when sending searching request, judge according to this setting value by server, perhaps in server, preserve different setting values in advance, select the setting value of wishing when sending searching request by the user.
Judging when reaching setting value, can also judge further whether this classification comprises subcategory, if do not comprise subcategory, then explanation has reached the search orlop, send to terminal with the page info that contains the data recording that identifies ABC in this classification this moment; If this classification still comprises subcategory, then want repeated execution of steps A, the quantity that contains the data recording that identifies ABC in a certain classification reaches setting value with the ratio of described data recording summation number, and send the page info that contains the data recording that identifies ABC in this classification to terminal when not comprising subcategory, then search procedure finishes, and terminal shows the page info that contains described data recording that receives.In addition, when the ratio of the quantity that contains the data recording that identifies ABC in the classification and described data recording summation number does not reach setting value, then enter step B.
Step B: when the ratio of quantity and described data recording summation number that closes the data recording of sign ABC in server is judged classification does not reach setting value, then server sends to terminal with containing the data recording quantity information that identifies ABC in classification sign and this classification, and is shown by terminal.Terminal is selected the classification that hope is checked then, and send searching request once more to server, comprised classification sign and Search Flags ABC that described hope is checked in this searching request, whois lookup goes out such target and knows the data recording information that contains this Search Flags in the corresponding classification.At this moment, if terminal wishes that the classification of checking comprises subcategory, then continue repeating step B, the classification of checking up to hope does not comprise subcategory, the page info that then contains the data recording that identifies ABC in the classification that server is checked this hope sends to terminal, then search procedure finishes, and terminal shows the data recording information that receives.
By the method among the present invention, make the user reduce search time, reduced searching cost, reduced the wasting of resources of search procedure, make the user experience better, in addition, in search procedure, reduced clicks, then reduced the working pressure of server.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (7)

1. a method that realizes class heading search is characterized in that, this method may further comprise the steps:
A. terminal sends to server with searching request, comprises Search Flags in this searching request;
B. server finds out the data recording that contains this Search Flags in the classification according to described Search Flags;
C. server judges whether the data recording that contains this Search Flags in the classification and the ratio of the data recording that all contain this Search Flags reach setting value, if reach, then further judge whether comprise subcategory in the described classification, if do not comprise, then send the page info that contains the data recording of described Search Flags in this classification to described terminal, if comprise, repeated execution of steps C then.
2. the method for claim 1, it is characterized in that, if server described in the step C is judged when the ratio that contains the data recording of described Search Flags and the data recording that all contain this Search Flags in the classification does not reach setting value, then further comprise step after the step C:
C1, described server identify to the classification that described terminal sends described classification correspondence, and this terminal sends searching request to described server after receiving described classification sign, comprises classification sign and Search Flags in this searching request;
C2, whois lookup go out to contain in the corresponding classification of described classification sign the data recording information of the described Search Flags in the searching request that terminal sends, and the page info that will contain this data recording sends to described terminal.
3. method as claimed in claim 2 is characterized in that, also comprises step after the step C1 before the C2:
Server judges whether the corresponding classification of described classification sign comprises subcategory, if do not comprise, then carries out C2, if comprise, then repeats C1.
4. a system that realizes class heading search is characterized in that, this system comprises terminal and server, wherein,
Described terminal comprises:
First transmitting element is used for described searching request is sent to described server, comprises Search Flags in this searching request;
First receiving element is used to receive the page info of the data recording that contains Search Flags that described server sends;
Described server comprises that first searches unit and judging unit, wherein:
First searches the unit, after being used to receive the described searching request of described terminal transmission, finds out the data recording that contains this sign in the classification according to described Search Flags;
Judging unit comprises first judging unit and second judging unit, wherein,
Described first judging unit is used for judging that classification contains the data recording of described Search Flags and whether the ratio of the data recording that all contain this Search Flags reaches setting value, if reach, then triggers described second judging unit;
Described second judging unit is used for judging whether described classification comprises subcategory, if do not comprise, then sends the page info that contains the data recording of described Search Flags in this classification to described terminal, if comprise, then triggers described first judging unit.
5. as system as described in the claim 4, it is characterized in that described judging unit comprises that also second searches the unit,
Described first judging unit also is used for then triggering described second and searching the unit when judging that ratio that classification contains the data recording of described Search Flags and the data recording that all contain this Search Flags does not reach setting value;
Described second searches the unit, be used for when the classification sign that sends described classification correspondence to described terminal, and after receiving the searching request of this terminal transmission, comprise such target knowledge and Search Flags in this searching request, find out such target and know the data recording information that contains the described Search Flags in the searching request that terminal sends in the corresponding classification, and the page info that will contain this data recording sends to described terminal.
6. as system as described in the claim 5, it is characterized in that described second searches the unit comprises and search unit and the 3rd judging unit,
The described unit of searching, be used for when the classification sign that sends described classification correspondence to described terminal, and after receiving the described searching request of this terminal transmission, find out such target and know the data recording information of the described Search Flags in the searching request that contains the terminal transmission in the corresponding classification, and trigger described the 3rd judging unit;
Described the 3rd judging unit is used to judge whether the corresponding classification of described classification sign comprises subcategory, if do not comprise, the page info that then will contain described data recording sends to described terminal, if comprise, then triggers the described unit of searching.
7. as system as described in the claim 5, it is characterized in that described terminal also comprises:
Second receiving element is used for receiving described second and searches the page info of the data recording of the described Search Flags in the classification sign of the described classification correspondence that the unit sends and the searching request that classification contains the terminal transmission;
Second transmitting element is used for searching the unit to described second and sends searching request, comprises such target knowledge and Search Flags in this searching request.
CN2007100024701A 2007-01-24 2007-01-24 Method, system and apparatus for implementation of class heading search Active CN101231638B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2007100024701A CN101231638B (en) 2007-01-24 2007-01-24 Method, system and apparatus for implementation of class heading search
HK08114086.8A HK1120893A1 (en) 2007-01-24 2008-12-30 A method, system and apparatus for category search

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007100024701A CN101231638B (en) 2007-01-24 2007-01-24 Method, system and apparatus for implementation of class heading search

Publications (2)

Publication Number Publication Date
CN101231638A CN101231638A (en) 2008-07-30
CN101231638B true CN101231638B (en) 2010-07-14

Family

ID=39898122

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007100024701A Active CN101231638B (en) 2007-01-24 2007-01-24 Method, system and apparatus for implementation of class heading search

Country Status (2)

Country Link
CN (1) CN101231638B (en)
HK (1) HK1120893A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101661594A (en) 2008-08-28 2010-03-03 阿里巴巴集团控股有限公司 Method and system for providing object message on Internet
CN103532991B (en) * 2012-07-03 2015-09-09 腾讯科技(深圳)有限公司 The method of display microblog topic and mobile terminal
CN103810208B (en) * 2012-11-14 2019-03-01 腾讯科技(深圳)有限公司 A kind of classification mapping method and device
CN103870507B (en) * 2012-12-17 2017-04-12 阿里巴巴集团控股有限公司 Method and device of searching based on category
CN107623753B (en) * 2014-01-21 2020-08-25 联想(北京)有限公司 Information processing method and information processing apparatus
CN108287757A (en) * 2017-01-09 2018-07-17 阿里巴巴集团控股有限公司 The method and device that a kind of data acquisition, data are shown
CN112257061A (en) * 2020-10-23 2021-01-22 广州小鹏汽车科技有限公司 Method and device for processing webpage content

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1602485A (en) * 2001-12-11 2005-03-30 国际商业机器公司 Hybrid search memory for network processor and computer systems

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1602485A (en) * 2001-12-11 2005-03-30 国际商业机器公司 Hybrid search memory for network processor and computer systems

Also Published As

Publication number Publication date
HK1120893A1 (en) 2009-04-09
CN101231638A (en) 2008-07-30

Similar Documents

Publication Publication Date Title
CN101231638B (en) Method, system and apparatus for implementation of class heading search
CN104092723B (en) Document down loading method, Apparatus and system
CN104253741B (en) A kind of method for sending information, relevant apparatus and system
US20090318171A1 (en) Application Discovery on Mobile Devices
CN105430711B (en) Transmission method, device and the equipment of information
US20060099931A1 (en) Automatic phone number to website linking system and method
CN106878368B (en) Method and device for realizing information push
CN113366815B (en) Network resource request method, device, electronic equipment and storage medium
CN104935744A (en) Verification code display method, verification code display device and mobile terminal
CN104243517A (en) Content sharing method and device used between different terminals
CN106304030B (en) Communication method, device and system based on virtual identity information
RU2665240C2 (en) Method and device for page insertion
CN103716230A (en) Message sending method, device and server
CN104113620A (en) Contact list updating method, updating device and user terminal
US11706301B2 (en) Server node selection method and terminal device
CN103974456A (en) Communication system and method
CN105450867A (en) Communication method and device based on picture information
CN107222559B (en) Information calling method
CN105227576A (en) Realize method and the router of portal certification and locking WIFI signal simultaneously
US10834723B2 (en) Resource indication method and related device
CN105306338A (en) Message reminding method and device
CN105915639B (en) Page access method and device
CN106933451A (en) A kind of method and terminal for showing application program
CN104243522A (en) Method for hypertext transfer protocol (HTTP) network and broadband network gateway (BNG)
CN109327561A (en) Electronic equipment, domain name inquiry method and Related product

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1120893

Country of ref document: HK

C14 Grant of patent or utility model
GR01 Patent grant
REG Reference to a national code

Ref country code: HK

Ref legal event code: GR

Ref document number: 1120893

Country of ref document: HK