6. The method according to claim 5 , wherein the step of obtaining the total weighted query penalties in accordance with the respective attribute compositions in the attribute composition set comprises: selecting an attribute composition from the attribute composition set if that the fixed attribute compositions do not exist in the attribute composition set is judged; obtaining a penalty of the attribute composition scrolled to respective attribute compositions for querying; confirming weighted query penalties of the respective attribute compositions for querying according to the penalty of the attribute composition scrolled to respective attribute compositions for querying and weights of the respective attribute compositions for querying; summing respective weighted query penalties to obtain the total weighted query penalty in accordance with the attribute composition.
6. The method according to claim 5 , wherein the step of obtaining the total weighted query penalties in accordance with the respective attribute compositions in the attribute composition set comprises: selecting an attribute composition from the attribute composition set if that the fixed attribute compositions do not exist in the attribute composition set is judged; obtaining a penalty of the attribute composition scrolled to respective attribute compositions for querying; confirming weighted query penalties of the respective attribute compositions for querying according to the penalty of the attribute composition scrolled to respective attribute compositions for querying and weights of the respective attribute compositions for querying; summing respective weighted query penalties to obtain the total weighted query penalty in accordance with the attribute composition. 7. The method according to claim 6 , wherein before the step of obtaining the penalty of the attribute composition scrolled to respective attribute compositions for querying, the method comprises: judging whether the attribute composition and the attribute composition for querying are the same.