WO2019028743A1 - Method and apparatus for generating combinatorial search box - Google Patents

Method and apparatus for generating combinatorial search box Download PDF

Info

Publication number
WO2019028743A1
WO2019028743A1 PCT/CN2017/096841 CN2017096841W WO2019028743A1 WO 2019028743 A1 WO2019028743 A1 WO 2019028743A1 CN 2017096841 W CN2017096841 W CN 2017096841W WO 2019028743 A1 WO2019028743 A1 WO 2019028743A1
Authority
WO
WIPO (PCT)
Prior art keywords
search box
target
data format
generating
combined
Prior art date
Application number
PCT/CN2017/096841
Other languages
French (fr)
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
Application filed by 深圳峰创智诚科技有限公司 filed Critical 深圳峰创智诚科技有限公司
Priority to PCT/CN2017/096841 priority Critical patent/WO2019028743A1/en
Publication of WO2019028743A1 publication Critical patent/WO2019028743A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and apparatus for generating a combined search box.
  • the main object of the present invention is to solve the problem that the efficiency of generating a search box in the software development process is relatively low.
  • the present invention provides a method for generating a combined search box, and the method for generating a combined search box includes:
  • the preset data format includes a data format defining a combined search box type, where the configuration parameters include a target combined search box type;
  • the queried target data format further includes a data format defining a target combination search box style
  • the step of generating a target combined search box according to the queried target data format includes:
  • the step of writing the configuration parameter according to the preset data format further includes:
  • At least two preset data formats are set, the preset data format including: a data format defining a combined search box style and a combined search box type.
  • the method further includes:
  • the search data is displayed on a page generated according to the target page template.
  • the step of obtaining search data by calling the data interface comprises:
  • the search data is obtained by calling a data interface.
  • the present invention also provides an apparatus for generating a combined search box, the apparatus comprising:
  • Writing a module configured to write a configuration parameter according to a preset data format, where the preset data format includes a data format defining a combined search box type, where the configuration parameter includes a target combination search box type;
  • a binding module configured to bind the configuration parameter to a page template to obtain a target page template
  • a query module configured to query, according to a correspondence between the combined search box type and the preset data format, a target data format that matches the target combination search box type;
  • a generating module configured to generate a target combined search box according to the target data format that is queried.
  • the queried target data format further includes a data format defining a target combination search box style
  • the generating module is configured to obtain a target combined search box style from the target data format of the query, and generate the target combined search box according to the acquired target combined search box style.
  • the device for generating a combined search box further includes:
  • a setting module configured to set at least two preset data formats, where the preset data format includes a data format that defines a combined search box style and a combined search box type.
  • the device for generating a combined search box further includes:
  • a receiving module configured to receive a keyword by using the target combination search box
  • a storage module configured to store the keywords in an array
  • An obtaining module configured to obtain search data by calling a data interface
  • a display module configured to display the search data on a page generated according to the target page template.
  • the obtaining module is configured to set a valid data format of the keyword to the target combination search box, and determine whether the keyword in the preset array is a valid data format, if the preset array The keyword in the form is a valid data form, and the search data is obtained by calling the data interface.
  • the method and device for generating a combined search box provided by the invention can define the style and type of the search box combination by using a preset data format, can simplify the writing process of the search box code, unify the style of the search box, save development time, and improve the software development process. The efficiency of generating a search box.
  • FIG. 1 is a schematic flow chart of an embodiment of a method for generating a combined search box according to the present invention
  • FIG. 2 is a schematic diagram of code of configuration parameters written in step S10 of FIG. 1;
  • FIG. 3 is a schematic diagram of code binding the configuration parameter to a page template in step S20 of FIG. 1.
  • FIG. 4 is a schematic diagram of a code for obtaining a keyword received by a search box
  • FIG. 5 is a schematic diagram of a specific refinement process of generating a target combined search box according to the queried target data format in step S40 of FIG. 1;
  • FIG. 6 is a schematic flowchart of another embodiment of a method for generating a combined search box according to the present invention.
  • FIG. 7 is a schematic diagram showing a data format of a single search box combination set in at least two preset data formats, and a code diagram of a single search box combination in step S9 of FIG. 6;
  • FIG. 8 is a schematic diagram of a code format for setting a combination of a combined combination search drop-down box set in at least two preset data formats in step S9 of FIG. 6 and a combination of a combined combination search drop-down box;
  • FIG. 9 is a schematic diagram showing the data format of the search combo box set in at least two preset data formats and the code of the search combo box in step S9 of FIG. 6;
  • FIG. 10 is a code diagram of a data format and a fixed name drop-down box combination of setting a fixed name drop-down box set in at least two preset data formats in step S9 of FIG. 6;
  • FIG. 11 is a schematic diagram of a code format for setting a combination of a fixed name drop-down box of a fixed name drop-down box set in at least two preset data formats in step S9 of FIG. 6;
  • FIG. 12 is a schematic flowchart diagram of another embodiment of a method for generating a combined search box according to the present invention.
  • FIG. 13 is a schematic diagram of a specific refinement process of acquiring search data by calling a data interface in step S70 of FIG. 12;
  • FIG. 14 is a schematic diagram of functional modules of an apparatus for generating a combined search box according to an embodiment of the present invention.
  • 15 is a schematic diagram of functional modules of another embodiment of an apparatus for generating a combined search box according to the present invention.
  • FIG. 16 is a schematic diagram of functional modules of another embodiment of an apparatus for generating a combined search box according to the present invention.
  • FIG. 1 is a flowchart of a method for generating a combined search box according to an embodiment of the present invention. As shown in FIG. 1 , the method for generating a combined search box includes the following steps:
  • Step S10 Write configuration parameters according to a preset data format.
  • the preset data format includes a data format defining a combined search box type
  • the configuration parameter includes a target combined search box type
  • the preset data format may be a default data format of the system, or may be a user-defined format.
  • the combined search box type can be uniquely determined.
  • the combined search box can be named by using "input”, “single_name”, and the like. The type is uniquely identified.
  • FIG. 2 is a schematic diagram of the code of the configuration parameters written in step S10 of FIG.
  • the configuration parameters include the codes “value_type:"input”" and "value_type:”single_name”".
  • “input” in the code “value_type:”input” represents a unique identifier as "
  • “single_name” in “value_type:”single_name” represents the combined search box type uniquely identified as "single_name”.
  • parameters such as the label name of the combined search box type of "input” and the label name of the combined search box type of "single_name" are configured.
  • Step S20 Bind the configuration parameter to the page template to obtain a target page template.
  • the page template can be pre-set from the network download, and by using the page template, the writing of the repetitive page file can be reduced, saving a lot of time.
  • the page code including the combined search box can be quickly generated.
  • FIG. 3 is a schematic diagram of code binding the configuration parameter to the page template in step S20 of FIG.
  • a search box instruction is defined.
  • the instruction of the search box is defined as "ideasearchinput”, and the interface can be rendered by the “ideasearchinput” instruction.
  • the parameter "data” is defined in the "ideasearchinput” instruction for receiving the default parameters of the search box, wherein the configuration parameters of the search box include the combined search box type.
  • the page template bound by the search box is defined in FIG. 3.
  • the search box page template is set by the code "templateUrl:"js/directives/search_input/search_input.html".
  • a code that returns data input from the search box Specifically, the data input from the search box is returned by the instruction "s.submitData", and the data input from the search box is stored as an array.
  • Step S30 Query a target data format that matches the target combination search box type according to a correspondence between the combined search box type and the preset data format.
  • the combined search box type and the preset data format may have a one-to-one correspondence, and the user may define a one-to-one correspondence or a default one-to-one correspondence.
  • Each target combination search box type corresponds to a matching target data format.
  • At least two search boxes are included in each combined search box type.
  • Step S40 Generate a target combination search box according to the queried target data format.
  • the target combination search box may include multiple search boxes of the same search box type, and may also include multiple search boxes of different search box types, which are not limited herein. You can enter keywords in the generated target combination search box or select keywords from the drop-down box of the target combination search box. There is no restriction here.
  • FIG. 4 is a schematic diagram of the code of the keyword received by the search box. Specifically, in the code in FIG. 4, data such as keywords received in a combined search box whose combined search box type is "input" and "single_name" can be obtained.
  • FIG. 5 is a schematic diagram of a specific refinement process of generating a target combination search box according to the queried target data format in step S40 of FIG.
  • the step S40 according to the queried target data format, generates a target combination search box, which specifically includes:
  • Step S41 Obtain a target combination search box style from the target data format of the query
  • the queried target data format further includes a data format for defining a target combined search box style
  • the target combined search box style includes a search box size parameter, a color parameter, a transparency parameter, and the like, and the search combo box is composed. Style.
  • Step S42 Generate the target combination search box according to the acquired target combination search box style.
  • the target combination search box may be generated according to the data style of the target combination search box pattern including the search box size parameter, the color parameter, the transparency parameter, and the like, and the plurality of search boxes in the search combination box may be different searches.
  • Box style that is, multiple search boxes in the search combo box can have different sizes, different colors, different transparency, and the like.
  • FIG. 6 is a schematic flowchart diagram of another embodiment of a method for generating a combined search box according to the present invention.
  • the embodiment shown in Fig. 6 is an improved embodiment based on the embodiment shown in Fig. 1.
  • the improvement is that step S9 is added before step S10 shown in Fig. 1, wherein:
  • Step S9 Set at least two preset data formats, where the preset data format includes a data format that defines a combined search box style and a combined search box type.
  • the search box style includes a search box size, a search box color, a transparency, and the like
  • the combined search box type may be a custom string.
  • the preset data format may be a default format or a user-defined format.
  • FIG. 7 is a schematic diagram showing the data format of a single search box combination set in at least two preset data formats and the code of a single search box combination in step S9 of FIG. 6;
  • FIG. 8 is at least step S9 in FIG.
  • FIG. 9 is set in at least two preset data formats set in step S9 in FIG. Searching for the data format of the combo box and the code diagram of the search combo box;
  • FIG. 10 is a schematic diagram of the data format of the fixed name drop-down box combination and the fixed name drop-down box combination set in at least two preset data formats in step S9 of FIG.
  • FIG. 11 is a schematic diagram showing the code format of the fixed name drop-down box combination of the fixed name drop-down box set in at least two preset data formats in step S9 of FIG.
  • FIG. 7 to FIG. 11 respectively illustrate five preset data formats and corresponding generated search boxes.
  • FIG. 7 includes a single search box combination data format 71 and a single search box combination 72, and a single search box.
  • the combined data format includes an instruction "keyname” for identifying the tag name, an instruction “sty” for customizing the style, and "value_type” for identifying the combined search box type.
  • the type identifier of the single search box combination is identified. Is "input”.
  • a single search box combination 72 can be generated by a single search box combined data format 71, with a single search box combination 72 including two search boxes with label names Category 1 and Category 2.
  • FIG. 8 is a schematic diagram showing the code format of the joint combination search drop-down box combination and the joint combination search drop-down box combination set in at least two preset data formats in step S9 of FIG. 6.
  • FIG. 8 includes a data format 81 of a joint combination search drop-down box combination and a joint combination search drop-down box combination 82.
  • the data format of the joint combination search drop-down box combination includes an instruction “keyname” for identifying the first drop-down box name. ", the optional value "values" for the first drop-down box, the instruction "sty” for the custom style and the "value_type” for the combined search box type.
  • the joint combination search is pulled down.
  • the type of the box combination is identified as "select”.
  • the joint format search drop-down box combination 82 can be generated by the joint combination search drop-down box combined data format 81.
  • the joint combination search drop-down box combination includes two drop-down boxes with the label name department and copyright.
  • FIG. 9 is a schematic diagram showing the data format of the search combo box set in at least two preset data formats and the code of the search combo box in step S9 of FIG. 6.
  • the data format 91 of the search combo box and the data format 92 of the search combo box are included in FIG. 9.
  • the data format of the search combo box includes an instruction "keyname” for identifying the tag name, an instruction "sty” for identifying the style, and an identifier.
  • the "value_type" of the search box type is combined, and in FIG. 9, the type of the data format of the search combo box is identified as "single_select".
  • a search combo box 92 can be generated by the data format 91 of single_select, which includes a drop down box and a search box.
  • FIG. 10 is a schematic diagram showing the code format of the fixed name drop-down box combination of the fixed name drop-down box set in at least two preset data formats in step S9 of FIG.
  • FIG. 10 includes a data format 11 of a fixed name drop-down box combination and a data format 12 of a fixed name drop-down box combination.
  • the data format of the fixed name drop-down box combination includes an instruction “keyname” for identifying the label name, and a custom style.
  • a fixed name drop-down box combination can be generated by the data format 11 combined by the fixed name drop-down box.
  • fixed name drop-down box combination 12 includes two search boxes with the same tag name.
  • FIG. 11 is a schematic diagram showing the code format of the fixed name drop-down box combination of the fixed name drop-down box set in at least two preset data formats in step S9 of FIG.
  • FIG. 11 includes a data format 111 of a fixed name drop-down box combination and a data format 112 of a fixed name drop-down box combination.
  • the data format of the fixed name drop-down box combination includes an instruction “keyname” for identifying the label name, and a custom style.
  • a fixed name drop-down box combination 12, a fixed name drop-down box combination can be generated by the data format 111 combined by the fixed name drop-down box. 12 includes two time search boxes for creating date tag names, and the connection word "to" in the two time search boxes.
  • FIG. 12 is a schematic flowchart diagram of another embodiment of a method for generating a combined search box according to the present invention.
  • the embodiment shown in Fig. 12 is an improved embodiment based on the embodiment shown in Fig. 6.
  • the improvement is that steps S50-S80 are added after step S40 shown in Fig. 6, wherein:
  • Step S50 Receive a keyword by using the target combination search box.
  • the target combination search box may be a drop-down box or input a search box
  • the keyword received from the target combination search box may be a keyword input in the input search box or a keyword selected from the drop-down box.
  • Step S60 storing the keywords in an array.
  • At least two keywords may be received through the target combination search box, and at least two keywords are stored in the array, and the keyword and the search box may be determined.
  • Correspondence relationship which is convenient for subsequent search data according to keywords.
  • Step S70 Acquire search data by calling a data interface.
  • the data interface is a data interface corresponding to the type of the target combined search box.
  • the data interface is interfaced with the corresponding database, and the search data related to the keyword is searched from the database.
  • Step S80 Display the search data on a page generated according to the target page template.
  • the search data may include at least one piece of data on which the search data may be displayed on the page in the form of a thumbnail table.
  • FIG. 13 is a schematic diagram of a specific refinement process of acquiring search data by calling a data interface in step S70 of FIG. 12;
  • Step S71 Set a valid data form of the keyword to the target combination search box.
  • the valid data form may be in the form of a floating point number, an integer form, or a string.
  • Step S72 Determine whether the keyword in the preset array is a valid data format.
  • the data search of the keywords is not required, and the data search time is saved.
  • Step S73 If the keyword in the preset array is in a valid data format, the search data is obtained by calling a data interface.
  • the data interface is a data interface corresponding to the type of the target combined search box.
  • the acquired search data includes at least one piece of data.
  • the method for generating a combined search box provided by the above embodiment can define the style and type of the search box combination by using a preset data format, which can simplify the writing process of the search box code, unify the style of the search box, save development time, and improve the software development process. The efficiency of generating a search box.
  • FIG. 14 is a schematic diagram of functional modules of an apparatus for generating a combined search box according to an embodiment of the present invention.
  • the apparatus 100 for generating a combined search box includes a writing module 101, a binding module 102, a query module 103, and a generating module 104.
  • the writing module 101 is configured to write configuration parameters according to a preset data format, where the preset data format includes a data format defining a combined search box type, and the configuration parameter includes a target combined search box type.
  • the binding module 102 is configured to bind the configuration parameter to the page template to obtain a target page template.
  • the query module 103 is configured to query a target data format that matches the target combination search box type according to the correspondence between the combined search box type and the preset data format.
  • the generating module 104 is configured to generate a target combined search box according to the queried target data format.
  • the preset data format includes a data format defining a combined search box type
  • the configuration parameter includes a target combined search box type.
  • the preset data format can be the system default data format or a user-defined format.
  • a unique identifier is defined for different combinations of search box types.
  • the combined search box type can be uniquely determined according to the identifier.
  • the combined search box type can be uniquely named by "input”, "single_name", and the like. logo.
  • For the configuration parameters prepared by the writing module 101 according to the preset data format refer to FIG. 2 and the foregoing detailed description of FIG. 2 in the method for generating a combined search box. To avoid repetition, details are not described herein again.
  • the page template can be pre-set from the network, and by using the page template, the writing of the repetitive page file can be reduced, saving a lot of time.
  • the page code including the search box can be quickly generated.
  • the combined search box type and the preset data format may have a one-to-one correspondence, and the user may define a one-to-one correspondence or a default one-to-one correspondence.
  • Each target combination search box type corresponds to a matching target data format.
  • the target combination search box may include multiple search boxes of the same combined search box type, and may also include multiple search boxes of different combined search box types, which are not limited herein. You can enter keywords in the generated target combination search box or select keywords from the drop-down box of the target combination search box. There is no restriction here.
  • the queried target data format further includes a data format for defining a target combination search box style
  • the generating module 104 is specifically configured to obtain the target data format from the query.
  • the target combination search box style generates the target combined search box according to the acquired target combined search box style.
  • the queried target data format further includes a data format defining a target combined search box style
  • the target combined search box style includes a search box size parameter, a color parameter, a transparency parameter, and the like.
  • the target combination search box may be generated according to a data style of a search box size parameter, a color parameter, a transparency parameter, and the like included in the target combination search box style, and the plurality of search boxes in the search combination box may be different.
  • Search box styles that is, multiple search boxes in the search combo box can have different sizes, different colors, different transparency, and the like.
  • FIG. 15 is a schematic diagram of functional modules of an apparatus for generating a combined search box according to an embodiment of the present invention.
  • FIG. 15 includes a writing module 101, a binding module 102, a query module 103, a generating module 104, and a setting module 105.
  • the functions of the writing module 101, the binding module 102, the query module 103, and the generating module 104 are the same as those of the writing module 101, the binding module 102, the query module 103, and the generating module 104 shown in FIG. 14, respectively. To avoid repetition, we will not repeat them here.
  • the setting module 105 is configured to set at least two preset data formats, where the preset data format includes a data format that defines a combined search box style and a combined search box type.
  • the search box style includes a search box size, a search box color, a transparency, and the like
  • the combined search box type may be a custom string.
  • the preset data format may be a default format or a user-defined format.
  • For the preset data format refer to FIG. 7-11 and the foregoing method for generating a combined search box for detailed description of FIG. 7-11. To avoid repetition, details are not described herein again.
  • FIG. 16 is a schematic diagram of functional modules of an apparatus for generating a combined search box according to an embodiment of the present invention.
  • the apparatus 100 for generating a combined search box shown in FIG. 16 includes: a writing module 101, a binding module 102, a query module 103, and a generating module 104.
  • the functions of the writing module 101, the binding module 102, the query module 103, the generating module 104, and the setting module 105 are respectively the writing module 101, the binding module 102, the query module 103, and the generating module shown in FIG.
  • the function of the setting module 105 is the same as that of the setting module 105. To avoid repetition, details are not described herein again.
  • the receiving module 106 is configured to receive a keyword by using the target combination search box.
  • the storage module 107 is configured to store the keywords in an array.
  • the obtaining module 108 is configured to obtain search data by calling a data interface.
  • the display module 109 is configured to display the search data on a page generated according to the target page template.
  • the target combination search box may be a drop-down box or input a search box
  • the keyword received from the target combination search box may be a keyword input in the input search box or a keyword selected from the drop-down box.
  • the keyword returns search data.
  • the search data may include at least one piece of data on which the search data may be displayed on a page in the form of a thumbnail table.
  • the obtaining module 108 is configured to set a valid data format of the keyword to the target combination search box, and determine whether the keyword in the preset array is a valid data format.
  • the keywords in the preset array are in the form of valid data, and the search data is obtained by calling the data interface.
  • the valid data form may be in the form of a floating point number, an integer form, or a string. If the keywords in the preset array are not in the form of valid data, there is no need to perform data search on the keywords, which saves data search time.
  • the acquired search data includes at least one piece of data.
  • the device for generating a combined search box provided by the above embodiment can define the style and type of the search box combination by using a preset data format, which can simplify the writing process of the search box code, unify the search box style, save development time, and improve the software development process. The efficiency of generating a search box.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

