[go: up one dir, main page]

CN100401293C - A Method for Relational Query and Backfilling Page Objects Based on Web Pages - Google Patents

A Method for Relational Query and Backfilling Page Objects Based on Web Pages Download PDF

Info

Publication number
CN100401293C
CN100401293C CNB2005100335237A CN200510033523A CN100401293C CN 100401293 C CN100401293 C CN 100401293C CN B2005100335237 A CNB2005100335237 A CN B2005100335237A CN 200510033523 A CN200510033523 A CN 200510033523A CN 100401293 C CN100401293 C CN 100401293C
Authority
CN
China
Prior art keywords
webpage
interface
query
web interface
backfill
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
CNB2005100335237A
Other languages
Chinese (zh)
Other versions
CN1828584A (en
Inventor
傅贵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Gaohang Intellectual Property Operation Co ltd
Suzhou Dongtinghe Intelligent Technology Development Co ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2005100335237A priority Critical patent/CN100401293C/en
Priority to PCT/CN2006/000308 priority patent/WO2006092102A1/en
Publication of CN1828584A publication Critical patent/CN1828584A/en
Application granted granted Critical
Publication of CN100401293C publication Critical patent/CN100401293C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明公开了一种基于网页的关联查询及回填页面对象的方法,包括步骤:第一网页界面接受用户输入的查询参数,并依所述查询参数组建查询参数对象;由第一网页界面生成第二网页界面;第二网页界面依据所述查询参数对象执行查询,查询结果显示在第二网页界面上;第二网页界面接受用户从所述查询结果中选取的值构造返回结果对象;第一网页界面根据所述返回结果对象和回填映射表,回填第一网页界面的相关页面对象;所述返回结果对象的属性值在第一网页界面上显示。采用本发明的技术方案,用户输入数据时可以避免繁琐的数据选择,提高了界面的交互性和关联数据输入的准确性。

Figure 200510033523

The invention discloses a webpage-based correlation query and a method for backfilling page objects, comprising steps: the first webpage interface accepts query parameters input by users, and constructs query parameter objects according to the query parameters; the first webpage interface generates the second Two webpage interfaces; the second webpage interface executes the query according to the query parameter object, and the query result is displayed on the second webpage interface; the second webpage interface accepts the value structure selected by the user from the query result and returns the result object; the first webpage The interface backfills relevant page objects of the first webpage interface according to the returned result object and the backfill mapping table; the attribute values of the returned result object are displayed on the first webpage interface. By adopting the technical solution of the invention, the user can avoid tedious data selection when inputting data, and improve the interactivity of the interface and the accuracy of inputting associated data.

Figure 200510033523

Description

一种基于网页的关联查询及回填页面对象的方法 A Method for Relational Query and Backfilling Page Objects Based on Web Pages

技术领域 technical field

本发明涉及国际互联网的应用,具体涉及一种基于网页的关联查询及回填页面对象的方法。The invention relates to the application of the Internet, in particular to a webpage-based correlation query and a method for backfilling page objects.

一般来说,Web界面的表达方式是通过工具(Wizard),让用户“下一步”、“下一步”来进行,在一个界面上输入一些内容,通过点击“下一步”按钮,进入到另外一个界面中,再输入一些内容,如此反复,最后点击“完成”,使用该方案用户没有全局观,只能一步一步地走,交互性差。第二种方法是用类似传统GUI的弹出对话框进行查询、选择、回填的辅助方式,这种方法不能指导用户进行输入,多个表单单元之间的关联性无法表达,操作不方便。Generally speaking, the way of expressing the web interface is to use the tool (Wizard) to allow the user to "next" and "next", enter some content on one interface, and click the "next" button to enter another. In the interface, enter some content again, repeat this process, and finally click "Finish". Using this solution, the user has no overall view and can only go step by step, and the interactivity is poor. The second method is to use a pop-up dialog box similar to the traditional GUI to query, select, and backfill an auxiliary method. This method cannot guide the user to input, and the correlation between multiple form units cannot be expressed, and the operation is inconvenient.

另外一种方法是在Web界面上显示一个表格,让用户在界面上填写大量的数据,最后统一提交,由服务器端统一检验,确定数据的合理性。使用这种方法用户在输入时无法获得相关信息,只能进行文本输入或者从下拉框中选择一个值;文本输入时,无法确保输入的准确性,而从下拉框中选择时,若数据量很大,从成百上千个数据中选择一个是非常麻烦的事情。Another method is to display a form on the web interface, let the user fill in a large amount of data on the interface, and finally submit it uniformly, and the server-side uniformly checks to determine the rationality of the data. Using this method, the user cannot obtain relevant information when entering, and can only enter text or select a value from the drop-down box; when entering text, the accuracy of the input cannot be guaranteed, and when selecting from the drop-down box, if the amount of data is large It is very troublesome to select one from hundreds or thousands of data.

发明内容 Contents of the invention

本发明要解决的技术问题是提供一种基于网页的关联查询及回填页面对象的方法,克服现有技术的数据查询方法交互性差,不能保证文本输入的准确性及数据选择繁琐的缺点。The technical problem to be solved by the present invention is to provide a method for webpage-based associated query and backfill page objects, which overcomes the disadvantages of poor interactivity, inability to ensure the accuracy of text input and cumbersome data selection in the prior art data query method.

为解决所述技术问题,本发明采用如下的技术方案:In order to solve the technical problems, the present invention adopts the following technical solutions:

一种基于网页的关联查询及回填页面对象的方法,包括以下步骤:A method for webpage-based associated query and backfilling page objects, comprising the following steps:

a1第一网页界面接受用户输入的查询参数,并依所述查询参数组建查询参数对象;a1 The first webpage interface accepts query parameters input by the user, and constructs query parameter objects according to the query parameters;

a2由第一网页界面生成第二网页界面;a2 generating a second webpage interface from the first webpage interface;

a3第二网页界面依据所述查询参数对象执行查询,查询结果显示在第二网页界面上;a3 The second webpage interface executes the query according to the query parameter object, and the query result is displayed on the second webpage interface;

a4第二网页界面接受用户从所述查询结果中选取的值构造返回结果对象;a4 The second web page interface accepts the value selected by the user from the query result to construct a returned result object;

a5第一网页界面根据所述返回结果对象和回填映射表,回填第一网页界面的相关页面对象;a5 The first webpage interface backfills the relevant page objects of the first webpage interface according to the returned result object and the backfill mapping table;

a6所述返回结果对象的属性值在第一网页界面上显示。a6 The attribute value of the returned result object is displayed on the first web page interface.

所述技术方案的进一步优化是所述查询参数对象由第一网页界面传递到第二网页界面。A further optimization of the technical solution is that the query parameter object is transferred from the first webpage interface to the second webpage interface.

所述技术方案的进一步优化是当所述返回结果对象返回第一网页界面后,第二网页界面关闭。A further optimization of the technical solution is that after the returned result object returns to the first web page interface, the second web page interface is closed.

所述查询参数对象设置为数组,其包括参数域:参数名、参数值、表征是否必须有参数值的布尔类型常量。The query parameter object is set as an array, which includes a parameter field: parameter name, parameter value, and a Boolean constant indicating whether a parameter value must be present.

所述返回结果对象包括值域:属性名、属性值,所述返回结果对象中有多个属性。The returned result object includes a value field: attribute name, attribute value, and there are multiple attributes in the returned result object.

所述回填映射表包括值域:第一网页界面的表单名称、返回属性名。The backfill mapping table includes value fields: the form name of the first web page interface, and the return attribute name.

使用符号“#”表征所述查询参数对象中的常量参数值。The symbol "#" is used to represent constant parameter values in the query parameter object.

采用本发明的技术方案,用户输入数据时可以避免繁琐的数据选择,提高了界面的交互性和关联数据输入的准确性。By adopting the technical solution of the invention, the user can avoid tedious data selection when inputting data, and improve the interactivity of the interface and the accuracy of inputting associated data.

附图说明 Description of drawings

图1是本发明的操作步骤示意图。Fig. 1 is a schematic diagram of the operation steps of the present invention.

具体实施方式 Detailed ways

下面结合附图和实施例对本发明作进一步详细说明:Below in conjunction with accompanying drawing and embodiment the present invention is described in further detail:

如图1所示,关联查询及回填页面对象的过程是:用户在界面A上输入一些值(可选),在需要填写一个关联对象时,执行查询功能,在界面A里面根据查询参数对象,根据界面A的各个输入表单的值,生成查询参数,生成界面B,并将查询参数传递到界面B,由界面B执行查询,并显示查询结果在界面上。用户从界面B上选取一个合适的对象(关联对象),界面B组织该选取对象的属性,并形成返回结果对象,并返回到界面A,同时,界面B关闭,界面A根据返回结果对象和回填映射表,回填界面A上的相关表单单元,并将结果显示给用户。As shown in Figure 1, the process of associated query and backfilling page objects is: the user enters some values (optional) on interface A, and executes the query function when a related object needs to be filled in. In interface A, according to the query parameter object, According to the value of each input form of interface A, generate query parameters, generate interface B, and pass the query parameters to interface B, interface B executes the query, and displays the query results on the interface. The user selects a suitable object (associated object) from interface B, interface B organizes the properties of the selected object, forms a returned result object, and returns to interface A, and at the same time, interface B is closed, and interface A is based on the returned result object and backfill Map the table, backfill the relevant form cells on interface A, and display the results to the user.

在将界面A上的参数传递到界面B时,由于界面A和界面B的参数的名称一般来说不是一一对应的,所以必须进行映射,因此定义查询参数对象以将界面A上的参数传递到界面B,输入参数包括:界面B上查询参数的名称、参数的值。参数的值有两个来源:静态值、界面A上的输入域(表单项)。同时,部分查询参数是必须的,而其它是非必须的参数。所以整个参数域包括三个部分:参数名、参数值、必须有值否。参数名是一个字符串,必须有值否是一个布尔类型的值,只有参数值稍稍复杂一些,必须使用一个特殊的标记来确认是静态值还是动态值,是静态值就是该值,而动态值使用表单项的名称,在Web表单中,“#”一般不做为表单项名称,所以可以使用“#”来标识。同时,参数可以有多个,所以将参数对象设计成为一个数组,最终参数对象设计成为:When passing the parameters on interface A to interface B, because the names of the parameters on interface A and interface B are generally not one-to-one correspondence, mapping must be performed, so the query parameter object is defined to pass the parameters on interface A To interface B, the input parameters include: the name of the query parameter on interface B, and the value of the parameter. The value of the parameter has two sources: static value and input field (form item) on interface A. At the same time, some query parameters are mandatory, while others are non-essential parameters. Therefore, the entire parameter domain includes three parts: parameter name, parameter value, must have a value or not. The parameter name is a string, and must have a value. Whether it is a Boolean value, only the parameter value is a little more complicated, and a special mark must be used to confirm whether it is a static value or a dynamic value. The static value is the value, and the dynamic value Use the name of the form item. In web forms, "#" is generally not used as the name of the form item, so "#" can be used to identify it. At the same time, there can be multiple parameters, so the parameter object is designed as an array, and the final parameter object is designed as:

var查询参数=[[“参数名”,”#常量参数值”,true],var query parameter = [["parameter name", "#constant parameter value", true],

[“参数名2”,“表单项名称”,false]...];["parameter name 2", "form item name", false]...];

当用户输入合适值并传递到查询窗口(界面B)后,在界面B上的处理是业务特殊的,用户可以定义不同的查询方式,最终将符合条件的结果显示在界面B上,用户从中选取一条合适的值。When the user enters an appropriate value and passes it to the query window (interface B), the processing on interface B is business-specific. The user can define different query methods, and finally the results that meet the conditions are displayed on interface B, and the user chooses a suitable value.

当用户选取合适的值后,系统需要生成合适的返回对象。返回对象部分包括:属性名、属性值,返回对象中可以有多个属性。After the user selects an appropriate value, the system needs to generate an appropriate return object. The returned object part includes: attribute name, attribute value, and there can be multiple attributes in the returned object.

返回对象的定义是:The definition of the returned object is:

var result={“属性名”:“属性值”,var result = {"property name":"property value",

“属性名2”:“属性值2”};"PropertyName2": "PropertyValue2"};

查询结果的回填涉及到两个对象:查询对象的返回值、当前界面的表单与查询结果属性的映射,必须要具有一个“回填映射表”来定义返回属性与表单的映射。The backfilling of query results involves two objects: the return value of the query object, the mapping between the form of the current interface and the attributes of the query results, and there must be a "backfill mapping table" to define the mapping between the returned attributes and the form.

该映射的项有:返回属性名、当前界面的表单名称,并支持多个表单的项的回填。The items of this map include: returning the attribute name, the form name of the current interface, and supporting the backfilling of items of multiple forms.

所以映射定义为:So the mapping is defined as:

var resultMaps={“表单项名称”:“返回属性名”“表单项名称2”:“返回属性名2”};var resultMaps={"Form Item Name": "Return Attribute Name" "Form Item Name 2": "Return Attribute Name 2"};

当该功能的使用者(应用开发者)定义好上述的几个数据结构(查询参数对象、返回结果对象、回填映射表)后,使用Java Script,,就可以比较容易实现该功能了:After the user of this function (application developer) defines the above data structures (query parameter object, return result object, and backfill mapping table), he can use Java Script to realize this function relatively easily:

第一步:用户在第一网页界面上输入查询参数;Step 1: The user inputs query parameters on the first web page interface;

第二步:第一网页界面组建查询参数对象;Step 2: Create a query parameter object on the first webpage interface;

第三步:由第一网页界面生成第二网页界面;Step 3: generating a second web interface from the first web interface;

第四步:第一网页界面将所述查询参数对象传递到第二网页界面;Step 4: the first webpage interface transfers the query parameter object to the second webpage interface;

第五步:由第二网页界面执行查询,查询结果显示在第二网页界上;Step 5: Execute the query by the second webpage interface, and the query result is displayed on the second webpage interface;

第六步:用户在第二网页界面上从所述查询结果中选取所需的值;Step 6: The user selects the desired value from the query results on the second web page interface;

第七步:由第二网页界面构造返回结果对象;Step 7: Construct and return a result object from the second webpage interface;

第八步:所述返回结果对象返回第一网页界面,第二网页界面关闭;Step 8: The returned result object is returned to the first web interface, and the second web interface is closed;

第九步:第一网页界面根据所述返回结果对象和回填映射表,回填第一网页界面的相关页面对象;Step 9: The first webpage interface backfills the relevant page objects of the first webpage interface according to the returned result object and the backfill mapping table;

第十步:所述返回结果对象的属性值在第一网页界面上显示。Step 10: The attribute values of the returned result object are displayed on the first webpage interface.

Claims (7)

1. one kind based on the correlation inquiry of webpage and the method for backfill page object, may further comprise the steps:
A1 first web interface is accepted the query argument of user's input, and sets up the query argument object according to described query argument;
A2 generates second web interface by first web interface;
A3 second web interface is carried out inquiry according to described query argument object, and Query Result is presented on second web interface;
A4 second web interface is accepted the value structure return results object that the user chooses from described Query Result;
A5 first web interface is according to described return results object and backfill mapping table, the related pages object of backfill first web interface;
The property value of the described return results object of a6 shows on first web interface.
2. according to claim 1 based on the correlation inquiry of webpage and the method for backfill page object, it is characterized in that: described query argument object is delivered to second web interface by first web interface.
3. according to claim 1 based on the correlation inquiry of webpage and the method for backfill page object, it is characterized in that: after described return results object returned first web interface, second web interface was closed.
4. arbitrary described based on the correlation inquiry of webpage and the method for backfill page object according to claim 1 to 3, it is characterized in that: described query argument object is set to array, and it comprises parameter field: whether parameter name, parameter value, sign must have the Boolean type constant of parameter value.
5. according to claim 4 based on the correlation inquiry of webpage and the method for backfill page object, it is characterized in that: described return results object comprises codomain: attribute-name, property value have a plurality of attributes in the described return results object.
6. according to claim 5 based on the correlation inquiry of webpage and the method for backfill page object, it is characterized in that: described backfill mapping table comprises codomain: the form name of first web interface, return attribute name.
7. described based on the correlation inquiry of webpage and the method for backfill page object according to claim 6, it is characterized in that: use the constant parameter value in the described query argument object of symbol " # " sign.
CNB2005100335237A 2005-03-04 2005-03-04 A Method for Relational Query and Backfilling Page Objects Based on Web Pages Expired - Lifetime CN100401293C (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CNB2005100335237A CN100401293C (en) 2005-03-04 2005-03-04 A Method for Relational Query and Backfilling Page Objects Based on Web Pages
PCT/CN2006/000308 WO2006092102A1 (en) 2005-03-04 2006-03-02 A method for backfilling the page layout information based on the web page

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100335237A CN100401293C (en) 2005-03-04 2005-03-04 A Method for Relational Query and Backfilling Page Objects Based on Web Pages

Publications (2)

Publication Number Publication Date
CN1828584A CN1828584A (en) 2006-09-06
CN100401293C true CN100401293C (en) 2008-07-09

Family

ID=36940840

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100335237A Expired - Lifetime CN100401293C (en) 2005-03-04 2005-03-04 A Method for Relational Query and Backfilling Page Objects Based on Web Pages

Country Status (2)

Country Link
CN (1) CN100401293C (en)
WO (1) WO2006092102A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440038A (en) * 2013-08-28 2013-12-11 中国人民大学 Information collection system based on eye recognition and application thereof

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101227451B (en) * 2007-01-19 2011-04-06 阿里巴巴集团控股有限公司 System and method for obtaining user interactive data by Web table list
CN102279876B (en) * 2011-07-22 2013-03-20 张士益 Method for controlling information interaction between websites
CN105635229B (en) * 2014-11-06 2019-09-17 阿里巴巴集团控股有限公司 Data earth-filling method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020087509A1 (en) * 2001-08-23 2002-07-04 Michael Meirsonne Method, Process, and System for Searching and Identifying Sources of Goods and/or Services Over the Internet
US6460060B1 (en) * 1999-01-26 2002-10-01 International Business Machines Corporation Method and system for searching web browser history
CN1493044A (en) * 2000-10-03 2004-04-28 ���ɵ¡�N���ʸ��� Method for locating web page by using visual image
KR20040078632A (en) * 2004-08-23 2004-09-10 현인호 Apparatus and method for reconstructuring search research result using search engines

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1516039A (en) * 2003-01-06 2004-07-28 英业达股份有限公司 Form establishing device and control method applied to webpage form writing
CN1519746A (en) * 2003-01-23 2004-08-11 英业达股份有限公司 Method for compiling webpage table by using table item list

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6460060B1 (en) * 1999-01-26 2002-10-01 International Business Machines Corporation Method and system for searching web browser history
CN1493044A (en) * 2000-10-03 2004-04-28 ���ɵ¡�N���ʸ��� Method for locating web page by using visual image
US20020087509A1 (en) * 2001-08-23 2002-07-04 Michael Meirsonne Method, Process, and System for Searching and Identifying Sources of Goods and/or Services Over the Internet
KR20040078632A (en) * 2004-08-23 2004-09-10 현인호 Apparatus and method for reconstructuring search research result using search engines

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440038A (en) * 2013-08-28 2013-12-11 中国人民大学 Information collection system based on eye recognition and application thereof
CN103440038B (en) * 2013-08-28 2016-06-15 中国人民大学 A kind of information acquisition system based on eye recognition and application thereof

Also Published As

Publication number Publication date
WO2006092102A1 (en) 2006-09-08
CN1828584A (en) 2006-09-06

Similar Documents

Publication Publication Date Title
CN106033471B (en) A kind of method and apparatus handling list
US8307292B2 (en) Method and apparatus for binding user interface objects to application objects
US6889359B1 (en) Method for providing a visual representation of dynamic HTML table attributes
Puerta et al. XIML: a common representation for interaction data
US6851088B1 (en) Conditional highlighting of given cells in a dynamic HTML table
US7818682B2 (en) Modeling editor
US9235561B2 (en) Contextual report element mapping to web service input parameter
US8091043B2 (en) Modeling environment graphical user interface
CN110874367A (en) Visualization method and device for structured query language statement
US10936804B2 (en) Spreadsheet cell calculation view providing multiple-representation editing
US20070162486A1 (en) Merge tool for structured object models
JP2018514878A (en) A computer-implemented method for displaying software-type applications based on design specifications
US20090177625A1 (en) Model-driven database query
US20060070013A1 (en) Method and system to drill down graphically
CN113204340A (en) Question production method, question management system and electronic equipment
Freeman et al. Pro ASP. NET 4.5 in C
US10776351B2 (en) Automatic core data service view generator
CN100401293C (en) A Method for Relational Query and Backfilling Page Objects Based on Web Pages
CN108628604A (en) The parameter value generation method and system of SOA request messages
US20130080879A1 (en) Methods and apparatus providing document elements formatting
US10896161B2 (en) Integrated computing environment for managing and presenting design iterations
Zant Hands-on prototyping in system analysis and design
JP2000250909A (en) Device and method for displaying structured document
US20250004798A1 (en) Interface generation system and interface generation method
Bachvarov First Steps in SAP Commerce Cloud

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210104

Address after: 215000 Huangqiao Street East Street, Xiangcheng District, Suzhou City, Jiangsu Province

Patentee after: Suzhou dongtinghe Intelligent Technology Development Co.,Ltd.

Address before: Unit 2414-2416, main building, no.371, Wushan Road, Tianhe District, Guangzhou City, Guangdong Province

Patentee before: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd.

Effective date of registration: 20210104

Address after: Unit 2414-2416, main building, no.371, Wushan Road, Tianhe District, Guangzhou City, Guangdong Province

Patentee after: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd.

Address before: 518057 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right
CX01 Expiry of patent term

Granted publication date: 20080709

CX01 Expiry of patent term