CN105447009A - Method and device for generating query strings - Google Patents

Method and device for generating query strings Download PDF

Info

Publication number
CN105447009A
CN105447009A CN 201410395326 CN201410395326A CN105447009A CN 105447009 A CN105447009 A CN 105447009A CN 201410395326 CN201410395326 CN 201410395326 CN 201410395326 A CN201410395326 A CN 201410395326A CN 105447009 A CN105447009 A CN 105447009A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
search
search condition
condition
according
query string
Prior art date
Application number
CN 201410395326
Other languages
Chinese (zh)
Inventor
陈旭东
尹利民
Original Assignee
阿里巴巴集团控股有限公司
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

Links

Abstract

The invention provides a method and device for generating query strings.The method of management equipment comprises following steps: receiving identifiers of search criteria for search sent by an application server; and determining search parameters contained by search criteria based on identifiers of search criteria, and assembling search parameters contained by search criteria according to a pre-set assembly rule in order to obtain query strings corresponding to search criteria. The technical scheme of the method and equipment for generating query strings helps to reduce the cost of generating query strings.

Description

生成查询串的方法及设备 Generating method and apparatus of the query string

【技术领域】 TECHNICAL FIELD

[0001] 本发明涉及网络技术领域,尤其涉及一种生成查询串的方法及设备。 [0001] The present invention relates to network technologies, and in particular relates to a method and apparatus for generating a query string.

【背景技术】 【Background technique】

[0002] 在传统搜索应用中,用户向应用服务器提交搜索条件后,应用服务器需要根据搜索条件包含的搜索参数生成查询串,该查询串实际上是一个超文本传输协议(HypertextTransfer Protocol, HTTP)链接,然后通过查询串进行搜索以获得搜索结果。 After [0002] In the conventional search application, a user submits a search condition to the application server, the application server needs to generate a query string according to the search criteria included in the search parameters, the query string is actually a Hypertext Transfer Protocol (HypertextTransfer Protocol, HTTP) link and then search by query strings to get search results.

[0003] 现有生成查询串的主流方法是由应用开发人员为应用服务器编写代码实现param对象,应用服务收到用户提交的搜索条件后,将搜索条件包含的搜索参数放到param对象中,根据param对象进行拼装生成进行搜索所需的查询串。 After the [0003] main prior method of generating a query string is to write code implemented by the application server, object param application developers, application service receives the search condition the user submitted the search parameters into the search conditions included in the param object, according to param objects assembled to generate the desired search query string.

[0004] 其中,不同应用的开发人员需要针对不同的应用服务器分别编写代码,而同一应用的开发人员也需要针对不同搜索条件为同一应用服务器编写不同的代码。 [0004] where developers need to write code for different applications for different application servers, respectively, while the same application developers also need to search for different conditions for the same application server to write different code. 编写和维护代码的代价通常较大,另外,还可能存在代码的重复编写和维护,因此现有生成查询串的方法代价较大。 Cost of preparation and maintenance of the code is usually large, in addition, there may be repeated write and maintain the code, and hence more conventional method of generating a query string price.

【发明内容】 [SUMMARY]

[0005] 本发明的多个方面提供一种生成查询串的方法及设备,用以降低生成查询串的代价。 [0005] Aspects of the present invention to provide a method and apparatus for generating a query string, the query string to reduce the cost of generation.

[0006] 本发明的一方面,提供一种生成查询串的方法,包括: [0006] In one aspect of the present invention, there is provided a method of generating a query string, comprising:

[0007] 应用服务器获取进行搜索所需的搜索条件的标识; [0007] Get the application server identified desired search criteria;

[0008] 所述应用服务器将所述搜索条件的标识发送给管理设备,以供所述管理设备根据所述搜索条件的标识,确定所述搜索条件包含的搜索参数,根据预设的拼装规则,对所述搜索参数进行拼装处理,获得所述搜索条件对应的查询串。 [0008] The application server transmits the search criteria to identify the management device for use by the management apparatus according to the identifier of the search condition, the search condition determining search parameters included, according to a preset rule assembly, assembly of the search process parameters to obtain the query string corresponding to the search condition.

[0009] 本发明的另一方面,提供一种生成查询串的方法,包括: [0009] Another aspect of the present invention, there is provided a method of generating a query string, comprising:

[0010] 管理设备接收应用服务器发送的进行搜索所需的搜索条件的标识; [0010] The application management device receives desired search server identifier search condition transmitted;

[0011] 所述管理设备根据所述搜索条件的标识,确定所述搜索条件包含的搜索参数; [0011] The management device according to the identifier of the search condition, determining the search conditions included in the search parameter;

[0012] 所述管理设备根据预设的拼装规则,对所述搜索条件包含的搜索参数进行拼装处理,获得所述搜索条件对应的查询串。 [0012] The management device assembly according to a preset rule, the search condition of the search parameters contained in the assembly process, to obtain the query string corresponding to the search condition.

[0013] 本发明的又一方面,提供一种应用服务器,包括: [0013] In yet another aspect of the present invention, there is provided an application server, comprising:

[0014] 获取模块,用于获取进行搜索所需的搜索条件的标识; [0014] obtaining module, configured to obtain identified desired search criteria;

[0015] 发送模块,用于将所述搜索条件的标识发送给管理设备,以供所述管理设备根据所述搜索条件的标识,确定所述搜索条件包含的搜索参数,根据预设的拼装规则,对所述搜索参数进行拼装处理,获得所述搜索条件对应的查询串。 [0015] transmitting means for transmitting the search condition to identify the management device for use by the management apparatus according to the identifier of the search condition, the search condition determining search parameters included, according to a preset rule assembly , for assembling the search process parameters to obtain the search condition corresponding to the query string.

[0016] 本发明的又一方面,提供一种管理设备,包括: [0016] In yet another aspect of the present invention, there is provided a management apparatus, comprising:

[0017] 接收模块,用于接收应用服务器发送的进行搜索所需的搜索条件的标识; [0017] a receiving module, configured to receive the application server identified desired search criteria transmitted;

[0018] 确定模块,用于根据所述搜索条件的标识,确定所述搜索条件包含的搜索参数; [0018] determination module for identifying the search condition, and determines the search conditions included in the search parameter;

[0019] 拼装模块,用于根据预设的拼装规则,对所述搜索条件包含的搜索参数进行拼装处理,获得所述搜索条件对应的查询串。 [0019] The module assembly, the assembly according to a preset rule, the search condition of the search parameters contained in the assembly process, to obtain the query string corresponding to the search condition.