Provided in the present invention is a method for generating a combinatorial search box, the method comprising: writing configuration parameters according to a preset data format, the preset data format comprising a data format defining the type of a combinatorial search box, and the configuration parameters comprising the type of a target combinatorial search box; binding the configuration parameters with a page template to obtain a target page template; querying a target data format matching the type of the target combinatorial search box according to a correspondence relationship between the type of a combinatorial search box and the preset data format; and generating the target combinatorial search box according to the queried target data format. Further disclosed by the present invention is an apparatus for generating a combinatorial search box. By means of the method and apparatus for generating a combinatorial search box as provided by the present invention, the process of writing search box codes may be simplified, the style of search boxes may be unified, and development time may be saved, thus improving the efficiency of generating search boxes during the process of software development.

Description

一种生成组合搜索框的方法及装置  Method and device for generating combined search box 技术领域Technical field
本发明涉及通信领域,尤其涉及一种生成组合搜索框的方法及装置。The present invention relates to the field of communications, and in particular, to a method and apparatus for generating a combined search box.
背景技术Background technique
目前的软件项目开发过程中,软件开发研究人员可能会按照数据原型,或者用户界面图进行简单开发。但是,在开发过程中,软件开发研究人员不会花费大量时间去思考如何精简代码,不能达到减少代码的重复性编写的目的。在软件开发过程中,开发人员需要编写大量的样式代码文件去设置输入框的样式。这样,导致在软件开发过程中,生成搜索框的效率比较低。In the current software project development process, software development researchers may perform simple development according to data prototypes or user interface diagrams. However, during the development process, software development researchers do not spend a lot of time thinking about how to streamline the code, and can not achieve the purpose of reducing the repetitive writing of the code. In the software development process, developers need to write a large number of style code files to set the style of the input box. In this way, the efficiency of generating a search box is relatively low during the software development process.
技术问题technical problem
本发明的主要目的在于解决现有在软件开发过程中生成搜索框的效率比较低的问题。The main object of the present invention is to solve the problem that the efficiency of generating a search box in the software development process is relatively low.
技术解决方案Technical solution
为实现上述目的,本发明提供一种生成组合搜索框的方法,所述生成组合搜索框的方法包括:To achieve the above object, the present invention provides a method for generating a combined search box, and the method for generating a combined search box includes:
按照预设数据格式编写配置参数,所述预设数据格式包括定义组合搜索框类型的数据格式,所述配置参数包括目标组合搜索框类型;Writing configuration parameters according to a preset data format, where the preset data format includes a data format defining a combined search box type, where the configuration parameters include a target combined search box type;
将所述配置参数与页面模板绑定,得到目标页面模板;Binding the configuration parameter to the page template to obtain a target page template.
根据组合搜索框类型与预设数据格式的对应关系,查询与所述目标组合搜索框类型匹配的目标数据格式;Querying a target data format that matches the target combination search box type according to a correspondence between the combined search box type and the preset data format;
根据所述查询到的目标数据格式生成目标组合搜索框。Generating a target combination search box according to the queried target data format.
优选地,所述查询到的目标数据格式还包括定义目标组合搜索框样式的数据格式;Preferably, the queried target data format further includes a data format defining a target combination search box style;
所述根据所述查询到的目标数据格式生成目标组合搜索框的步骤包括:The step of generating a target combined search box according to the queried target data format includes:
从所述查询到的目标数据格式中获取目标组合搜索框样式;Obtaining a target combination search box style from the target data format of the query;
根据所述获取到的目标组合搜索框样式生成所述目标组合搜索框。Generating the target combination search box according to the acquired target combination search box style.
优选地,所述按照预设数据格式编写配置参数的步骤之前还包括:Preferably, the step of writing the configuration parameter according to the preset data format further includes:
设置至少两个预设数据格式,所述预设数据格式包括:定义组合搜索框样式和组合搜索框类型的数据格式。At least two preset data formats are set, the preset data format including: a data format defining a combined search box style and a combined search box type.
优选地,所述根据所述目标数据格式生成目标组合搜索框的步骤之后还包括:Preferably, after the step of generating the target combined search box according to the target data format, the method further includes:
通过所述目标组合搜索框接收关键字;Receiving a keyword through the target combination search box;
将所述关键字存储在数组中;Storing the keywords in an array;
通过调用数据接口获取搜索数据;Obtaining search data by calling a data interface;
在根据所述目标页面模板生成的页面上显示所述搜索数据。The search data is displayed on a page generated according to the target page template.
优选地,所述通过调用数据接口获取搜索数据的步骤包括:Preferably, the step of obtaining search data by calling the data interface comprises:
对所述目标组合搜索框设置所述关键字的有效数据形式;Setting a valid data form of the keyword to the target combination search box;
判断所述预设数组中的关键字是否为有效数据形式;Determining whether the keyword in the preset array is a valid data form;
若所述预设数组中的关键字为有效数据形式,通过调用数据接口获取搜索数据。If the keyword in the preset array is in a valid data form, the search data is obtained by calling a data interface.
此外,为实现上述目的,本发明还提供一种生成组合搜索框的装置,所述装置包括:In addition, in order to achieve the above object, the present invention also provides an apparatus for generating a combined search box, the apparatus comprising:
编写模块,用于按照预设数据格式编写配置参数,所述预设数据格式包括定义组合搜索框类型的数据格式,所述配置参数包括目标组合搜索框类型;Writing a module, configured to write a configuration parameter according to a preset data format, where the preset data format includes a data format defining a combined search box type, where the configuration parameter includes a target combination search box type;
绑定模块,用于将所述配置参数与页面模板绑定,得到目标页面模板;a binding module, configured to bind the configuration parameter to a page template to obtain a target page template;
查询模块,用于根据组合搜索框类型与预设数据格式的对应关系,查询与所述目标组合搜索框类型匹配的目标数据格式;a query module, configured to query, according to a correspondence between the combined search box type and the preset data format, a target data format that matches the target combination search box type;
生成模块,用于根据所述查询到的目标数据格式生成目标组合搜索框。And a generating module, configured to generate a target combined search box according to the target data format that is queried.
优选地,所述查询到的目标数据格式还包括定义目标组合搜索框样式的数据格式;Preferably, the queried target data format further includes a data format defining a target combination search box style;
所述生成模块,具体用于从所述查询到的目标数据格式中获取目标组合搜索框样式,根据所述获取到的目标组合搜索框样式生成所述目标组合搜索框。The generating module is configured to obtain a target combined search box style from the target data format of the query, and generate the target combined search box according to the acquired target combined search box style.
优选地,生成组合搜索框的装置还包括:Preferably, the device for generating a combined search box further includes:
设置模块,用于设置至少两个预设数据格式,所述预设数据格式包括定义组合搜索框样式和组合搜索框类型的数据格式。And a setting module, configured to set at least two preset data formats, where the preset data format includes a data format that defines a combined search box style and a combined search box type.
优选地,生成组合搜索框的装置还包括:Preferably, the device for generating a combined search box further includes:
接收模块,用于通过所述目标组合搜索框接收关键字;a receiving module, configured to receive a keyword by using the target combination search box;
存储模块,用于将所述关键字存储在数组中;a storage module, configured to store the keywords in an array;
获取模块,用于通过调用数据接口获取搜索数据;An obtaining module, configured to obtain search data by calling a data interface;
显示模块,用于在根据所述目标页面模板生成的页面上显示所述搜索数据。a display module, configured to display the search data on a page generated according to the target page template.
优选地,所述获取模块,具体用于对所述目标组合搜索框设置所述关键字的有效数据形式,判断所述预设数组中的关键字是否为有效数据形式,若所述预设数组中的关键字为有效数据形式,通过调用数据接口获取搜索数据。Preferably, the obtaining module is configured to set a valid data format of the keyword to the target combination search box, and determine whether the keyword in the preset array is a valid data format, if the preset array The keyword in the form is a valid data form, and the search data is obtained by calling the data interface.
有益效果Beneficial effect
本发明提供的生成组合搜索框的方法及装置,通过预设数据格式定义搜索框组合的样式和类型,能简化搜索框代码的编写过程,统一搜索框的风格,节约开发时间,提高软件开发过程中生成搜索框的效率。The method and device for generating a combined search box provided by the invention can define the style and type of the search box combination by using a preset data format, can simplify the writing process of the search box code, unify the style of the search box, save development time, and improve the software development process. The efficiency of generating a search box.
附图说明DRAWINGS
图1为本发明的生成组合搜索框的方法一实施例的流程示意图;1 is a schematic flow chart of an embodiment of a method for generating a combined search box according to the present invention;
图2为图1中步骤S10中编写的配置参数的代码示意图;2 is a schematic diagram of code of configuration parameters written in step S10 of FIG. 1;
图3为图1中步骤S20中将所述配置参数与页面模板绑定的代码示意图。FIG. 3 is a schematic diagram of code binding the configuration parameter to a page template in step S20 of FIG. 1.
图4为获取搜索框接收的关键字的代码示意图;4 is a schematic diagram of a code for obtaining a keyword received by a search box;
图5为图1中的步骤S40根据所述查询到的目标数据格式生成目标组合搜索框的一具体细化流程示意图;FIG. 5 is a schematic diagram of a specific refinement process of generating a target combined search box according to the queried target data format in step S40 of FIG. 1;
图6为本发明的生成组合搜索框的方法另一实施例的流程示意图;6 is a schematic flowchart of another embodiment of a method for generating a combined search box according to the present invention;
图7为图6中步骤S9设置至少两个预设数据格式中设置的单个搜索框组合的数据格式、单个搜索框组合的代码示意图;7 is a schematic diagram showing a data format of a single search box combination set in at least two preset data formats, and a code diagram of a single search box combination in step S9 of FIG. 6;
图8为图6中步骤S9设置至少两个预设数据格式中设置的联级组合搜索下拉框组合的数据格式、联级组合搜索下拉框组合的代码示意图;8 is a schematic diagram of a code format for setting a combination of a combined combination search drop-down box set in at least two preset data formats in step S9 of FIG. 6 and a combination of a combined combination search drop-down box;
图9为图6中步骤S9设置至少两个预设数据格式中设置的搜索组合框的数据格式、搜索组合框的代码示意图;9 is a schematic diagram showing the data format of the search combo box set in at least two preset data formats and the code of the search combo box in step S9 of FIG. 6;
图10为图6中步骤S9设置至少两个预设数据格式中设置的固定名称下拉框组合的数据格式、固定名称下拉框组合的代码示意图;10 is a code diagram of a data format and a fixed name drop-down box combination of setting a fixed name drop-down box set in at least two preset data formats in step S9 of FIG. 6;
图11为图6中步骤S9设置至少两个预设数据格式中设置的固定名称下拉框组合的数据格式、固定名称下拉框组合的代码示意图;11 is a schematic diagram of a code format for setting a combination of a fixed name drop-down box of a fixed name drop-down box set in at least two preset data formats in step S9 of FIG. 6;
图12为本发明的生成组合搜索框的方法另一实施例的流程示意图;12 is a schematic flowchart diagram of another embodiment of a method for generating a combined search box according to the present invention;
图13为图12中的步骤S70通过调用数据接口获取搜索数据的一具体细化流程示意图;FIG. 13 is a schematic diagram of a specific refinement process of acquiring search data by calling a data interface in step S70 of FIG. 12;
图14为本发明的生成组合搜索框的装置一实施例的功能模块示意图;14 is a schematic diagram of functional modules of an apparatus for generating a combined search box according to an embodiment of the present invention;
图15为本发明的生成组合搜索框的装置另一实施例的功能模块示意图;15 is a schematic diagram of functional modules of another embodiment of an apparatus for generating a combined search box according to the present invention;
图16为本发明的生成组合搜索框的装置另一实施例的功能模块示意图。FIG. 16 is a schematic diagram of functional modules of another embodiment of an apparatus for generating a combined search box according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
本发明的实施方式Embodiments of the invention
应当理解,此处所描述的优选实施例仅用于说明和解释本发明,并不用于限定本发明。The preferred embodiments described herein are to be construed as illustrative only and not limiting.
参见图1,图1是本发明实施例提供的一种生成组合搜索框的方法的流程图,如图1所示,所述生成组合搜索框的方法包括以下步骤:Referring to FIG. 1 , FIG. 1 is a flowchart of a method for generating a combined search box according to an embodiment of the present invention. As shown in FIG. 1 , the method for generating a combined search box includes the following steps:
步骤S10、按照预设数据格式编写配置参数。Step S10: Write configuration parameters according to a preset data format.
在上述实施例中,所述预设数据格式包括定义组合搜索框类型的数据格式,所述配置参数包括目标组合搜索框类型。In the above embodiment, the preset data format includes a data format defining a combined search box type, and the configuration parameter includes a target combined search box type.
在上述实施例中,预设数据格式可以为系统默认的数据格式,也可以为用户自定义的格式。组合搜索框类型可以有多种,针对不同的组合搜索框类型定义唯一标识,根据所述唯一标识可以唯一确定组合搜索框类型,例如,可以用“input”、“single_name”等名称对组合搜索框类型进行唯一标识。In the foregoing embodiment, the preset data format may be a default data format of the system, or may be a user-defined format. There may be multiple types of combined search box types, and a unique identifier is defined for different combined search box types. According to the unique identifier, the combined search box type can be uniquely determined. For example, the combined search box can be named by using "input", "single_name", and the like. The type is uniquely identified.
请同时参阅图2,图2为图1中步骤S10中编写的配置参数的代码示意图。在图2中,配置参数中包括代码“value_type:"input"”和“value_type:"single_name"”,在上述实施例中,代码“value_type:"input"”中的“input”代表唯一标识为“input”的组合搜索框类型,“value_type:"single_name"”中的“single_name”代表唯一标识为“single_name”的组合搜索框类型。在图2配置参数中,对“input”的组合搜索框类型的标签名称和“single_name”的组合搜索框类型的标签名称等参数进行了配置。Please refer to FIG. 2 at the same time. FIG. 2 is a schematic diagram of the code of the configuration parameters written in step S10 of FIG. In FIG. 2, the configuration parameters include the codes "value_type:"input"" and "value_type:"single_name"". In the above embodiment, "input" in the code "value_type:"input" represents a unique identifier as " The combined search box type of "input", "single_name" in "value_type:"single_name"" represents the combined search box type uniquely identified as "single_name". In the configuration parameters of Figure 2, parameters such as the label name of the combined search box type of "input" and the label name of the combined search box type of "single_name" are configured.
步骤S20、将所述配置参数与页面模板绑定,得到目标页面模板。Step S20: Bind the configuration parameter to the page template to obtain a target page template.
在上述实施例中,页面模板可以从网络下载预先设置,通过使用页面模板,可以减少重复性页面文件的编写,节约大量时间。通过将所述配置参数与页面模板绑定,可快速生成包括组合搜索框的页面代码。In the above embodiment, the page template can be pre-set from the network download, and by using the page template, the writing of the repetitive page file can be reduced, saving a lot of time. By binding the configuration parameters to the page template, the page code including the combined search box can be quickly generated.
请同时参阅图3,图3为图1中步骤S20中将所述配置参数与页面模板绑定的代码示意图。在图3中定义了一个搜索框的指令,该搜索框的指令定义为“ideasearchinput”,通过“ideasearchinput”指令可以对界面进行渲染。具体来说,“ideasearchinput”指令中定义参数“data”用于接收搜索框的默认参数,其中,搜索框的配置参数包括组合搜索框类型。在图3中定义了搜索框绑定的页面模板,具体的,由代码“templateUrl:"js/directives/search_input/search_input.html"”设置搜索框页面模板。在图3中还包括返回从搜索框输入数据的代码,具体的,由指令“s.submitData”返回从搜索框输入的数据,并将从搜索框输入的数据以数组形式存储。Please refer to FIG. 3 at the same time. FIG. 3 is a schematic diagram of code binding the configuration parameter to the page template in step S20 of FIG. In Figure 3, a search box instruction is defined. The instruction of the search box is defined as "ideasearchinput", and the interface can be rendered by the "ideasearchinput" instruction. Specifically, the parameter "data" is defined in the "ideasearchinput" instruction for receiving the default parameters of the search box, wherein the configuration parameters of the search box include the combined search box type. The page template bound by the search box is defined in FIG. 3. Specifically, the search box page template is set by the code "templateUrl:"js/directives/search_input/search_input.html". Also included in FIG. 3 is a code that returns data input from the search box. Specifically, the data input from the search box is returned by the instruction "s.submitData", and the data input from the search box is stored as an array.
步骤S30,根据组合搜索框类型与预设数据格式的对应关系,查询与所述目标组合搜索框类型匹配的目标数据格式。Step S30: Query a target data format that matches the target combination search box type according to a correspondence between the combined search box type and the preset data format.
在上述实施例中,组合搜索框类型与预设数据格式可以为一一对应关系,可以由用户自定义一一对应关系,也可以为默认的一一对应关系。每一个目标组合搜索框类型对应一个匹配的目标数据格式。每一个组合搜索框类型中包括至少两个搜索框。In the above embodiment, the combined search box type and the preset data format may have a one-to-one correspondence, and the user may define a one-to-one correspondence or a default one-to-one correspondence. Each target combination search box type corresponds to a matching target data format. At least two search boxes are included in each combined search box type.
步骤S40、根据所述查询到的目标数据格式生成目标组合搜索框。Step S40: Generate a target combination search box according to the queried target data format.
在上述实施例中,目标组合搜索框可以包括同一搜索框类型的多个搜索框,也可以包括不同搜索框类型的多个搜索框,在此不做限制。在生成的目标组合搜索框中可以输入关键字或者从目标组合搜索框的下拉框中选择关键字,在此不做限制。In the above embodiment, the target combination search box may include multiple search boxes of the same search box type, and may also include multiple search boxes of different search box types, which are not limited herein. You can enter keywords in the generated target combination search box or select keywords from the drop-down box of the target combination search box. There is no restriction here.
请参阅图4,图4获取搜索框接收的关键字的代码示意图。具体来说,在图4中的代码,可以获取组合搜索框类型为“input”和“single_name”的组合搜索框中接收的关键字等数据。Please refer to FIG. 4, which is a schematic diagram of the code of the keyword received by the search box. Specifically, in the code in FIG. 4, data such as keywords received in a combined search box whose combined search box type is "input" and "single_name" can be obtained.
请参阅图5,图5为图1中的步骤S40根据所述查询到的目标数据格式生成目标组合搜索框的一具体细化流程示意图。其中,步骤S40根据所述查询到的目标数据格式生成目标组合搜索框具体包括:Please refer to FIG. 5. FIG. 5 is a schematic diagram of a specific refinement process of generating a target combination search box according to the queried target data format in step S40 of FIG. The step S40, according to the queried target data format, generates a target combination search box, which specifically includes:
步骤S41、从所述查询到的目标数据格式中获取目标组合搜索框样式;Step S41: Obtain a target combination search box style from the target data format of the query;
本实施例中,所述查询到的目标数据格式还包括定义目标组合搜索框样式的数据格式,目标组合搜索框样式包括搜索框尺寸参数、颜色参数、透明度参数等数据样式,组成的搜索组合框的样式。In this embodiment, the queried target data format further includes a data format for defining a target combined search box style, and the target combined search box style includes a search box size parameter, a color parameter, a transparency parameter, and the like, and the search combo box is composed. Style.
步骤S42、根据所述获取到的目标组合搜索框样式生成所述目标组合搜索框。Step S42: Generate the target combination search box according to the acquired target combination search box style.
在上述实施例中,可以根据目标组合搜索框样式中包括搜索框尺寸参数、颜色参数、透明度参数等数据样式生成目标组合搜索框,所述搜索组合框中的多个搜索框可以为不同的搜索框样式,即搜索组合框中的多个搜索框可以具有不同的尺寸、不同颜色、不同透明度等样式。In the above embodiment, the target combination search box may be generated according to the data style of the target combination search box pattern including the search box size parameter, the color parameter, the transparency parameter, and the like, and the plurality of search boxes in the search combination box may be different searches. Box style, that is, multiple search boxes in the search combo box can have different sizes, different colors, different transparency, and the like.
请参阅图6,图6为本发明的生成组合搜索框的方法另一实施例的流程示意图。图6所示实施例是基于图1所示实施例进行改进后的实施例,改进之处在于,在图1所示的步骤S10之前增加了步骤S9,其中:Please refer to FIG. 6. FIG. 6 is a schematic flowchart diagram of another embodiment of a method for generating a combined search box according to the present invention. The embodiment shown in Fig. 6 is an improved embodiment based on the embodiment shown in Fig. 1. The improvement is that step S9 is added before step S10 shown in Fig. 1, wherein:
步骤S9、设置至少两个预设数据格式,所述预设数据格式包括定义组合搜索框样式和组合搜索框类型的数据格式。Step S9: Set at least two preset data formats, where the preset data format includes a data format that defines a combined search box style and a combined search box type.
在上述实施例中,搜索框样式包括搜索框尺寸、搜索框颜色、透明度等样式,组合搜索框类型可以为自定的字符串。所述预设数据格式可以为默认格式,也可以为用户自定义格式。In the above embodiment, the search box style includes a search box size, a search box color, a transparency, and the like, and the combined search box type may be a custom string. The preset data format may be a default format or a user-defined format.
请参阅图7,图7为图6中步骤S9设置至少两个预设数据格式中设置的单个搜索框组合的数据格式、单个搜索框组合的代码示意图;图8为图6中步骤S9设置至少两个预设数据格式中设置的联级组合搜索下拉框组合的数据格式、联级组合搜索下拉框组合的代码示意图;图9为图6中步骤S9设置至少两个预设数据格式中设置的搜索组合框的数据格式、搜索组合框的代码示意图;图10为图6中步骤S9设置至少两个预设数据格式中设置的固定名称下拉框组合的数据格式、固定名称下拉框组合的代码示意图;图11为图6中步骤S9设置至少两个预设数据格式中设置的固定名称下拉框组合的数据格式、固定名称下拉框组合的代码示意图。Please refer to FIG. 7. FIG. 7 is a schematic diagram showing the data format of a single search box combination set in at least two preset data formats and the code of a single search box combination in step S9 of FIG. 6; FIG. 8 is at least step S9 in FIG. The data format of the combined combination search drop-down box set in the two preset data formats, and the code diagram of the combined combination search drop-down box combination; FIG. 9 is set in at least two preset data formats set in step S9 in FIG. Searching for the data format of the combo box and the code diagram of the search combo box; FIG. 10 is a schematic diagram of the data format of the fixed name drop-down box combination and the fixed name drop-down box combination set in at least two preset data formats in step S9 of FIG. FIG. 11 is a schematic diagram showing the code format of the fixed name drop-down box combination of the fixed name drop-down box set in at least two preset data formats in step S9 of FIG.
具体来说,图7-图11分别对五种预设数据格式及对应生成的搜索框进行了举例说明,图7中包括单个搜索框组合的数据格式71及单个搜索框组合72,单个搜索框组合的数据格式中包括用于标识标签名的指令“keyname”、用于定制样式的指令“sty”及标识组合搜索框类型的“value_type”,在图7中,将单个搜索框组合的类型标识为“input”。通过单个搜索框组合的数据格式71可以生成单个搜索框组合72,单个搜索框组合72中包括标签名为类别1和类别2的两个搜索框。Specifically, FIG. 7 to FIG. 11 respectively illustrate five preset data formats and corresponding generated search boxes. FIG. 7 includes a single search box combination data format 71 and a single search box combination 72, and a single search box. The combined data format includes an instruction "keyname" for identifying the tag name, an instruction "sty" for customizing the style, and "value_type" for identifying the combined search box type. In FIG. 7, the type identifier of the single search box combination is identified. Is "input". A single search box combination 72 can be generated by a single search box combined data format 71, with a single search box combination 72 including two search boxes with label names Category 1 and Category 2.
图8为图6中步骤S9设置至少两个预设数据格式中设置的联级组合搜索下拉框组合的数据格式、联级组合搜索下拉框组合的代码示意图。图8中包括联级组合搜索下拉框组合的数据格式81及联级组合搜索下拉框组合82,联级组合搜索下拉框组合的数据格式中包括用于标识第一个下拉框名称的指令“keyname”、用于第一个下拉框的可选项的赋值指令“values”,用于定制样式的指令“sty”及标识组合搜索框类型的“value_type”,在图8中,将联级组合搜索下拉框组合的类型标识为“select”。通过联级组合搜索下拉框组合的数据格式81可以生成联级组合搜索下拉框组合82,联级组合搜索下拉框组合中包括标签名为部门和版权的两个下拉框。FIG. 8 is a schematic diagram showing the code format of the joint combination search drop-down box combination and the joint combination search drop-down box combination set in at least two preset data formats in step S9 of FIG. 6. FIG. 8 includes a data format 81 of a joint combination search drop-down box combination and a joint combination search drop-down box combination 82. The data format of the joint combination search drop-down box combination includes an instruction “keyname” for identifying the first drop-down box name. ", the optional value "values" for the first drop-down box, the instruction "sty" for the custom style and the "value_type" for the combined search box type. In Figure 8, the joint combination search is pulled down. The type of the box combination is identified as "select". The joint format search drop-down box combination 82 can be generated by the joint combination search drop-down box combined data format 81. The joint combination search drop-down box combination includes two drop-down boxes with the label name department and copyright.
图9为图6中步骤S9设置至少两个预设数据格式中设置的搜索组合框的数据格式、搜索组合框的代码示意图。图9中包括搜索组合框的数据格式91及搜索组合框的数据格式92,搜索组合框的数据格式中包括用于标识标签名的指令“keyname”、用于定制样式的指令“sty”及标识组合搜索框类型的“value_type”,在图9中,将搜索组合框的数据格式的类型标识为“single_select”。通过single_select的数据格式91可以生成搜索组合框92,搜索组合框92中包括一个下拉框和一个搜索框。FIG. 9 is a schematic diagram showing the data format of the search combo box set in at least two preset data formats and the code of the search combo box in step S9 of FIG. 6. The data format 91 of the search combo box and the data format 92 of the search combo box are included in FIG. 9. The data format of the search combo box includes an instruction "keyname" for identifying the tag name, an instruction "sty" for identifying the style, and an identifier. The "value_type" of the search box type is combined, and in FIG. 9, the type of the data format of the search combo box is identified as "single_select". A search combo box 92 can be generated by the data format 91 of single_select, which includes a drop down box and a search box.
图10为图6中步骤S9设置至少两个预设数据格式中设置的固定名称下拉框组合的数据格式、固定名称下拉框组合的代码示意图。图10中包括固定名称下拉框组合的数据格式11及固定名称下拉框组合的数据格式12,固定名称下拉框组合的数据格式中包括用于标识标签名的指令“keyname”、用于定制样式的指令“sty”及标识组合搜索框类型的“value_type”,在图10中,将固定名称下拉框组合的数据格式的类型标识为“single_name”。通过固定名称下拉框组合的数据格式11可以生成固定名称下拉框组合 12,固定名称下拉框组合 12中包括标签名相同的两个搜索框。FIG. 10 is a schematic diagram showing the code format of the fixed name drop-down box combination of the fixed name drop-down box set in at least two preset data formats in step S9 of FIG. FIG. 10 includes a data format 11 of a fixed name drop-down box combination and a data format 12 of a fixed name drop-down box combination. The data format of the fixed name drop-down box combination includes an instruction “keyname” for identifying the label name, and a custom style. The instruction "sty" and the "value_type" identifying the combination search box type, in FIG. 10, the type of the data format of the fixed name drop-down box combination is identified as "single_name". A fixed name drop-down box combination can be generated by the data format 11 combined by the fixed name drop-down box. 12, fixed name drop-down box combination 12 includes two search boxes with the same tag name.
图11为图6中步骤S9设置至少两个预设数据格式中设置的固定名称下拉框组合的数据格式、固定名称下拉框组合的代码示意图。图11中包括固定名称下拉框组合的数据格式111及固定名称下拉框组合的数据格式112,固定名称下拉框组合的数据格式中包括用于标识标签名的指令“keyname”、用于定制样式的指令“sty”及标识组合搜索框类型的“value_type”,在图11中,将固定名称下拉框组合的数据格式的类型标识为“two_date_input”。通过固定名称下拉框组合的数据格式111可以生成固定名称下拉框组合12,固定名称下拉框组合 12中包括创建日期标签名的两个时间搜索框,在两个时间搜索框中有连接词“至”。FIG. 11 is a schematic diagram showing the code format of the fixed name drop-down box combination of the fixed name drop-down box set in at least two preset data formats in step S9 of FIG. FIG. 11 includes a data format 111 of a fixed name drop-down box combination and a data format 112 of a fixed name drop-down box combination. The data format of the fixed name drop-down box combination includes an instruction “keyname” for identifying the label name, and a custom style. The instruction "sty" and the "value_type" identifying the combined search box type, in FIG. 11, the type of the data format combined with the fixed name drop-down box is identified as "two_date_input". A fixed name drop-down box combination 12, a fixed name drop-down box combination can be generated by the data format 111 combined by the fixed name drop-down box. 12 includes two time search boxes for creating date tag names, and the connection word "to" in the two time search boxes.
补充说明的是,上述实施例仅举例说明了几种预设数据格式,但不作为对本发明的限制,还可以设置其他数据格式对搜索框的样式和类型进行定义。It should be noted that the foregoing embodiment only exemplifies several preset data formats, but is not limited to the present invention, and other data formats may be set to define the style and type of the search box.
请参阅图12,图12为本发明的生成组合搜索框的方法另一实施例的流程示意图。图12所示实施例是基于图6所示实施例进行改进后的实施例,改进之处在于,在图6所示的步骤S40之后增加了步骤S50-S80,其中:Referring to FIG. 12, FIG. 12 is a schematic flowchart diagram of another embodiment of a method for generating a combined search box according to the present invention. The embodiment shown in Fig. 12 is an improved embodiment based on the embodiment shown in Fig. 6. The improvement is that steps S50-S80 are added after step S40 shown in Fig. 6, wherein:
步骤S50、通过所述目标组合搜索框接收关键字。Step S50: Receive a keyword by using the target combination search box.
在上述实施例中,目标组合搜索框可以为下拉框或者输入搜索框,从目标组合搜索框接收的关键字可以为输入搜索框中输入的关键字,也可以为从下拉框中选取的关键字。In the above embodiment, the target combination search box may be a drop-down box or input a search box, and the keyword received from the target combination search box may be a keyword input in the input search box or a keyword selected from the drop-down box. .
步骤S60、将所述关键字存储在数组中。Step S60, storing the keywords in an array.
在上述实施例中,由于页面上至少有两个目标组合搜索框,可以通过目标组合搜索框接收至少两个关键字,将至少两个关键字存储在数组中,可以确定关键字与搜索框的对应关系,便于后续根据关键字返回搜索数据。In the above embodiment, since there are at least two target combination search boxes on the page, at least two keywords may be received through the target combination search box, and at least two keywords are stored in the array, and the keyword and the search box may be determined. Correspondence relationship, which is convenient for subsequent search data according to keywords.
步骤S70、通过调用数据接口获取搜索数据。Step S70: Acquire search data by calling a data interface.
上述实施例中,所述数据接口为与所述目标组合搜索框的类型相对应的数据接口。通过数据接口与对应的数据库进行对接,从数据库中搜索出与关键字相关的搜索数据。In the above embodiment, the data interface is a data interface corresponding to the type of the target combined search box. The data interface is interfaced with the corresponding database, and the search data related to the keyword is searched from the database.
步骤S80、在根据所述目标页面模板生成的页面上显示所述搜索数据。Step S80: Display the search data on a page generated according to the target page template.
在上述实施例中,搜索数据可以包括至少一条数据,在页面上可以按照缩略表的形式在页面上显示所述搜索数据。In the above embodiment, the search data may include at least one piece of data on which the search data may be displayed on the page in the form of a thumbnail table.
图13为图12中的步骤S70通过调用数据接口获取搜索数据的一具体细化流程示意图;FIG. 13 is a schematic diagram of a specific refinement process of acquiring search data by calling a data interface in step S70 of FIG. 12;
步骤S71、对所述目标组合搜索框设置所述关键字的有效数据形式。Step S71: Set a valid data form of the keyword to the target combination search box.
在上述实施例中,有效数据形式可以是浮点数形式、整数形式、字符串形式。In the above embodiment, the valid data form may be in the form of a floating point number, an integer form, or a string.
步骤S72、判断所述预设数组中的关键字是否为有效数据形式。Step S72: Determine whether the keyword in the preset array is a valid data format.
在上述实施例中,若预设数组中的关键字不为有效数据形式,则不需要对关键字进行数据搜索,节约数据搜索时间。In the above embodiment, if the keywords in the preset array are not in the form of valid data, the data search of the keywords is not required, and the data search time is saved.
步骤S73、若所述预设数组中的关键字为有效数据形式,通过调用数据接口获取搜索数据。Step S73: If the keyword in the preset array is in a valid data format, the search data is obtained by calling a data interface.
在上述实施例中,所述数据接口为与所述目标组合搜索框的类型对应的数据接口。所述获取的搜索数据包括至少一条数据。In the above embodiment, the data interface is a data interface corresponding to the type of the target combined search box. The acquired search data includes at least one piece of data.
以上实施例提供的生成组合搜索框的方法,通过预设数据格式定义搜索框组合的样式和类型,能简化搜索框代码的编写过程,统一搜索框的风格,节约开发时间,提高软件开发过程中生成搜索框的效率。The method for generating a combined search box provided by the above embodiment can define the style and type of the search box combination by using a preset data format, which can simplify the writing process of the search box code, unify the style of the search box, save development time, and improve the software development process. The efficiency of generating a search box.
本发明进一步提供一种生成组合搜索框的装置。图14为本发明的生成组合搜索框的装置一实施例的功能模块示意图。在该实施例中,生成组合搜索框的装置100包括:编写模块101、绑定模块102、查询模块103及生成模块104。其中,编写模块101,用于按照预设数据格式编写配置参数,所述预设数据格式包括定义组合搜索框类型的数据格式,所述配置参数包括目标组合搜索框类型。绑定模块102,用于将所述配置参数与页面模板绑定,得到目标页面模板。查询模块103,用于根据组合搜索框类型与预设数据格式的对应关系,查询与所述目标组合搜索框类型匹配的目标数据格式。生成模块104,用于根据所述查询到的目标数据格式生成目标组合搜索框。The invention further provides an apparatus for generating a combined search box. FIG. 14 is a schematic diagram of functional modules of an apparatus for generating a combined search box according to an embodiment of the present invention. In this embodiment, the apparatus 100 for generating a combined search box includes a writing module 101, a binding module 102, a query module 103, and a generating module 104. The writing module 101 is configured to write configuration parameters according to a preset data format, where the preset data format includes a data format defining a combined search box type, and the configuration parameter includes a target combined search box type. The binding module 102 is configured to bind the configuration parameter to the page template to obtain a target page template. The query module 103 is configured to query a target data format that matches the target combination search box type according to the correspondence between the combined search box type and the preset data format. The generating module 104 is configured to generate a target combined search box according to the queried target data format.
在上述实施例中,所述预设数据格式包括定义组合搜索框类型的数据格式,所述配置参数包括目标组合搜索框类型。预设数据格式可以为系统默认的数据格式,也可以用户自定义的格式。组合搜索框类型可以有多种,针对不同的组合搜索框类型定义唯一标识,根据标识可以唯一确定组合搜索框类型,例如,可以用“input”、“single_name”等名称对组合搜索框类型进行唯一标识。编写模块101按照预设数据格式编写的配置参数可以参见附图2及前述生成组合搜索框的方法中对图2的详细说明,为避免重复,在此不再赘述。In the above embodiment, the preset data format includes a data format defining a combined search box type, and the configuration parameter includes a target combined search box type. The preset data format can be the system default data format or a user-defined format. There are multiple types of combined search box types. A unique identifier is defined for different combinations of search box types. The combined search box type can be uniquely determined according to the identifier. For example, the combined search box type can be uniquely named by "input", "single_name", and the like. Logo. For the configuration parameters prepared by the writing module 101 according to the preset data format, refer to FIG. 2 and the foregoing detailed description of FIG. 2 in the method for generating a combined search box. To avoid repetition, details are not described herein again.
补充说明的,在上述实施例中,页面模板可以从网络下载预先设置的,通过使用页面模板,可以减少重复性页面文件的编写,节约大量时间。通过将所述配置参数与页面模板绑定,可快速生成包括搜索框的页面代码。In addition, in the foregoing embodiment, the page template can be pre-set from the network, and by using the page template, the writing of the repetitive page file can be reduced, saving a lot of time. By binding the configuration parameters to the page template, the page code including the search box can be quickly generated.
绑定模块102将所述配置参数与页面模板进行绑定的代码可以参阅参见附图3及前述生成组合搜索框的方法中对图3的详细说明,为避免重复,在此不再赘述。For the code of the binding module 102 to bind the configuration parameter to the page template, refer to FIG. 3 and the foregoing method for generating a combined search box, and the detailed description of FIG. 3 is omitted.
在上述实施例中,组合搜索框类型与预设数据格式可以为一一对应关系,可以由用户自定义一一对应关系,也可以为默认的一一对应关系。每一个目标组合搜索框类型对应一个匹配的目标数据格式。In the above embodiment, the combined search box type and the preset data format may have a one-to-one correspondence, and the user may define a one-to-one correspondence or a default one-to-one correspondence. Each target combination search box type corresponds to a matching target data format.
在上述实施例中,目标组合搜索框可以包括同一组合搜索框类型的多个搜索框,也可以包括不同组合搜索框类型的多个搜索框,在此不做限制。在生成的目标组合搜索框中可以输入关键字或者从目标组合搜索框的下拉框中选择关键字,在此不做限制。In the above embodiment, the target combination search box may include multiple search boxes of the same combined search box type, and may also include multiple search boxes of different combined search box types, which are not limited herein. You can enter keywords in the generated target combination search box or select keywords from the drop-down box of the target combination search box. There is no restriction here.
补充说明的是,上述实施例中,所述查询到的目标数据格式还包括定义目标组合搜索框样式的数据格式,所述生成模块104,具体用于从所述查询到的目标数据格式中获取目标组合搜索框样式,根据所述获取到的目标组合搜索框样式生成所述目标组合搜索框。It is to be noted that, in the foregoing embodiment, the queried target data format further includes a data format for defining a target combination search box style, and the generating module 104 is specifically configured to obtain the target data format from the query. The target combination search box style generates the target combined search box according to the acquired target combined search box style.
在上述实施例中,所述查询到的目标数据格式还包括定义目标组合搜索框样式的数据格式,目标组合搜索框样式包括搜索框尺寸参数、颜色参数、透明度参数等数据样式。In the above embodiment, the queried target data format further includes a data format defining a target combined search box style, and the target combined search box style includes a search box size parameter, a color parameter, a transparency parameter, and the like.
在上述实施例中,可以根据目标组合搜索框样式中包括的搜索框尺寸参数、颜色参数、透明度参数等数据样式生成目标组合搜索框,所述搜索组合框中的多个搜索框可以为不同的搜索框样式,即搜索组合框中的多个搜索框可以具有不同的尺寸、不同颜色、不同透明度等样式。In the above embodiment, the target combination search box may be generated according to a data style of a search box size parameter, a color parameter, a transparency parameter, and the like included in the target combination search box style, and the plurality of search boxes in the search combination box may be different. Search box styles, that is, multiple search boxes in the search combo box can have different sizes, different colors, different transparency, and the like.
请参阅图15,图15为本发明的生成组合搜索框的装置一实施例的功能模块示意图。图15包括编写模块101、绑定模块102、查询模块103、生成模块104及设置模块105。Referring to FIG. 15, FIG. 15 is a schematic diagram of functional modules of an apparatus for generating a combined search box according to an embodiment of the present invention. FIG. 15 includes a writing module 101, a binding module 102, a query module 103, a generating module 104, and a setting module 105.
在上述实施例中,编写模块101、绑定模块102、查询模块103、生成模块104的功能分别与图14所示的编写模块101、绑定模块102、查询模块103、生成模块104的功能相同,为避免重复,在此不再赘述。In the above embodiment, the functions of the writing module 101, the binding module 102, the query module 103, and the generating module 104 are the same as those of the writing module 101, the binding module 102, the query module 103, and the generating module 104 shown in FIG. 14, respectively. To avoid repetition, we will not repeat them here.
所述设置模块105,用于设置至少两个预设数据格式,所述预设数据格式包括定义组合搜索框样式和组合搜索框类型的数据格式。The setting module 105 is configured to set at least two preset data formats, where the preset data format includes a data format that defines a combined search box style and a combined search box type.
在上述实施例中,搜索框样式包括搜索框尺寸、搜索框颜色、透明度等样式,组合搜索框类型可以为自定的字符串。所述预设数据格式可以为默认格式,也可以为用户自定义格式。预设数据格式可以参考附图7-11及前述的生成组合搜索框的方法中对附图7-11的详细说明,为避免重复,在此不再赘述。In the above embodiment, the search box style includes a search box size, a search box color, a transparency, and the like, and the combined search box type may be a custom string. The preset data format may be a default format or a user-defined format. For the preset data format, refer to FIG. 7-11 and the foregoing method for generating a combined search box for detailed description of FIG. 7-11. To avoid repetition, details are not described herein again.
请参阅图16,图16为本发明的生成组合搜索框的装置一实施例的功能模块示意图。图16所示生成组合搜索框的装置100包括:编写模块101、绑定模块102、查询模块103、生成模块104 、设置模块105、接收模块106、存储模块107、获取模块108及显示模块109。在上述实施例中,编写模块101、绑定模块102、查询模块103、生成模块104及设置模块105的功能分别与图15所示的编写模块101、绑定模块102、查询模块103、生成模块104及设置模块105的功能相同,为避免重复,在此不再赘述。Please refer to FIG. 16. FIG. 16 is a schematic diagram of functional modules of an apparatus for generating a combined search box according to an embodiment of the present invention. The apparatus 100 for generating a combined search box shown in FIG. 16 includes: a writing module 101, a binding module 102, a query module 103, and a generating module 104. The setting module 105, the receiving module 106, the storage module 107, the obtaining module 108, and the display module 109. In the above embodiment, the functions of the writing module 101, the binding module 102, the query module 103, the generating module 104, and the setting module 105 are respectively the writing module 101, the binding module 102, the query module 103, and the generating module shown in FIG. The function of the setting module 105 is the same as that of the setting module 105. To avoid repetition, details are not described herein again.
所述接收模块106,用于通过所述目标组合搜索框接收关键字。存储模块107,用于将所述关键字存储在数组中。获取模块108,用于通过调用数据接口获取搜索数据。显示模块109,用于在根据所述目标页面模板生成的页面上显示所述搜索数据。The receiving module 106 is configured to receive a keyword by using the target combination search box. The storage module 107 is configured to store the keywords in an array. The obtaining module 108 is configured to obtain search data by calling a data interface. The display module 109 is configured to display the search data on a page generated according to the target page template.
在上述实施例中,目标组合搜索框可以为下拉框或者输入搜索框,从目标组合搜索框接收的关键字可以为输入搜索框中输入的关键字,也可以为从下拉框中选取的关键字。由于页面上至少有两个目标组合搜索框,可以通过目标组合搜索框接收至少两个关键字,将至少两个关键字存储在数组中,可以确定关键字与搜索框的对应关系,便于后续根据关键字返回搜索数据。所述搜索数据可以包括至少一条数据,在页面上可以按照缩略表的形式在页面上显示所述搜索数据。In the above embodiment, the target combination search box may be a drop-down box or input a search box, and the keyword received from the target combination search box may be a keyword input in the input search box or a keyword selected from the drop-down box. . Since there are at least two target combination search boxes on the page, at least two keywords can be received through the target combination search box, and at least two keywords are stored in the array, so that the correspondence between the keywords and the search box can be determined, which is convenient for subsequent basis. The keyword returns search data. The search data may include at least one piece of data on which the search data may be displayed on a page in the form of a thumbnail table.
在上述实施例中,所述获取模块108,具体用于对所述目标组合搜索框设置所述关键字的有效数据形式,判断所述预设数组中的关键字是否为有效数据形式,若所述预设数组中的关键字为有效数据形式,通过调用数据接口获取搜索数据。In the above embodiment, the obtaining module 108 is configured to set a valid data format of the keyword to the target combination search box, and determine whether the keyword in the preset array is a valid data format. The keywords in the preset array are in the form of valid data, and the search data is obtained by calling the data interface.
在上述实施例中,有效数据形式可以是浮点数形式、整数形式、字符串形式。若预设数组中的关键字不为有效数据形式,则不需要对关键字进行数据搜索,节约数据搜索时间。所述获取的搜索数据包括至少一条数据。In the above embodiment, the valid data form may be in the form of a floating point number, an integer form, or a string. If the keywords in the preset array are not in the form of valid data, there is no need to perform data search on the keywords, which saves data search time. The acquired search data includes at least one piece of data.
以上实施例提供的生成组合搜索框的装置,通过预设数据格式定义搜索框组合的样式和类型,能简化搜索框代码的编写过程,统一搜索框的风格,节约开发时间,提高软件开发过程中生成搜索框的效率。The device for generating a combined search box provided by the above embodiment can define the style and type of the search box combination by using a preset data format, which can simplify the writing process of the search box code, unify the search box style, save development time, and improve the software development process. The efficiency of generating a search box.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (10)

  1. 一种生成组合搜索框的方法,其特征在于,包括: A method for generating a combined search box, comprising:
    按照预设数据格式编写配置参数,所述预设数据格式包括定义组合搜索框类型的数据格式,所述配置参数包括目标组合搜索框类型;Writing configuration parameters according to a preset data format, where the preset data format includes a data format defining a combined search box type, where the configuration parameters include a target combined search box type;
    将所述配置参数与页面模板绑定,得到目标页面模板;Binding the configuration parameter to the page template to obtain a target page template.
    根据组合搜索框类型与预设数据格式的对应关系,查询与所述目标组合搜索框类型匹配的目标数据格式;Querying a target data format that matches the target combination search box type according to a correspondence between the combined search box type and the preset data format;
    根据所述查询到的目标数据格式生成目标组合搜索框。Generating a target combination search box according to the queried target data format.
  2. 如权利要求1所述的生成组合搜索框的方法,其特征在于,所述查询到的目标数据格式还包括定义目标组合搜索框样式的数据格式;The method for generating a combined search box according to claim 1, wherein the queried target data format further comprises a data format defining a target combined search box style;
    所述根据所述查询到的目标数据格式生成目标组合搜索框的步骤包括:The step of generating a target combined search box according to the queried target data format includes:
    从所述查询到的目标数据格式中获取目标组合搜索框样式;Obtaining a target combination search box style from the target data format of the query;
    根据所述获取到的目标组合搜索框样式生成所述目标组合搜索框。 Generating the target combination search box according to the acquired target combination search box style.
  3. 如权利要求1所述的生成组合搜索框的方法,其特征在于,所述按照预设数据格式编写配置参数的步骤之前还包括:The method for generating a combined search box according to claim 1, wherein the step of writing the configuration parameter according to the preset data format further comprises:
    设置至少两个预设数据格式,所述预设数据格式包括:定义组合搜索框样式和组合搜索框类型的数据格式。At least two preset data formats are set, the preset data format including: a data format defining a combined search box style and a combined search box type.
  4. 如权利要求3所述的生成组合搜索框的方法,其特征在于,所述根据所述目标数据格式生成目标组合搜索框的步骤之后还包括:The method for generating a combined search box according to claim 3, wherein the step of generating a target combined search box according to the target data format further comprises:
    通过所述目标组合搜索框接收关键字;Receiving a keyword through the target combination search box;
    将所述关键字存储在数组中;Storing the keywords in an array;
    通过调用数据接口获取搜索数据;Obtaining search data by calling a data interface;
    在根据所述目标页面模板生成的页面上显示所述搜索数据。The search data is displayed on a page generated according to the target page template.
  5. 如权利要求4所述的生成组合搜索框的方法,其特征在于,所述通过调用数据接口获取搜索数据的步骤包括:The method for generating a combined search box according to claim 4, wherein the step of acquiring search data by calling a data interface comprises:
    对所述目标组合搜索框设置所述关键字的有效数据形式;Setting a valid data form of the keyword to the target combination search box;
    判断所述预设数组中的关键字是否为有效数据形式;Determining whether the keyword in the preset array is a valid data form;
    若所述预设数组中的关键字为有效数据形式,通过调用数据接口获取搜索数据。If the keyword in the preset array is in a valid data form, the search data is obtained by calling a data interface.
  6. 一种生成组合搜索框的装置,其特征在于,包括:An apparatus for generating a combined search box, comprising:
    编写模块,用于按照预设数据格式编写配置参数,所述预设数据格式包括定义组合搜索框类型的数据格式,所述配置参数包括目标组合搜索框类型;Writing a module, configured to write a configuration parameter according to a preset data format, where the preset data format includes a data format defining a combined search box type, where the configuration parameter includes a target combination search box type;
    绑定模块,用于将所述配置参数与页面模板绑定,得到目标页面模板;a binding module, configured to bind the configuration parameter to a page template to obtain a target page template;
    查询模块,用于根据组合搜索框类型与预设数据格式的对应关系,查询与所述目标组合搜索框类型匹配的目标数据格式;a query module, configured to query, according to a correspondence between the combined search box type and the preset data format, a target data format that matches the target combination search box type;
    生成模块,用于根据所述查询到的目标数据格式生成目标组合搜索框。And a generating module, configured to generate a target combined search box according to the target data format that is queried.
  7. 如权利要求6所述的生成组合搜索框的装置,其特征在于,The apparatus for generating a combined search box according to claim 6, wherein:
    所述查询到的目标数据格式还包括定义目标组合搜索框样式的数据格式; The queried target data format further includes a data format defining a target combination search box style;
    所述生成模块,具体用于从所述查询到的目标数据格式中获取目标组合搜索框样式,根据所述获取到的目标组合搜索框样式生成所述目标组合搜索框。The generating module is configured to obtain a target combined search box style from the target data format of the query, and generate the target combined search box according to the acquired target combined search box style.
  8. 如权利要求6所述的生成组合搜索框的装置,其特征在于,还包括:The apparatus for generating a combined search box according to claim 6, further comprising:
    设置模块,用于设置至少两个预设数据格式,所述预设数据格式包括定义组合搜索框样式和组合搜索框类型的数据格式。And a setting module, configured to set at least two preset data formats, where the preset data format includes a data format that defines a combined search box style and a combined search box type.
  9. 如权利要求8所述的生成组合搜索框的装置,其特征在于,还包括:The apparatus for generating a combined search box according to claim 8, further comprising:
    接收模块,用于通过所述目标组合搜索框接收关键字;a receiving module, configured to receive a keyword by using the target combination search box;
    存储模块,用于将所述关键字存储在数组中;a storage module, configured to store the keywords in an array;
    获取模块,用于通过调用数据接口获取搜索数据;An obtaining module, configured to obtain search data by calling a data interface;
    显示模块,用于在根据所述目标页面模板生成的页面上显示所述搜索数据。a display module, configured to display the search data on a page generated according to the target page template.
  10. 如权利要求9所述的生成组合搜索框的装置,其特征在于,The apparatus for generating a combined search box according to claim 9, wherein:
    所述获取模块,具体用于对所述目标组合搜索框设置所述关键字的有效数据形式,判断所述预设数组中的关键字是否为有效数据形式,若所述预设数组中的关键字为有效数据形式,通过调用数据接口获取搜索数据。 The obtaining module is configured to set a valid data format of the keyword to the target combination search box, and determine whether a keyword in the preset array is a valid data format, if a key in the preset array The word is in the form of valid data, and the search data is obtained by calling the data interface.