[0020] 在本发明技术方案中,应用服务器获取进行搜索所需的搜索条件的标识,将搜索条件的标识发送给管理设备,由管理设备根据应用服务器提供的搜索条件的标识,确定搜索条件包含的搜索参数,进而根据预设的拼装规则,对搜索参数进行拼装处理生成查询串。 [0020] In the aspect of the present invention, the application server obtains search identified desired search condition, the search condition to send the identification to the management device, the management device based on the identity of the application server provides a search condition, the search condition determining comprises search parameters, and further assembled according to a preset rule, the search parameters assembling process of generating a query string. 应用服务器不再负责将搜索参数拼装成查询串,这意味着各应用开发人员不需要为各应用服务器编写和维护用于生成查询串的代码,有利于减轻各应用开发人员的负担;另外,查询串的生成由管理设备集中处理,只需开发一套代码既可,可以避免代码重复开发。 The application server will no longer be responsible for assembling the search parameter into the query string, which means that each application developer does not need to write and maintain the code used to generate the query string for each application server, will help reduce the burden on the application developer; in addition, the query string generated by the centralized management device processing, the ability to develop a set of code that can avoid duplication of code development. 由此可见,与现有技术中各应用服务器独自生成查询串的方案相比,本发明技术方案可以降低生成查询串的代价。 Thus, unlike the prior art, each application server generates the query string alone program compared aspect of the present invention can reduce the cost of generating a query string.

【附图说明】 BRIEF DESCRIPTION

[0021] 为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。 [0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following prior art embodiments or drawings required for describing the embodiment will be used, a brief introduction, apparent in the following description of the drawings are Some embodiments of the present invention, those of ordinary skill in the art is concerned, without any creative effort, and may also obtain other drawings based on these drawings.

[0022] 图la为本发明一实施例提供的生成查询串的方法的流程示意图; [0022] FIG la a schematic flow diagram of the query string generation method according to an embodiment of the present invention;

[0023] 图lb为本发明另一实施例提供的生成查询串的方法的流程示意图; The method of generating a query string to provide a flow [0023] Another embodiment of the present invention. FIG. Lb schematic;

[0024] 图2为本发明一实施例提供的交互界面的示意图; [0024] FIG. 2 provides a schematic diagram of an embodiment of the interactive interface of the present invention;

[0025] 图3为本发明又一实施例提供的生成查询串的方法的流程示意图; [0025] Fig 3 a schematic view of a further method of generating a query string flow according to an embodiment of the present invention;

[0026] 图4为本发明一实施例提供的管理设备的结构示意图; [0026] FIG. 4 is a schematic configuration management apparatus according to an embodiment of the present invention;

[0027] 图5为本发明另一实施例提供的管理设备的结构示意图; [0027] FIG. 5 is a schematic configuration management apparatus according to another embodiment of the present invention;

[0028] 图6为本发明一实施例提供的应用服务器的结构示意图。 [0028] FIG. 6 is a schematic view of an application server according to an embodiment of the present invention.

【具体实施方式】 【detailed description】

[0029] 为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。 [0029] In order that the invention object, technical solutions, and advantages of the embodiments more clearly, the following the present invention in the accompanying drawings, technical solutions of embodiments of the present invention are clearly and completely described, obviously, the described the embodiment is an embodiment of the present invention is a part, but not all embodiments. 基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。 Based on the embodiments of the present invention, those of ordinary skill in the art to make all other embodiments without creative work obtained by, it falls within the scope of the present invention.

[0030] 图la为本发明一实施例提供的生成查询串的方法的流程示意图。 [0030] FIG la a schematic flow diagram of the method for generating a query string according to an embodiment of the present invention. 如图la所示,该方法包括: As shown in FIG. La, the method comprising:

[0031] 101、应用服务器获取进行搜索所需的搜索条件的标识。 [0031] 101, the application server acquires identified desired search criteria.

[0032] 102、应用服务器将上述搜索条件的标识发送给管理设备,以供管理设备根据上述搜索条件的标识,确定搜索条件包含的搜索参数,根据预设的拼装规则,对搜索参数进行拼装处理,获得搜索条件对应的查询串。 [0032] 102, the identifier of the application server transmits the search condition to the management device, the management device for use according to the identifier of the search condition, the search condition comprises determining the search parameters, according to a preset rule assembly, the assembly process of the search parameters to obtain the search condition corresponding query string.

[0033] 图lb为本发明另一实施例提供的生成查询串的方法的流程示意图。 Schematic flow chart of a method for generating query string provided in [0033] FIG. Lb another embodiment of the present invention. 如图lb所示,该方法包括: As shown in FIG lb, the method comprising:

[0034] 10a、管理设备接收应用服务器发送的进行搜索所需的搜索条件的标识。 [0034] 10a, the receiving application server management device identifier required for searches search condition transmitted.

[0035] 10b、管理设备根据上述搜索条件的标识,确定搜索条件包含的搜索参数。 [0035] 10b, the management apparatus according to the identifier of the search criteria, the search criteria comprises determining the search parameters.

[0036] 10c、管理设备根据预设的拼装规则,对上述搜索条件包含的搜索参数进行拼装处理,获得搜索条件对应的查询串。 [0036] 10c, the management device assembly according to a preset rule, the search condition of the search parameters contained in the above-described assembly process, to obtain the query string corresponding to the search condition.

[0037] 上述图la所示方法是从应用服务器的角度进行描述的;图lb所示方法是从管理设备的角度进行描述的。 [0037] The method shown in FIG. La is described from the perspective of the application server; the method shown in FIG lb is described from the perspective of the management device. 下面重点对图la和图lb所示方法的流程进行说明。 The following focuses on the flow of FIGS. La and lb is shown a method will be described.

[0038] 在上述实施例中,应用服务器是指部署有具备搜索功能的应用程序的设备。 [0038] In the above embodiment, the application server is deployed device application means includes a search function. 该设备可以是服务器,也可以是客户端。 The device can be a server or a client. 客户端可以是电脑、手机等。 Clients can be computers, mobile phones and so on.

[0039] 在上述实施例中,当用户确定需要进行搜索时,应用服务器获取进行搜索所需的搜索条件的标识。 [0039] In the above embodiment, when a user decides to conduct a search, the application server acquires identified desired search criteria. 举例说明,该搜索条件的标识可由用户提供给应用服务器,例如用户可以通过应用服务器提供的交互界面输入搜索条件的标识。 Illustration, identification of the search criteria provided by the user to the application server, for example, a user may provide an input interface by the application server identified search criteria. 再例如,用户可以向应用服务器提交搜索所需的搜索条件,应用服务器从预存的搜索条件与标识的映射关系中,确定用户所提交的搜索条件的标识。 As another example, a user may submit the requested search query to the application server, the application server from the mapping between the identified stored search condition, the search condition determining identity submitted by the user.

[0040] 在上述实施例中,应用服务器不再负责查询串的生成,而是由管理设备集中处理各查询条件对应的查询串的生成。 [0040] In the above embodiments, the application server is no longer responsible for generating the query string, but the processing of generating each query by the query string corresponding to centralized management device. 因此,在获得搜索条件的标识后,应用服务器将搜索条件的标识发送给管理设备。 Therefore, after obtaining identity search criteria, the application server will identify the search criteria to the management device. 其中,应用服务器可以采用各种方式将搜索条件的标识发送给管理设备,本实施例对此不做限定。 Wherein the application server may send a variety of ways to identify a search condition to the management apparatus, the present embodiment is not limited to this embodiment.

[0041] 管理设备接收应用服务器发送的进行搜索所需的搜索条件的标识,根据该搜索条件的标识,确定该搜索条件包含的搜索参数。 [0041] The application management device receives desired search server identifier search condition transmitted, according to the identifier of the search condition, the search parameters determined search condition included.

[0042] 上述实施例已经预先搜集到各种常见或常用的搜索条件所包含的搜索参数,将每个搜索条件包含的搜索参数作为一条搜索场景信息进行存储,并通过标识(ID)来区分不同的搜索场景信息。 [0042] The above embodiment has previously collected a variety of common or conventional search parameters search conditions included in the search conditions of each search parameters comprising as a scene search information storage, and to differentiate by identification (ID) the scene search information. 基于此,管理设备可以根据接收到的搜索条件的标识,在预先存储的搜索场景信息中进行查找,获取标识与该搜索条件的标识相同的至少一个搜索场景信息中的搜索参数作为上述搜索条件包含的搜索参数。 Based on this, the management device may be, to find in the search context information stored in advance according to the identifier search condition received, obtain the same identifications to the search condition of at least one searches search parameter scene information as the search condition comprises search parameters.

[0043] 在此说明,上述搜索场景信息可以在管理设备本地,也可以在远端存储设备上。 [0043] In this description, the above-described search for the scene information may be managed in a local device on remote storage devices. 如果上述搜索场景信息存储在远端存储设备上,则管理设备可以登录远端存储设备,从各搜索场景信息中确定标识与应用服务器提供的搜索条件的标识相同的至少一个搜索场景信息,并从所确定的搜索场景信息中获取搜索参数。 If the above scene search information stored on remote storage device, the management device can log into the remote storage device, determining the same identification criteria identifies at least one application server searches the scene information from each search scene information, and from Search scene information determined in obtaining search parameters. 如果上述搜索场景信息存储在管理设备本地,在管理设备可以根据应用服务器提供的搜索条件的标识,在预先存储的各搜索场景信息中进行查询,获取标识与应用服务器提供的搜索条件的标识相同的至少一个搜索场景信息中的搜索参数作为上述搜索条件的标识所标识的搜索条件包含的搜索参数。 If the above-described search for a scene information stored in the management of the local device, the identification search condition management device may be provided by the application server, a query in the search for the scene information stored in advance, obtaining the identification criteria identifies the application server provides the same the at least one search parameter scene search information as a search parameter identifier of the search condition of the search condition included in the identified.

[0044] 基于上述搜索场景信息存储在管理设备上的实施方式,管理设备根据搜索条件的标识,在预先存储的各搜索场景信息中进行查询之前,还包括:预先存储各搜索场景信息的过程。 Before [0044], the management device queries the respective search context information stored in advance based on the embodiments above search scene information stored in the management apparatus according to the identification criteria, further comprising: previously storing respective search context information process.

[0045] 一种预先存储各搜索场景信息的方式包括:管理设备提供一交互界面,并显示该交互界面,允许管理员通过该交互界面输入搜索场景信息;这样,管理设备可以接收管理员通过交互界面输入的各搜索场景信息。 [0045] A pre-stored information for each scene search mode comprising: providing a management device interface, and displays the interactive interface allows the administrator to enter a scene search information through the interface; Thus, the management device may receive through interaction administrators enter the search interface of each scene information. 管理员通过交互界面输入搜索场景信息的一种具体实现方式如下: Administrators enter the search scene information through the interface a specific implementation is as follows:

[0046] 管理设备将通用搜索参数分类显示在管理设备提供的交互界面上,接收管理员通过交互界面发送的提交请求,该提交请求携带有管理员在交互界面上勾选和/或填充通用搜索参数构成的搜索场景信息,然后为各搜索场景信息分配标识。 [0046] The general management device classification search parameters are displayed on the management interface provided by the device, receiving a request submitted by the administrator interface sent the commit request carries administrator checking and / or filling in the general search interface searching the scene configuration information parameter, and allocates identification information for the search for a scene. 可选的,管理设备可以将各搜索场景信息的标识公布出来,以便用户或应用服务器用来确定搜索条件的标识。 Optionally, the management device can identify each search scene information announced, so that the user or application server is used to determine the identity of the search criteria.

[0047] 详细来说,管理设备可以根据通用搜索参数的复杂性等,将通用搜索参数进行分类,例如可以分为基本搜索参数、高级搜索参数和排序搜索参数三类,但不限于分为三类。 [0047] In detail, the management device according to the complexity of the generalized search parameters and the like, the general search parameters are classified, for example, can be divided into the basic parameters of the search, and the search parameters Advanced sorting three search parameters, but not limited to be divided into three categories. 管理设备将分类后的通用搜索参数显示在交互界面上。 The management device universal search parameters classification is displayed on the interactive interface. 一种显示分类后的通用搜索参数的交互界面如图2所示。 A display interface common search parameters of the classified as shown in FIG. 在图2所示交互界面中,基本搜索参数包括但不限于:类目ID、关键词、地区、筛选模型、价格区间、起批量、创建时间、发布时间、要显示的商品数量等。 In the interface shown in Figure 2, the basic search parameters include, but are not limited to: category ID, keyword, region, screening model, price range, from the bulk, creation time, release time, the number of items to be displayed and so on. 在图2所示交互界面中,高级搜索参数包括但不限于:主营发布类目ID、交易勋章等级、满意率、大额批发、以及更多指标等,其中,更多指标可以由指标名称、维度、时间、指标值几项构成,例如指标名称可以是回头客数、交易笔数、交易件数、订单平均交易额,维度可以是卖家或产品等。 In the interface shown in Figure 2, the advanced search parameters include, but are not limited to: category ID, transaction medal grade, satisfaction rate, large wholesale, as well as more indicators of the main publishing, where more indicators can name the index , dimension, time, several index value constituted, for example indicator is the number of repeat customers can name, number of transactions, the number of trade items, the average trading volume orders, and other dimensions may be the seller or products. 在图2所示交互界面中,排序搜索参数可以是但不限于按产品近7天交易额降序排列。 In the interface shown in Figure 2, ordering the search parameters may be but is not limited by the last seven days of product turnover in descending order.

[0048] 在此说明,在图2所示交互界面中的高级搜索参数以及排序搜索参数可以根据实际情况添加、删除,这里仅举了一些比较常见的搜索参数。 [0048] In this explanation, advanced search and sorting parameters search parameters interface shown in Figure 2 can be based on the actual situation to add, delete, just to name some of the more common search parameters. 在实际使用过程中,图2所示交互界面中的通用搜索参数可能会有很多组合,如高级搜索参数部分的指标进行多次组合、以及排序指标的组合。 In actual use, general-purpose search parameters interface as shown in FIG. 2 may be many combinations of parameters such as the advanced search index portion multiple combinations, and combinations of the sorted index. 通过不同的组合可以满足各种搜索条件的需求。 Meet the needs of a variety of search criteria through different combinations.

[0049] 基于图2所示通用搜索参数,对搜索条件进行举例说明。 [0049] Parameters shown in Figure 2 a general search based on the search condition illustrated. 例如,一搜索条件可以是:产品价格区间在1-100,并且最近30天内该产品交易件数大于50,最后按产品维度近7天交易额进行排序;则该搜索条件可以对应多个搜索场景信息中的搜索参数,各搜索场景信息中的搜索参数分别是产品价格区间在1-100、最近30天内该产品交易件数大于50、以及按产品维度近7天交易额进行排序。 For example, a search condition can be: product price range 1 to 100, and the last 30 days the product of more than 50 pieces of number of transactions, according to the final product dimension turnover of nearly seven days to sort; the search condition may correspond to multiple search scene information the search parameters, each search scene information search parameters are the product price range 1 to 100, the last 30 days the product of more than 50 pieces of number of transactions, as well as by product dimension nearly seven days to sort transactions. 又例如,一搜索条件可以是:产品价格区间在1000-2000,适用人群的年龄段为30-50,最后按评价数降序排序;则该搜索条件可以对应多个搜索场景信息中的搜索参数,各搜索场景信息中的搜索参数分别是产品价格区间在1000-2000、适用人群的年龄段为30-50、以及按评价数降序排序。 As another example, a search condition can be: product price range in 1000-2000, ages 30 to 50 for the crowd, and finally sorted in descending order of the number of evaluation; the search condition can corresponds to search multiple search parameters scene information, each search scene information in the search parameters are product price range in 1000-2000, ages 30 to 50 for the crowd, as well as evaluating sorted in descending order.

[0050] 另外,上述实施例的管理设备上预先配置了拼装规则,用于对搜索参数进行拼装生成查询串。 [0050] Further, the management device of the above embodiment preconfigured rule assembly, the assembly for generating a search query string parameters. 管理设备在获得上述搜索条件所包含的搜索参数后,可以根据预设的拼装规贝1J,对所获得搜索参数进行拼装,生成查询串。 After obtaining the above-described management device search parameters included in the search condition, can be assembled according to the preset rules shellfish 1J, the search parameters obtained for assembly, generate a query string.

[0051] 举例说明,一种拼装规则可以定义为(&key = value),意味着搜索参数将会被拼装为keyl = valuel&key2 = value2的格式。 [0051] illustrates a rule assembly may be defined as (& key = value), that the search parameters will be assembled to keyl = valuel & key2 = value2 the format. 又一种拼装规则可以定义为(&key = [valuel, value2, value3], \002),意味着搜索参数值会被组装成valuel\002value2\002value3,例如假设有3个搜索参数分别为:keywords =mp3, priceStart = 1,filt = [1, 2, 3], \002,那么这3 个搜索参数会被拼装成keywords =mp3&priceStart = l&filt = 1\0022\0023。 Yet another rule assembly may be defined as (& key = [valuel, value2, value3], \ 002), that the search parameter values ​​are assembled valuel \ 002value2 \ 002value3, for example, if there are three search parameters are: keywords = mp3, priceStart = 1, filt = [1, 2, 3], \ 002, then the three parameters are assembled into the search keywords = mp3 & priceStart = l & filt = 1 \ 0022 \ 0023.

[0052] 以搜索参数分别是产品价格区间在1-100、最近30天内该产品交易件数大于50、以及按产品维度近7天交易额进行排序为例,则管理设备生成的查询串如下所示: [0052] to search for parameters are the product price range 1 to 100, the last 30 days the product of more than 50 pieces of number of transactions, as well as by product dimensions to sort an example last seven days trading volume, the management device generates a query string as follows :

[0053] http://www.samplecase.com/bin/search ? outfmt = xml&priceStart =l&price End = lOO&weidu = chanpin&time = 30&sales = 50&sortTime = 7&sortType =gmv [0053] http://www.samplecase.com/bin/search? Outfmt = xml & priceStart = l & price End = lOO & weidu = chanpin & time = 30 & sales = 50 & sortTime = 7 & sortType = gmv

[0054] 在上述实施例中,应用服务器不再负责将搜索参数拼装成查询串,这意味着各应用开发人员不需要为各应用服务器编写和维护用于生成查询串的代码,有利于减轻各应用开发人员的负担;另外,查询串的生成由管理设备集中处理,只需开发一套代码既可,可以避免代码重复开发。 [0054] In the above embodiment, the application server will no longer be responsible for assembling the search parameter into the query string, which means that each application developer does not need to write and maintain the code used to generate the query string for each application server, will help reduce each burden on application developers; Further, the query string is generated by a centralized management device processing, the ability to develop a set of code that can avoid duplication of code development. 由此可见,与现有技术中各应用服务器独自生成查询串的方案相比,本发明上述实施例可以降低生成查询串的代价。 Thus, unlike the prior art, each application server generates the query string alone embodiment in comparison to the present invention, the above-described embodiment can reduce the cost of generating a query string.

[0055] 另外,通常搜索条件会包含很多搜索参数,这就要求用于拼装搜索参数的代码比较复杂,人工编写这么复杂的代码容易出现错误,进而导致拼装出错,影响应用服务器的正常使用。 [0055] In addition, the search conditions will usually contain a lot of search parameters, which requires the search parameters for assembly code is more complex, artificial write complex code so prone to error, which led to assembly errors, affecting the normal use of the application server. 而在本发明上述实施例提供的方法中,由于由管理设备集中负责查询串的生成,可以将查询串的生成与应用服务器独立开,查询串是否出现错误并不会影响应用服务器的正常使用。 In the above-described embodiments provide a method of the present invention, since the centralized management device responsible for generating the query string, the query string can generate independent open application server, the query string if the error does not affect the normal use of the application server.

[0056] 图3为本发明又一实施例提供的生成查询串的方法的流程示意图。 [0056] Fig 3 a schematic flowchart of a further method of generating a query string according to an embodiment of the present invention. 如图3所示,该方法包括: As shown in FIG. 3, the method comprising:

[0057] 301、应用服务器获取进行搜索所需的搜索条件的标识。 [0057] 301, the application server obtains identified desired search search.

[0058] 302、应用服务器将上述搜索条件的标识发送给管理设备。 [0058] 302, the identifier of the application server transmits the search condition to the management device.

[0059] 303、应用服务器将待搜索产品的名称发送给管理设备。 [0059] 303, the application server will be sent to the name of the search product management device.

[0060] 304、管理设备根据上述搜索条件的标识,确定上述搜索条件包含的搜索参数。 [0060] 304, the management apparatus according to the identifier of the search condition, the search parameters determined search condition included in the above.

[0061] 305、管理设备将上述待搜索产品的名称和上述搜索条件包含的搜索参数进行合并,获得搜索参数组合。 [0061] 305, the management device searches the parameter of the product name to be searched and the search condition contained in the above-described combined to obtain a combination of search parameters.

[0062] 306、管理设备按照预设的拼装规则,对上述搜索参数组合进行拼装处理,获得上述搜索条件对应的查询串。 [0062] 306, the management device assembly according to a preset rule, the above-described combination search parameters assembly process to obtain the above-described condition corresponding to the search query string.

[0063] 上述步骤301、302、304可分别参照图la或图lb所示实施例来实现,在此不再赘述。 [0063] The above-described steps 301,302,304 can refer to FIG la, respectively, or to implement the embodiment shown in FIG lb, are not repeated here. 另外,步骤302和步骤303可以在同一步骤实现,也可以是两个独立的步骤。 Further, steps 302 and 303 may be implemented in the same step, or may be two separate steps.

[0064] 本实施例与图la或图lb所示实施例的区别在于,本实施例中用户除了提供搜索条件之外,还明确了待搜索的产品,于是应用服务器还需要将待搜索产品的名称作为独立(或者额外)的搜索参数提供给管理设备。 [0064] This embodiment differs from that of the embodiment shown in FIG. FIG. La or LB, embodiments of the present embodiment except that the user provides the search condition, but also clear the product to be searched, then the application server needs to be searched products name available to management as a standalone device (or additional) search parameters.

[0065] 对管理设备来说,在确定搜索条件包含的搜索参数并且接收到应用服务器提供的待搜索产品的名称后,首先将搜索条件包含的搜索参数与待搜索产品的名称进行合并,形成搜索参数组合;然后再按照预设的拼装规则,对上述搜索参数组合进行拼装处理,获得搜索条件对应的查询串。 Name to be searched and the search parameters Product [0065] The management device, in determining the search parameters and conditions included in the received name of the application server provides products to be searched, the search condition included in the first combined, a search parameter combination; then assembled according to a preset rule, the above-described assembly process combination of search parameters, the query string search conditions to obtain the corresponding.

[0066] 举例说明,假设应用服务器提供的待搜索产品是mp3,且搜索参数分别是产品价格区间在1-100、最近30天内该产品交易件数大于50、以及按产品维度近7天交易额进行排序,则得到的搜索参数组合为:产品是mp3、产品价格区间在1-100、最近30天内该产品交易件数大于50、以及按产品维度近7天交易额进行排序。 [0066] For example, assume that the application server provides the product to be searched is mp3, and search parameters are the product price range 1 to 100, the last 30 days the product of more than 50 pieces of number of transactions, as well as by product dimensions turnover of nearly 7 days Sort combination of search parameters, then were as follows: the product is mp3, product price range 1 to 100, the last 30 days the product of more than 50 pieces of number of transactions, as well as by product dimension nearly seven days to sort transactions. 则由搜索参数组合拼装得到的查询串如下所示: By the search query string parameter combination assembly obtained as follows:

[0067] http://www.samplecase.com/bin/search ? keywords = mp3&outfmt = xml&priceStart = l&priceEnd = lOO&weidu = chanpin&time = 30&sales = 50&sortTime = 7&sortType = gmv [0067] http://www.samplecase.com/bin/search? Keywords = mp3 & outfmt = xml & priceStart = l & priceEnd = lOO & weidu = chanpin & time = 30 & sales = 50 & sortTime = 7 & sortType = gmv

[0068] 在本实施例中,应用服务器不再负责将搜索参数拼装成查询串,这意味着各应用开发人员不需要为各应用服务器编写和维护用于生成查询串的代码,有利于减轻各应用开发人员的负担;另外,查询串的生成由管理设备集中处理,只需开发一套代码既可,可以避免代码重复开发。 [0068] In this embodiment, the application server will no longer be responsible for assembling the search parameter into the query string, which means that each application developer does not need to write and maintain the code used to generate the query string for each application server, will help reduce each burden on application developers; Further, the query string is generated by a centralized management device processing, the ability to develop a set of code that can avoid duplication of code development. 由此可见,与现有技术中各应用服务器独自生成查询串的方案相比,本实施例可以降低生成查询串的代价。 Thus, unlike the prior art, each application server generates the query string alone solution as compared to the present embodiment can reduce the cost of generating a query string.

[0069] 另外,在本实施例提供的方法中,由于由管理设备集中负责查询串的生成,可以将查询串的生成与应用服务器独立开,查询串是否出现错误并不会影响应用服务器的正常使用。 [0069] Further, in the method provided in this embodiment, since the centralized management device responsible for generating the query string, the query string can generate independent open application server, whether the query string and the error will not affect the normal application server use.

[0070] 进一步,在本实施例中,允许应用服务器提供独立或额外的搜索参数,可以对管理设备上的搜索场景信息中的搜索参数作补充,有利于丰富查询条件,并且有利于提高基于查询串的查询结果的精度。 [0070] Further, in the present embodiment, the application server is allowed separate or additional search parameters, the search scene information on the management device in the search parameters for the added benefit rich query, and help to improve query based precision string of query results.

[0071] 在上述实施例或实施方式的基础上,为了降低查询串出错的概率,管理设备上预设有检错规则,在生成查询串之后,可以按照预设的检错规则,对所生成的查询串进行错误校验。 [0071] Based on the foregoing embodiment or embodiments, the query string to reduce the probability of error, the predetermined management device has an error detection rule, after generating a query string or according to a preset error detection rules, the generated the query string error checking. 当发现错误时,管理设备可以及时提醒管理员生成的查询串存在错误,以便管理员对查询条件进行修改。 When errors are found, the management device can remind the administrator to generate a query string of errors, allowing the administrator to modify the query conditions.

[0072] 举例说明,管理设备可以检查查询串中的搜索参数是否存在冲突、查询串是否缺少搜索参数、以及查询串是否存在不必要的参数等。 [0072] way of example, the management device may check a search query string parameters whether a conflict exists, the search query string parameter is missing, and whether the query string parameter is present and the like unnecessary. 具体检查过程可参见现有技术,在此不再赘述。 Specific inspection process can be found in the prior art, it is not repeated here.

[0073] 需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。 [0073] Incidentally, the foregoing embodiments of the methods for, for ease of description, it is described as a series combination of actions, those skilled in the art should understand that the present invention is not described in the operation sequence It limited since according to the present invention, some steps may be performed simultaneously or in other sequences. 其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。 Secondly, those skilled in the art should also understand that the embodiments are described in the specification are exemplary embodiments, actions and modules involved are not necessarily required by the present invention.

[0074] 在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。 [0074] In the above embodiment, the description of the various embodiments have different emphases, certain embodiments not detailed in part, be related descriptions in other embodiments.

[0075] 图4为本发明一实施例提供的管理设备的结构示意图。 [0075] FIG. 4 is a schematic configuration management apparatus according to an embodiment of the present invention. 如图4所示,该管理设备包括:接收模块41、确定模块42和拼装模块43。 4, the management apparatus comprising: a receiving module 41, a determining module 42 and the module assembly 43.

[0076] 接收模块41,用于接收应用服务器发送的进行搜索所需的搜索条件的标识。 [0076] The receiving module 41, configured to receive the application server identified desired searches search condition transmitted.

[0077] 确定模块42,与接收模块41连接,用于根据接收模块41接收的搜索条件的标识,确定搜索条件包含的搜索参数。 [0077] The determining module 42 is connected with the receiving module 41, based on search criteria for identifying the receiving module 41 receives the determined search parameters included in the search condition.

[0078] 拼装模块43,与确定模块42连接,用于根据预设的拼装规则,对确定模块42确定出的搜索条件包含的搜索参数进行拼装处理,获得搜索条件对应的查询串。 [0078] The assembled module 43, 42 is connected with the determination module, according to a preset rule assembly, the search parameter determination module 42 determines a search condition contained in the assembly process, to obtain the query string corresponding to the search condition.

[0079] 在一可选实施方式中,确定模块42具体可用于根据接收模块41接收的搜索条件的标识,在预先存储的各搜索场景信息中进行查询,获取标识与接收模块41接收的搜索条件的标识相同的至少一个搜索场景信息中的搜索参数作为搜索条件包含的搜索参数。 [0079] In an alternative embodiment, the determination module 42 may be specifically configured, each search query in the scene information stored in advance according to the identifier of the search criteria received by the receiving module 41, and acquires identification search condition received by the receiving module 41 identifying at least one of the same scene searches search parameter information as a search condition included in the search parameters.

[0080] 在一可选实施方式中,如图5所示,管理设备还可以包括:显示模块51和分配模块52。 [0080] In an alternative embodiment, shown in Figure 5, the management device may further comprise: a display module 51 and assignment module 52. 进一步,该管理设备还包括一交互界面(图5中未示出)。 Further, the management device further comprises an interface (not shown in FIG. 5).

[0081] 显示模块51,与交互界面连接,用于将通用搜索参数分类显示在该管理设备提供的交互界面上。 [0081] The display module 51, and the interface is connected, for general classification search parameters are displayed on the interface provided by the management device.

[0082] 接收模块41还用于,接收管理员通过交互界面发送的提交请求,该提交请求携带有管理员在所述交互界面上勾选和/或填充通用搜索参数构成的搜索场景信息。 [0082] The receiving module 41 is further configured to receive requests submitted by the administrator interface, submit the request carries information manager scene search interface on the check and / or filling general configuration of search parameters.

[0083]分配模块52,与接收模块41连接,用于为接收模块41接收到的各搜索场景信息分配标识。 [0083] The allocation module 52 is connected with the receiving module 41 is configured to receive a respective search module 41 receives the scenario information assignment identification.

[0084] 在一可选实施方式中,接收模块41还用于,接收应用服务器发送的待搜索产品的名称。 [0084] In an alternative embodiment, the receiving module 41 is further configured to receive the name of the product to be sent from the search server applications. 相应的,拼装模块43具体可用于将接收模块41接收的待搜索产品的名称和确定模块42确定出的搜索条件包含的搜索参数进行合并,获得搜索参数组合,按照预设的拼装规贝1J,对该搜索参数组合进行拼装处理,获得搜索条件对应的查询串。 Accordingly, the assembly module 43 may be used to specifically name 41 receiving the products to be searched and the receiving module 42 determines the search parameters module containing the determined search condition are combined to obtain a combination of search parameters in accordance with predetermined rules shell assembly 1J, the process for assembling a combination of search parameters, the query string search conditions to obtain the corresponding.

[0085] 进一步,如图5所示,该设备还可以包括:检错模块53。 [0085] Further, as shown in Figure 5, the apparatus may further comprise: an error detection module 53. 检错模块53,与拼装模块43连接,用以按照预设的检错规则,对搜索条件对应的查询串进行错误检测。 An error detection module 53, the module 43 is connected to the assembly for error detection according to a preset rule, the query string corresponding to the search condition for error detection.

[0086] 本实施例提供的管理设备的各功能模块可用于执行图lb或图3所示方法实施例的流程,其具体工作原理不再赘述,详见方法实施例的描述。 [0086] The present embodiment the functional modules provided by the management device may be used to perform the process of FIG. Lb, or the method shown in Example 3 of the embodiment, the specific operation principle will not be repeated, the description in the method embodiment.

[0087] 本实施例提供的管理设备,集中负责查询串的生成,将应用服务器解放出来,使得应用开发人员不用再为应用服务器编写和维护用于生成查询串的代码,减轻了应用开发人员的负担,另外还可以避免代码重复开发,因此,降低了生成查询串的代价。 [0087] The present management device according to an embodiment, the query string is responsible for centralized generation, freeing up the application server so that application developers do not have to write and maintain code for generating a query string to the application server, reducing the application developer burden also avoids duplication of code development, thus reducing the cost of generating a query string.

[0088] 图6为本发明一实施例提供的应用服务器的结构示意图。 [0088] FIG. 6 is a schematic view of an application server according to an embodiment of the present invention. 如图6所示,该应用服务器包括:获取模块61和发送模块62。 6, the application server includes: an obtaining module 61 and a sending module 62.

[0089] 获取模块61,用于获取进行搜索所需的搜索条件的标识。 [0089] The obtaining module 61, configured to obtain a desired search identified search.

[0090] 发送模块62,与获取模块61连接,用于将获取模块61获取的搜索条件的标识发送给管理设备,以供管理设备根据搜索条件的标识,确定搜索条件包含的搜索参数,根据预设的拼装规则,对搜索参数进行拼装处理,获得搜索条件对应的查询串。 [0090] The transmitting module 62, 61 is connected to the acquiring module, for acquiring the identification module 61 acquires the search condition is sent to the management device, the management device according to the identifier for the search criteria, the search criteria comprises determining the search parameters in accordance with pre- assembled set of rules, the search parameters assembly process, to obtain the search condition corresponding to the query string.

[0091] 本实施例提供的应用服务器,可与上述实施例提供的管理设备相配合,使得查询串的生成由管理设备集中处理,应用服务器本身不再负责将搜索参数拼装成查询串,这意味着本实施例提供的应用服务器无需应用开发人员为其编写和维护用于生成查询串的代码,有利于减轻各应用开发人员的负担,与现有技术中需要独自生成查询串的应用服务器相比,采用本实施例提供的应用服务器可以降低生成查询串的代价。 [0091] The present embodiment provides an application server embodiment, the above-described embodiment can provide a management device cooperating embodiment, such processing generates a query string by the centralized management device, the application server itself is no longer responsible for assembling into a search query string parameter, which means the application server provided in this embodiment of the application without the need for developers to write and maintain code for generating a query string, will help reduce the burden on the application developer, we need to generate an application server query strings alone, compared with the prior art , an application server according to the present embodiment may be provided in reduced cost of generating a query string.

[0092] 所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。 [0092] Those skilled in the art may clearly understand that, for convenience and brevity of description, specific working process of the foregoing system, apparatus, and unit may refer to the corresponding process in the foregoing method embodiments, not described herein again .

[0093] 在本发明所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。 [0093] The present invention provides several embodiments, it should be understood that the system, apparatus and method disclosed may be implemented in other manners. 例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。 For example, the described apparatus embodiments are merely illustrative of, for example, the unit division is merely logical function division, there may be other division in actual implementation, for example, a plurality of units or components may be combined or It can be integrated into another system, or some features may be ignored or not performed. 另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。 Another point, displayed or coupling or direct coupling or communication between interconnected in question may be through some interface, device, or indirect coupling or communication connection unit, may be electrical, mechanical, or other forms.

[0094] 所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。 [0094] The unit described as separate components may be or may not be physically separate, parts displayed as units may be or may not be physical units, i.e. may be located in one place, or may be distributed to a plurality of networks unit. 可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。 You can select some or all of the units according to actual needs to achieve the object of the solutions of the embodiments.

[0095] 另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。 [0095] Additionally, functional units may be integrated in various embodiments of the present invention in a processing unit, separate units may be physically present, may be two or more units are integrated into one unit. 上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。 The integrated unit may be implemented in the form of hardware, software functional units in hardware may also be implemented.

[0096] 上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。 [0096] integrated unit implemented in the form of a software functional unit described above may be stored in a computer-readable storage medium. 上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施例所述方法的部分步骤。 In a storage medium and includes several instructions that enable a computer device (may be a personal computer, a server, or network device) or (processor) to perform various embodiments of the present invention, the method of storing the software functional unit some of the steps. 而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory, ROM)、随机存取存储器(Random Access Memory, RAM)、磁碟或者光盘等各种可以存储程序代码的介质。 The storage medium comprising: a variety of medium U disk, mobile hard disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), magnetic disk, or an optical disc capable of storing program code .