PCT/CN2017/096841 2017-08-10 2017-08-10 Method and apparatus for generating combinatorial search box WO2019028743A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/096841 WO2019028743A1 (en) 2017-08-10 2017-08-10 Method and apparatus for generating combinatorial search box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/096841 WO2019028743A1 (en) 2017-08-10 2017-08-10 Method and apparatus for generating combinatorial search box

Publications (1)

Publication Number Publication Date
WO2019028743A1 true WO2019028743A1 (en) 2019-02-14

Family

ID=65272860

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/096841 WO2019028743A1 (en) 2017-08-10 2017-08-10 Method and apparatus for generating combinatorial search box

Country Status (1)

Country Link
WO (1) WO2019028743A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040041818A1 (en) * 2002-08-29 2004-03-04 Jvolution Limited Design system for website text graphics
CN102929954A (en) * 2012-10-08 2013-02-13 北京百度网讯科技有限公司 Method and device for controlling content displaying of search frame
CN103631947A (en) * 2013-12-13 2014-03-12 广东欧珀移动通信有限公司 List searching method and searching system
CN105373567A (en) * 2014-09-01 2016-03-02 北京奇虎科技有限公司 Page generation method and client
CN106528129A (en) * 2016-10-27 2017-03-22 南京南瑞继保电气有限公司 Web application interface generation system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040041818A1 (en) * 2002-08-29 2004-03-04 Jvolution Limited Design system for website text graphics
CN102929954A (en) * 2012-10-08 2013-02-13 北京百度网讯科技有限公司 Method and device for controlling content displaying of search frame
CN103631947A (en) * 2013-12-13 2014-03-12 广东欧珀移动通信有限公司 List searching method and searching system
CN105373567A (en) * 2014-09-01 2016-03-02 北京奇虎科技有限公司 Page generation method and client
CN106528129A (en) * 2016-10-27 2017-03-22 南京南瑞继保电气有限公司 Web application interface generation system and method

Similar Documents

Publication Publication Date Title
WO2013078899A1 (en) Mobile phone-based software processing method and mobile phone
WO2018201773A1 (en) Cell page rendering method, apparatus, server, and readable storage medium
WO2019165691A1 (en) Method, apparatus and device for automatically generating test case, and readable storage medium
WO2018201774A1 (en) Data approval method, apparatus, device, and computer readable storage medium
WO2018082484A1 (en) Screen capturing method and system for electronic device, and electronic device
WO2021003930A1 (en) Quality inspection method, apparatus, and device for customer service audio, and computer readable storage medium
WO2016183721A1 (en) Upgrade method, apparatus and device for terminal device
WO2019019350A1 (en) Method, apparatus and device for generating account opening page and computer readable storage medium
WO2018218520A1 (en) Data updating method, device, system, and server
WO2014044130A1 (en) Service polling method and system, and computer storage medium
WO2018066942A1 (en) Electronic device and method for controlling the same
WO2017118170A1 (en) Method and system for customizing launcher of mobile terminal
WO2017028573A1 (en) Method and system for processing picture information based on mobile terminal
WO2017057960A1 (en) Electronic device and method for controlling the same
WO2017111197A1 (en) Big data visualisation system and method in learning analysis
WO2013091456A1 (en) Desktop management method and device
WO2013166805A1 (en) Method and device for selecting television network application
WO2021012481A1 (en) System performance monitoring method and apparatus, device, and storage medium
WO2017148142A1 (en) Method and apparatus for switching name of desktop icon folder, and electronic device
EP2885758A1 (en) Method and electronic device for editing content
WO2020253125A1 (en) Log management method, apparatus, and device, and storage medium
WO2020177376A1 (en) Data extraction method and apparatus, terminal and computer-readable storage medium
WO2010002095A2 (en) Method and apparatus for generating media file having media information compatible between media files having same format, and method and apparatus for executing the media file
WO2020062615A1 (en) Gamma value adjustment method and apparatus for display panel, and display device
WO2020199599A1 (en) Information presentation method and apparatus for work queue, and computer device and storage medium

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 25/06/2020).

122 Ep: pct application non-entry in european phase

Ref document number: 17920868

Country of ref document: EP

Kind code of ref document: A1