[0097] 最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。 [0097] Finally, it should be noted that: the above embodiments are intended to illustrate the present invention, rather than limiting;. Although the present invention has been described in detail embodiments, those of ordinary skill in the art should be understood: may still be made to the technical solutions described in each embodiment of the modified or part of the technical features equivalents; as such modifications or replacements do not cause the essence of corresponding technical solutions to depart from the technical solutions of the embodiments of the present invention and scope.

Claims (12)

  1. 1.一种生成查询串的方法,其特征在于,包括: 应用服务器获取进行搜索所需的搜索条件的标识; 所述应用服务器将所述搜索条件的标识发送给管理设备,以供所述管理设备根据所述搜索条件的标识,确定所述搜索条件包含的搜索参数,根据预设的拼装规则,对所述搜索参数进行拼装处理,获得所述搜索条件对应的查询串。 1. A method of generating a query string, characterized by comprising: obtaining an application server identified desired search criteria; identifies the application server transmits the search condition to the management apparatus, the management for apparatus according to the identifier of the search condition, searches search parameters determining the conditions included in the assembly according to a preset rule, the assembly process the search parameters, the query string is obtained corresponding to the search condition.
  2. 2.—种生成查询串的方法,其特征在于,包括: 管理设备接收应用服务器发送的进行搜索所需的搜索条件的标识; 所述管理设备根据所述搜索条件的标识,确定所述搜索条件包含的搜索参数; 所述管理设备根据预设的拼装规则,对所述搜索条件包含的搜索参数进行拼装处理,获得所述搜索条件对应的查询串。 2.- species generation of the query string, characterized in that, comprising: receiving an application server management device identifier required for searches search condition transmitted; the identifier management apparatus according to the search condition, the search condition determining Search parameters included; the management device assembly according to a preset rule, the search condition of the search parameters contained in the assembly process, to obtain the query string corresponding to the search condition.
  3. 3.根据权利要求2所述的方法,其特征在于,所述管理设备根据所述搜索条件的标识,确定所述搜索条件包含的搜索参数,包括: 所述管理设备根据所述搜索条件的标识,在预先存储的各搜索场景信息中进行查询,获取标识与所述搜索条件的标识相同的至少一个搜索场景信息中的搜索参数作为所述搜索条件包含的搜索参数。 3. The method according to claim 2, wherein said management apparatus according to the identifier of the search condition, the search condition determining parameter comprises searching, comprising: identifying the managing apparatus according to the search criteria , the search query in the scene information stored in advance, and obtain the same identifications of the at least one search condition searches search parameter in the scene information as a search parameter included in the search condition.
  4. 4.根据权利要求3所述的方法,其特征在于,所述管理设备根据所述搜索条件的标识,在预先存储的各搜索场景信息中进行查询之前,还包括: 所述管理设备将通用搜索参数分类显示在所述管理设备提供的交互界面上; 所述管理设备接收管理员通过所述交互界面发送的提交请求,所述提交请求携带有所述管理员在所述交互界面上勾选和/或填充所述通用搜索参数构成的搜索场景信息; 所述管理设备为各搜索场景信息分配标识。 4. The method according to claim 3, characterized in that, prior to the device, the search query in the scenario information according to the identifier stored in advance in the management of the search condition, further comprising: a management device to the universal search classification parameters are displayed on the interface provided by the management device; the management device receives a request submitted by the administrator interface sent the commit request carries the administrator check on the interface and / filling information or search for scenes composed of the general search parameter; the management device searches for the identification information assignment scene.
  5. 5.根据权利要求2或3或4所述的方法,其特征在于,还包括: 所述管理设备接收所述应用服务器发送的待搜索产品的名称; 所述管理设备根据预设的拼装规则,对所述搜索条件包含的搜索参数进行拼装处理,获得所述搜索条件对应的查询串,包括: 所述管理设备将所述待搜索产品的名称和所述搜索条件包含的搜索参数进行合并,获得搜索参数组合; 所述管理设备按照预设的拼装规则,对所述搜索参数组合进行拼装处理,获得所述搜索条件对应的查询串。 The method according to 2 or 3 or claim 4, characterized in that, further comprising: the management device receives the product name to be searched from server; the management device assembly according to a preset rule, the search parameters for the search condition contained in the assembly process, obtaining the query string corresponding to the search condition, comprising: a management device to the parameter name to be searched and the search condition of the search comprises the product are combined, to obtain search parameter combination; the management device assembly according to a preset rule, the assembly process combination search parameters to obtain the search condition corresponding to the query string.
  6. 6.根据权利要求2或3或4所述的方法,其特征在于,在获得所述搜索条件对应的查询串之后,还包括: 所述管理设备按照预设的检错规则,对所述搜索条件对应的查询串进行错误检测。 The method according to claim 4 or claim 23, wherein, after obtaining the query string corresponding to the search condition, further comprising: a management device according to a preset rule of error detection, the search for query string corresponding to the conditions for error detection.
  7. 7.一种应用服务器,其特征在于,包括: 获取模块,用于获取进行搜索所需的搜索条件的标识; 发送模块,用于将所述搜索条件的标识发送给管理设备,以供所述管理设备根据所述搜索条件的标识,确定所述搜索条件包含的搜索参数,根据预设的拼装规则,对所述搜索参数进行拼装处理,获得所述搜索条件对应的查询串。 An application server, characterized by comprising: an obtaining module, configured to obtain identified desired search criteria; transmitting means for transmitting the search condition to identify the management device for use by the the management apparatus identifier to the search criteria, to determine the search conditions included in the search parameters, according to a preset rule assembly, the assembly process the search parameters, the query string is obtained corresponding to the search condition.
  8. 8.—种管理设备,其特征在于,包括: 接收模块,用于接收应用服务器发送的进行搜索所需的搜索条件的标识; 确定模块,用于根据所述搜索条件的标识,确定所述搜索条件包含的搜索参数; 拼装模块,用于根据预设的拼装规则,对所述搜索条件包含的搜索参数进行拼装处理,获得所述搜索条件对应的查询串。 8.- species management apparatus comprising: a receiving module, configured to receive the application server identified desired search criteria transmitted; determining module, according to the identifier of the search condition, the search is determined searching condition included; assembled module assembly according to a preset rule, the search condition of the search parameters contained in the assembly process, to obtain the query string corresponding to the search condition.
  9. 9.根据权利要求8所述的设备,其特征在于,所述确定模块具体用于根据所述搜索条件的标识,在预先存储的各搜索场景信息中进行查询,获取标识与所述搜索条件的标识相同的至少一个搜索场景信息中的搜索参数作为所述搜索条件包含的搜索参数。 9. The apparatus of claim 8, wherein, the determining module for each search query in the scene information stored in advance according to the identifier of the search condition, acquires the identifier and the search condition the same search parameters identifying at least one search scene information as a search parameter included in the search condition.
  10. 10.根据权利要求9所述的设备,其特征在于,还包括: 显示模块,用于将通用搜索参数分类显示在所述管理设备提供的交互界面上; 所述接收模块还用于,接收管理员通过所述交互界面发送的提交请求,所述提交请求携带有所述管理员在所述交互界面上勾选和/或填充所述通用搜索参数构成的搜索场景信息; 所述设备还包括: 分配模块,用于为各搜索场景信息分配标识。 10. The apparatus according to claim 9, characterized in that, further comprising: a display module, a general classification for displaying search parameters on the interface provided by the management device; the receiving module is further configured to receive management members submitted through the interface transmission request, submit the request carries information on the scene search interface check and / or filling the general configuration of the administrator search parameter; said apparatus further comprising: allocation means for searching for the identification information assignment scene.
  11. 11.根据权利要求8或9或10所述的设备,其特征在于, 所述接收模块还用于,接收所述应用服务器发送的待搜索产品的名称; 所述拼装模块具体用于将所述待搜索产品的名称和所述搜索条件包含的搜索参数进行合并,获得搜索参数组合,按照预设的拼装规则,对所述搜索参数组合进行拼装处理,获得所述搜索条件对应的查询串。 11. The apparatus of claim 8 or 9 or as claimed in claim 10, wherein the receiving module is further configured to search for the name of the product to be sent by the server to receive the application; the said assembly module is configured to search parameter name to be searched and the search condition contained in the product were combined to obtain a combination of search parameters, according to a preset rule assembly, the assembly process combination search parameters to obtain query string corresponding to the search condition.
  12. 12.根据权利要求8或9或10所述的设备,其特征在于,还包括: 检错模块,用于按照预设的检错规则,对所述搜索条件对应的查询串进行错误检测。 12. The apparatus of claim 8 or 9 or as claimed in claim 10, characterized in that, further comprising: error detection means for error detection according to a preset rule, the query string corresponding to the search condition for error detection.
CN 201410395326 2014-08-12 2014-08-12 Method and device for generating query strings CN105447009A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201410395326 CN105447009A (en) 2014-08-12 2014-08-12 Method and device for generating query strings

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201410395326 CN105447009A (en) 2014-08-12 2014-08-12 Method and device for generating query strings

Publications (1)

Publication Number Publication Date
CN105447009A true true CN105447009A (en) 2016-03-30

Family

ID=55557204

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201410395326 CN105447009A (en) 2014-08-12 2014-08-12 Method and device for generating query strings

Country Status (1)

Country Link
CN (1) CN105447009A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101246498A (en) * 2008-03-27 2008-08-20 腾讯科技(深圳)有限公司 News web page searching method
US20120078935A1 (en) * 2008-04-16 2012-03-29 Yahoo! Inc. Identifying superphrases of text strings
CN102436458A (en) * 2011-03-02 2012-05-02 奇智软件(北京)有限公司 Command analyzing method and system
US20130311480A1 (en) * 2012-04-27 2013-11-21 International Business Machines Corporation Sensor data locating
US20130325850A1 (en) * 2012-04-17 2013-12-05 Social IQ Networks, Inc. Systems and methods for discovering social accounts
CN103701946A (en) * 2013-12-20 2014-04-02 珠海金山网络游戏科技有限公司 Method and system for client-side to be in communication with server through URL (Universal Resource Locator)
CN103729471A (en) * 2014-01-21 2014-04-16 华为软件技术有限公司 Method and device for database query
CN103902646A (en) * 2013-12-27 2014-07-02 北京天融信软件有限公司 Distributed task managing system and method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101246498A (en) * 2008-03-27 2008-08-20 腾讯科技(深圳)有限公司 News web page searching method
US20120078935A1 (en) * 2008-04-16 2012-03-29 Yahoo! Inc. Identifying superphrases of text strings
CN102436458A (en) * 2011-03-02 2012-05-02 奇智软件(北京)有限公司 Command analyzing method and system
US20130325850A1 (en) * 2012-04-17 2013-12-05 Social IQ Networks, Inc. Systems and methods for discovering social accounts
US20130311480A1 (en) * 2012-04-27 2013-11-21 International Business Machines Corporation Sensor data locating
CN103701946A (en) * 2013-12-20 2014-04-02 珠海金山网络游戏科技有限公司 Method and system for client-side to be in communication with server through URL (Universal Resource Locator)
CN103902646A (en) * 2013-12-27 2014-07-02 北京天融信软件有限公司 Distributed task managing system and method
CN103729471A (en) * 2014-01-21 2014-04-16 华为软件技术有限公司 Method and device for database query

Similar Documents

Publication Publication Date Title
Hoe-Lian Goh et al. A checklist for evaluating open source digital library software
US20120215791A1 (en) Entity fingerprints
US20150026120A1 (en) Systems and methods for visualizing social graphs
US20130166601A1 (en) Systems and methods for conducting reliable assessments with connectivity information
US20080059447A1 (en) System, method and computer program product for ranking profiles
US20120130987A1 (en) Dynamic Data Aggregation from a Plurality of Data Sources
US20140310282A1 (en) Generating data clusters
US20130013807A1 (en) Systems and methods for conducting more reliable assessments with connectivity statistics
US20160180557A1 (en) Systems and interactive user interfaces for dynamic retrieval, analysis, and triage of data items
US20100161602A1 (en) Grouping similar values for a specific attribute type of an entity to determine relevance and best values
US20140282370A1 (en) Methods for managing applications using semantic modeling and tagging and devices thereof
CN103593434A (en) Application recommendation method and device and server equipment
US20140105508A1 (en) Systems and Methods for Intelligent Purchase Crawling and Retail Exploration
US20100312737A1 (en) Semi-Automatic Evaluation and Prioritization of Architectural Alternatives for Data Integration
US20150095185A1 (en) Large-scale recommendations for a dynamic inventory
CN103763361A (en) Method and system for recommending applications based on user behavior and recommending server
US20110225133A1 (en) Metadata-aware search engine
CN102315952A (en) Method and device for detecting junk posts in community network
US8874755B1 (en) Provisioning of cloud networks with services
US20150310052A1 (en) Managing a table of a database
US20150310045A1 (en) Managing an index of a table of a database
CN103034680A (en) Data interaction method and device for terminal device
US8640251B1 (en) Methods and systems for classifying computer documents into confidential levels using log information
US8359328B2 (en) Party reputation aggregation system and method
US8185561B1 (en) Scalable user clustering based on set similarity

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination