WO2013159611A1 - Webpage data submitting method and device - Google Patents

Webpage data submitting method and device Download PDF

Info

Publication number
WO2013159611A1
WO2013159611A1 PCT/CN2013/072784 CN2013072784W WO2013159611A1 WO 2013159611 A1 WO2013159611 A1 WO 2013159611A1 CN 2013072784 W CN2013072784 W CN 2013072784W WO 2013159611 A1 WO2013159611 A1 WO 2013159611A1
Authority
WO
WIPO (PCT)
Prior art keywords
area
submission
page
data
event
Prior art date
Application number
PCT/CN2013/072784
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 华为技术有限公司
Publication of WO2013159611A1 publication Critical patent/WO2013159611A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/986Document structures and storage, e.g. HTML extensions
    • 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
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the present invention relates to the field of web page development, and in particular, to a method and apparatus for submitting web page data. Background technique
  • HTML form is used to collect different types of user input.
  • the following forms use forms to refer to HTML forms.
  • a form is an area that contains form elements, allowing users to enter elements of information into a form, such as: text fields, drop-down lists, radio buttons, check boxes, and so on. Forms can be defined using form tags.
  • form tags such as: ⁇ &1111> is used to define the form for user input, ⁇ 1 ⁇ 1 ⁇ > is used to define the input field, ⁇ 6 1> is used to define the text field, ⁇ 61> Used to define a control tag, ⁇ fieldset> is used to define the field, ⁇ legend> is used to define the title of the field, ⁇ select> is used to define a selection list, ⁇ optgroup> is used to define the option group, ⁇ ( ⁇ 1 11 > Used to define options in the drop-down list, ⁇ 1 ⁇ 2 «011> is used to define a button.
  • ⁇ &1111> is used to define the form for user input
  • ⁇ 1 ⁇ 1 ⁇ > is used to define the input field
  • ⁇ 6 1> is used to define the text field
  • ⁇ 61> Used to define a control tag
  • ⁇ fieldset> is used to define the field
  • ⁇ legend> is used to define the title of the field
  • ⁇ select> is used to define
  • the form tags used in most cases are input tags ( ⁇ input> ) whose input type is defined by the type attribute (type ). Most of the input types that are often used are the following: Text Fields ), when the user wants to type letters, numbers, etc. in the form, the text field is used; Radio Buttons, when the user selects one of several given choices, the radio is used. Checkboxes, checkboxes are used when the user needs to select one or several options from several given choices; submit, which is used to submit input when the user input ends. Content.
  • the action attribute of the form defines a Uniform Resource Locator (URL) that indicates where to send the form data.
  • Files defined by action attributes are typically processed in relation to the received input data.
  • the confirmation button When the user clicks the confirmation button, the content of the form is sent to the server, and the server jumps the form content to the destination file according to the URL.
  • a specific example is given below, as shown in Figure 1.
  • the HTML code of a form, name, surname, and user name are all input ⁇ input>, and the input type is text field text, corresponding to the submit button.
  • the tag is also the input ⁇ input>, and the input type is submit submit; when the piece of HTML code is loaded into the browser, the effect of the browser display is shown in Figure 2. If the user types in the text box of the form and clicks the "Submit” button, then the input data is transferred to the page named "html_form_submitjsp" on the server, which will display the result of the input.
  • the embodiment of the invention provides a method and a device for submitting webpage data, which are used to flexibly submit partial webpage page data in the process of submitting webpage data, thereby avoiding submitting page data of a submission area specified by the entire webpage.
  • a first aspect of the embodiments of the present invention provides a method for submitting webpage data.
  • the webpage page is set to two or more submission areas, and the method includes:
  • the area submission label When it is detected that the area submission event included in the area submission label is triggered, the area submission label includes one or more area identifiers, and the area identifier is used to identify the submission area selected by the user; according to the area identifier, the submission corresponding to the area identifier is obtained.
  • the page data of the area sends the acquired page data to the server.
  • the method for providing webpage data submission further includes: sending a page loading request to the server, receiving a page loading data returned by the server, and receiving the area submission label, before detecting that the area submission event included in the area submission label is triggered.
  • the zone submission tag contains the zone submission event and the zone ID.
  • the method for providing webpage data submission further includes: loading the page according to the page loading data; after the page is loaded, according to the area submitting the label, starting to detect whether the area submitting event is triggered, and the area submitting event is specifically a hypertext markup. Language HTML event.
  • the detecting of whether the region submitting event is triggered is specifically included: starting an event processing function, and the event processing function is configured to detect whether the region submitting event is triggered;
  • the acquisition area is submitted.
  • the one or more area identifiers included in the sign are obtained.
  • the page data corresponding to the area identifier is obtained according to the area identifier.
  • the specific information includes: when the event processing function detects that the area commit event is triggered, acquiring the area identifier included in the area submission label; Knowledge, get the page entry component tag corresponding to the area and the data entered by the user.
  • the method for providing webpage data submission further includes: before sending the page load request to the server, the webpage developer sets the submission area, and develops a JSP code of the Java server page, and the JSP code includes the area submission label.
  • the method for providing webpage data submission, sending a page load request to the server, and receiving the page load data returned by the server specifically: sending a page load request to the server, so that the server obtains the developed JSP code according to the page load request, and The JSP code is parsed to generate a collection script and a detection script; the page load data returned by the receiving server is received, and the page loading data includes a collection script and a detection script.
  • starting an event processing function specifically includes: starting an event processing function by executing a detection script
  • the event processing function detects that the area submission event is triggered, the area identifier included in the area submission label is obtained, and the page data corresponding to the area identifier is obtained according to the area identifier, specifically: when the event processing function detects that the area submission event is triggered, The area identifier included in the area submission label is obtained by executing the collection script, and the page data corresponding to the area identifier is obtained according to the area identifier.
  • the obtained page data is sent to the server, and specifically includes: ⁇ : seeking, , 'one, sending an asynchronous request to the server, and the asynchronous request includes submitting the webpage data provided by the foregoing.
  • the method further includes: receiving an asynchronous response returned by the server, where the asynchronous response includes the one or more area identifiers, and refreshing, according to the area identifier, a page corresponding to the area identifier.
  • a second aspect of the embodiment of the present invention is a device for submitting webpage data, including:
  • the data obtaining module is configured to: when detecting that the area submitting event included in the area submission label is triggered, acquiring one or more area identifiers included in the area submission label, where the area identifier is used to identify the submission area selected by the user; and according to the area identifier And acquiring the page data of the submission area corresponding to the area identifier; and the data sending module, configured to send the acquired page data to the server.
  • the device for submitting the webpage data further includes: a request sending module, configured to send a page loading request to the server; a data receiving module, configured to receive page loading data returned by the server, where the page loading data includes a region submission label, and the area submission label includes The zone submission event and the zone submission identifier.
  • the device for submitting the webpage data further includes: a loading module, configured to load the data according to the page, and a page loading; and a detecting module, configured to: after the page is loaded, submit a label according to the area, and start detecting whether the area submitting event is triggered
  • the zone submission event is specifically a hypertext markup language HTML event.
  • the detecting module is specifically configured to: after the page is loaded, start the event processing function according to the area submission label, and the event processing function is used to detect whether the area submission event is triggered; the data acquisition module is specifically used when When the event processing function detects that the area submission event is triggered, the one or more area identifiers included in the area submission label are obtained; and the page data corresponding to the area identifier is obtained according to the area identifier.
  • the data sending module further includes: an object creating unit, configured to create a data request object, an asynchronous request sending unit, configured to send an asynchronous request to the server, and the asynchronous request includes the obtained area submitting the label.
  • the area identifier corresponds to the area page data.
  • the device for submitting the webpage data further includes: a refreshing module, configured to receive an asynchronous response returned by the server, where the asynchronous response includes the one or more area identifiers, and according to the area identifier, the area identifier The corresponding page is refreshed.
  • the area submission label includes one or more area identifiers
  • the area identifier uniquely corresponds to one submission area, so that the device for submitting the webpage data can obtain the identifier according to one or more area identifiers.
  • the area identifier corresponds to the page data of the submission area, so that the page data of the submission area corresponding to the area identifier can be flexibly submitted without submitting the entire webpage page data, thereby further improving the development freedom of the webpage developer.
  • FIG. 1 is a schematic diagram of a prior art form HTML code
  • FIG. 2 is a schematic diagram showing the effect of the HTML code of FIG. 1 in a browser display page
  • FIG. 3 is a flowchart of a webpage data submission method according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of a webpage page area division according to an embodiment of the present invention
  • FIG. 5 is a flowchart of a method for submitting webpage data according to another embodiment of the present invention
  • FIG. 6 is a schematic diagram of a code corresponding to FIG. 4 according to an embodiment of the present invention
  • FIG. 7 is a schematic structural diagram of an apparatus for submitting webpage data according to an embodiment of the present invention
  • FIG. 8 is a schematic structural diagram of an apparatus for submitting webpage data according to another embodiment of the present invention.
  • the webpage data submission method provided by the embodiment of the present invention is described first.
  • the webpage data submission method describes the processing flow of the browser.
  • FIG. 3 depicts the flow of the webpage data submission method provided by an embodiment of the present invention.
  • the webpage page is set to two. More than one submission area, methods include:
  • the area submission label includes one or more area identifiers
  • the area identifier uniquely corresponds to one submission area, so that the device for submitting the webpage data can obtain the identifier according to one or more area identifiers.
  • the area identifier corresponds to the page data of the submission area, so that the entire page page data need not be submitted, but only the page data of the submission area corresponding to the area identifier is submitted, which further improves the development freedom of the web page developer.
  • the range of data submission in the webpage may be divided into different submission regions, and the submission region may be any input label in the webpage and a document object model corresponding to the internal input label.
  • FIG. 5 is a flowchart of a method for submitting webpage data according to another embodiment of the present invention.
  • the content of the webpage shown in FIG. 4 is taken as an example for description. This embodiment describes the processing flow of the browser, and the embodiment includes:
  • the web page developer can submit the page data of the specified submission area by submitting the area division and the area submission label setting.
  • the zone submission tag contains the zone submission tag name, the zone submission event, and the zone ID.
  • the area submission tag name is used to identify that the tag is a zone submission tag; when the zone submission event is triggered, the device for submitting the webpage data submits the webpage data of the specified submission area; a zone ID uniquely corresponds to a specified submission zone, the zone There may be only one ID or more than two IDs. If there are more than two area IDs, the area IDs need to be separated by some kind of separator.
  • the separator can be represented by a comma ",".
  • J2EE Java 2 Platform Enterprise Edition
  • the zone submits the tag name ⁇ fire>, the zone commit event.
  • the web developer develops a piece of code stored in the server, the piece of code is composed of part of the HTML source code and part of the JSP code, and for the JSP code, when the JSP code is loaded into the browser of the terminal, The server needs to convert the piece of JSP code into HTML code.
  • Figure 6 shows the code stored in the server, which contains three separate submission areas and one submission area label.
  • a submission area ID "basic"
  • its HTML tag is ⁇ div>, where the form tag ⁇ div> can define a partition or section (division / section) in the document, can be divided into 4 independent documents , different parts; its internal contains two text input areas, respectively, the first name and last name, that is, the corresponding page content of the page is the name and last name of the area.
  • the ID of another commit area is "user”
  • its form tag is ⁇ input >, which is a text input area, that is, the area where the corresponding web page content is the user name.
  • Another submission area ID "advance” , its form tag is ⁇ span>, ⁇ span> tag is used to combine the inline elements in the document, which contains a text input area, that is, its corresponding page page content is The area of the address.
  • a button label button is included, and the button has a value of "commit”, which includes a submission area label, and the submission area label includes a specified submission area of "basic” and "user”, and the submission area label
  • the event is onclick, that is, when the web developer or user clicks the button "submit” with the mouse, the event of submitting the area label is triggered, and the trigger terminal is further submitted to the server with the area IDs "basic” and "user”. Web page data.
  • the content of the button label is described in the JSP language.
  • the user sends the page load request to the server by using a browser input URL on the device submitted by the webpage data.
  • the user here can be a web developer or an ordinary end user.
  • the device for submitting the above webpage data may include a desktop computer, a notebook, a mobile phone, a PDA, a platform computer, an e-book, and the like.
  • the server receives and parses the page load request, and sends a page load data to the device submitted by the webpage data, where the page load data includes an HTML presentation element and the area submission label.
  • the server obtains the above code according to the page loading request, and parses the JSP code in the piece of code, generates a collection script and a detection script, and loads the two scripts, the area submission label and the HTML presentation element as page loading data.
  • the browsers sent to the web page data submission device are loaded together.
  • the device for submitting the webpage data receives the page loading data, and performs page loading.
  • the above two scripts, the area submission tag, and the HTML presentation element are loaded into the browser in the device of the web page data submission.
  • the detection script is executed, thereby registering an event processing function, that is, when the browser executes the detection script, an event processing function is started to detect whether the detection area submission event is triggered.
  • the event handler can listen to the zone commit event being triggered. For example, suppose the web developer sets the two submission areas whose area ID is basic and user to form a submission area.
  • the HTML event corresponding to the area submission label is a mouse event, and its specific attribute can be onclick, if the user clicks the corresponding submission by mouse click.
  • the event handler will listen for the zone commit event to be triggered.
  • the device for submitting the webpage data acquires page data of the submission area corresponding to the area ID.
  • the device for submitting the webpage data executes the above collection script, and acquires the area ID included in the area submission label, and sequentially acquires the page data of the submission area corresponding to each area ID, wherein the page data includes all the internal parts of the HTML presentation element corresponding to the submission area.
  • the webpage data submission executes a collection script, and then calls the browser programming interface getElementsByTa to obtain all the input component tags and the data input by the user in the HTML presentation element corresponding to the area ID.
  • text input area (input) and the data entered by the user corresponding to the text input area For example: text input area (input) and the data entered by the user corresponding to the text input area.
  • the device for submitting the webpage data When the device that submits the webpage data successfully obtains the area ID corresponding to the area submission label, After the page data is submitted, the device for submitting the webpage data creates a data request object, and initiates a hypertext transport protocol (HTTP) asynchronous request to the server, where the HTTP asynchronous request includes the obtained page data, and the obtained page is obtained.
  • HTTP hypertext transport protocol
  • the data is sent to the server, where the data request object is an XmlHttpRequest object.
  • the server After performing the necessary processing on the received data according to the service processing logic, the server sends an HTTP asynchronous response to the device submitted by the webpage data, where the HTTP asynchronous response includes the area identifier, and the device that submits the webpage data receives the response.
  • the page corresponding to the area identifier performs partial area refresh or full refresh, abnormal prompt, and the like.
  • the device that submits the webpage data obtains the page data of the submission area corresponding to the area ID according to the area ID of the one or more areas included in the label, thereby implementing the page data of the submission area, and further improving Web developer development freedom.
  • FIG. 7 is a schematic structural diagram of an apparatus for submitting webpage data according to an embodiment of the present invention, including:
  • the data obtaining module 71 is configured to: when it is detected that the area submission event included in the area submission label is triggered, obtain one or more area identifiers included in the area submission label, where the area identifier is used to identify the submission area selected by the user. And obtaining, according to the area identifier, page data of the submission area corresponding to the area identifier;
  • the data sending module 72 is configured to send the acquired page data to the server.
  • the device for submitting webpage data further includes:
  • the device for submitting webpage data further includes: a loading module 75, configured to perform page loading according to the page loading data;
  • the detecting module 76 is configured to: after the page loading is completed, submit a label according to the area, and start detecting whether the event is triggered by the area, and the area submitting event is specifically a hypertext markup language HTML event.
  • the detecting module 76 is specifically configured to: after the page is loaded, submit a label according to the area, and start an event processing function, where the event processing function is used to detect whether the area submit event is triggered; the data acquiring module 71 is specific. And when the event processing function detects that the area submission event is triggered, acquiring one or more area identifiers included in the area submission label; and acquiring, according to the area identifier, a page corresponding to the area identifier data.
  • the data sending module 72 further includes:
  • the object creation unit 721 is configured to create a data request object
  • the asynchronous request sending unit 722 is configured to send an asynchronous request to the server, where the asynchronous request includes the area page data corresponding to the area identifier of the obtained area submission label.
  • the apparatus for submitting webpage data further includes: a refreshing module 77, configured to receive an asynchronous response returned by the server, where the asynchronous response includes the one or more area identifiers, and Refreshing the page corresponding to the area identifier according to the area identifier.
  • the device that submits the webpage data obtains the page data of the submission area corresponding to the area ID according to the area ID of the one or more areas included in the label, thereby implementing the page data of the submission area, and further improving Web developer development freedom.
  • the device for submitting the webpage data can receive the partial area webpage refresh by the server, the entire webpage page need not be refreshed, thereby reducing the bandwidth consumption.
  • the programming method is simple to implement, the difficulty of webpage development is reduced, the interaction with the server is reduced, and the maintenance of the webpage is improved.
  • the program may be implemented by a computer program to instruct related hardware.
  • the above program may be stored in a computer readable storage medium, and the program may include a flow of an embodiment of the methods as described above.
  • the above storage medium may be a magnetic disk, an optical disk, or a read-only memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory

Abstract

The present invention relates to a webpage data submitting method and device. A webpage is set with more than two submitting areas. The method comprises: when it is detected that an area submitting event contained in an area submitting label is triggered, obtaining one or more than one area identifier contained in the area submitting label, the area identifier being used for indicating a submitting area selected by a user; according to the area identifier, obtaining the page data of the submitting area corresponding to the area identifier; and sending the obtained page data to a server, thereby only submitting the page data of a submitting area corresponding to an area identifier without submitting the page data of the whole webpage, and further increasing the degree of development freedom of a webpage developer.

Description

网页数据提交的方法和装置 本申请要求于 2012年 4月 27 日提交中国专利局、 申请号为  Method and device for submitting webpage data This application is required to be submitted to the Chinese Patent Office on April 27, 2012, and the application number is
201210128401. 6 , 发明名称为 "网页数据提交的方法和装置" 的中国专利 申请的优先权, 其全部内容通过引用结合在本申请中。 The priority of the Chinese Patent Application, which is incorporated herein by reference.
技术领域 本发明涉及网页开发领域, 具体涉及网页数据提交的方法和装置。 背景技术 TECHNICAL FIELD The present invention relates to the field of web page development, and in particular, to a method and apparatus for submitting web page data. Background technique
超文本标记语言 (Hyper Text Markup Language , HTML)表单用于搜集 不同类型的用户输入, 下面均用表单来简称 HTML表单。 表单是一个包含 表单元素的区域, 允许用户在表单中输入信息的元素, 比如: 文本域、 下 拉列表、 单选框、 复选框等等, 表单可以使用表单标签来进行定义。  The Hyper Text Markup Language (HTML) form is used to collect different types of user input. The following forms use forms to refer to HTML forms. A form is an area that contains form elements, allowing users to enter elements of information into a form, such as: text fields, drop-down lists, radio buttons, check boxes, and so on. Forms can be defined using form tags.
通常的表单标签有多种, 比如: <&1111>用来定义供用户输入的表单, <1叩1^>用来定义为输入域, <〖6 1 >用来定义文本域, <^ 61>用于定义 一个控制的标签, <fieldset>用于定义域, <legend>用于定义域的标题, <select>用于定义一个选择列表, <optgroup>用于定义选项组, <(^1 11>用 于定义下拉列表中的选项, <½«011>用于定义一个按钮。  There are a variety of form tags, such as: <&1111> is used to define the form for user input, <1叩1^> is used to define the input field, <6 1> is used to define the text field, <^ 61> Used to define a control tag, <fieldset> is used to define the field, <legend> is used to define the title of the field, <select> is used to define a selection list, <optgroup> is used to define the option group, <(^1 11 > Used to define options in the drop-down list, <1⁄2«011> is used to define a button.
多数情况下被用到的表单标签是输入标签 ( <input> ) , 其输入类型是由 类型属性(type )定义的, 大多数经常被用到的输入类型有以下几种: 文本 域(Text Fields ), 当用户要在表单中键入字母、 数字等内容时, 就会用到 文本域; 单选按钮( Radio Buttons ), 当用户从若干给定的选择中选取其一 时, 就会用到单选框; 复选框( Checkboxes ), 当用户需要从若干给定的选 择中选取一个或若干选项时, 就会用到复选框; 提交(submit ), 当用户输 入内容结束时, 用于提交输入的内容。  The form tags used in most cases are input tags ( <input> ) whose input type is defined by the type attribute (type ). Most of the input types that are often used are the following: Text Fields ), when the user wants to type letters, numbers, etc. in the form, the text field is used; Radio Buttons, when the user selects one of several given choices, the radio is used. Checkboxes, checkboxes are used when the user needs to select one or several options from several given choices; submit, which is used to submit input when the user input ends. Content.
表单的动作 (Action ) 属性定义了一个统一资源定位符 (Universal Resource Locator ,URL ), 该 URL指示了向何处发送表单数据。 由动作属性 定义的文件通常会对接收到的输入数据进行相关的处理。 当用户单击确认 按钮时, 表单的内容会被发送到服务器, 服务器根据该 URL将表单内容跳 转到该目的文件中。 下面举一个具体例子, 如附图 1为一个表单的 HTML代码, 名字, 姓 氏, 用户名三个表单元素对应的标签均为输入 <input>, 输入类型均为文本 域 text, 提交按钮的对应的标签也是输入 <input>, 输入类型为提交 submit; 当将该段 HTML代码加载到浏览器中时, 浏览器显示的效果如图 2所示。 如果用户在表单的文本框中输入内容, 并点击 "提交 "按钮时, 那么输入数 据会被传送到服务器上名为 "html— form— submitjsp" 的页面,这一页将显示 出输入的结果。 The action attribute of the form defines a Uniform Resource Locator (URL) that indicates where to send the form data. Files defined by action attributes are typically processed in relation to the received input data. When the user clicks the confirmation button, the content of the form is sent to the server, and the server jumps the form content to the destination file according to the URL. A specific example is given below, as shown in Figure 1. The HTML code of a form, name, surname, and user name are all input <input>, and the input type is text field text, corresponding to the submit button. The tag is also the input <input>, and the input type is submit submit; when the piece of HTML code is loaded into the browser, the effect of the browser display is shown in Figure 2. If the user types in the text box of the form and clicks the "Submit" button, then the input data is transferred to the page named "html_form_submitjsp" on the server, which will display the result of the input.
然而, 上述表单提交方式, 数据提交范围限定为整个页面内的全部输 入区域, 但是网页开发者常常希望能够灵活的指定一个页面中某些输入区 域需要参与提交, 某些输入区域不需要提交, 该表单提交方式将无法实现 这种目的, 这样给网页的开发带来了不便。 发明内容  However, in the above form submission method, the data submission scope is limited to all input areas in the entire page, but web developers often want to be able to flexibly specify that certain input areas in a page need to participate in submission, and some input areas do not need to be submitted. Form submission methods will not be able to achieve this purpose, which will bring inconvenience to the development of web pages. Summary of the invention
本发明实施例提供一种网页数据提交的方法及装置, 用以在网页数据提 交的过程中, 灵活地提交部分网页页面数据, 避免了提交了整个网页指定 的提交区域的页面数据。  The embodiment of the invention provides a method and a device for submitting webpage data, which are used to flexibly submit partial webpage page data in the process of submitting webpage data, thereby avoiding submitting page data of a submission area specified by the entire webpage.
本发明实施例的第一个方面是提供网页数据提交的方法, 网页页面被设 置为两个以上的提交区域, 该方法包括:  A first aspect of the embodiments of the present invention provides a method for submitting webpage data. The webpage page is set to two or more submission areas, and the method includes:
当检测到区域提交标签包含的区域提交事件被触发时, 获取区域提交标 签包含的一个或两个以上区域标识, 区域标识用于标识用户选择的提交区 域; 根据区域标识, 获取区域标识对应的提交区域的页面数据; 向服务器 发送获取到的页面数据。  When it is detected that the area submission event included in the area submission label is triggered, the area submission label includes one or more area identifiers, and the area identifier is used to identify the submission area selected by the user; according to the area identifier, the submission corresponding to the area identifier is obtained. The page data of the area; sends the acquired page data to the server.
上述提供网页数据提交的方法, 还包括: 在检测到区域提交标签包含的 区域提交事件被触发之前, 向服务器发送页面加载请求, 接收服务器返回 的页面加载数据, 页面加载数据包含了区域提交标签, 区域提交标签包含 了区域提交事件和区域标识。  The method for providing webpage data submission further includes: sending a page loading request to the server, receiving a page loading data returned by the server, and receiving the area submission label, before detecting that the area submission event included in the area submission label is triggered. The zone submission tag contains the zone submission event and the zone ID.
上述提供网页数据提交的方法, 还包括: 根据页面加载数据, 进行页面 加载; 在页面加载完成后, 根据区域提交标签, 启动对区域提交事件是否 被触发的检测, 区域提交事件具体为超文本标记语言 HTML事件。  The method for providing webpage data submission further includes: loading the page according to the page loading data; after the page is loaded, according to the area submitting the label, starting to detect whether the area submitting event is triggered, and the area submitting event is specifically a hypertext markup. Language HTML event.
上述提供网页数据提交的方法中, 启动对区域提交事件是否被触发的检 测, 具体包括: 启动事件处理函数, 事件处理函数用于检测区域提交事件 是否被触发;  In the above method for providing webpage data submission, the detecting of whether the region submitting event is triggered is specifically included: starting an event processing function, and the event processing function is configured to detect whether the region submitting event is triggered;
当检测到区域提交标签包含的区域提交事件被触发时, 获取区域提交标 签包含的一个或两个以上区域标识; 根据区域标识, 获取区域标识对应的 页面数据; 具体包括: 当事件处理函数检测到区域提交事件被触发时, 获 取区域提交标签包含的区域标识; , 区域 识, 获取区域 识对应的页 入组件标签和用户输入的数据。 When the area submission event included in the area submission label is detected to be triggered, the acquisition area is submitted. The one or more area identifiers included in the sign are obtained. The page data corresponding to the area identifier is obtained according to the area identifier. The specific information includes: when the event processing function detects that the area commit event is triggered, acquiring the area identifier included in the area submission label; Knowledge, get the page entry component tag corresponding to the area and the data entered by the user.
上述提供网页数据提交的方法, 还包括: 在向服务器发送页面加载请求 前, 网页开发者进行提交区域的设置, 并开发一段 Java服务器页面 JSP代 码, JSP代码中包含了区域提交标签。  The method for providing webpage data submission further includes: before sending the page load request to the server, the webpage developer sets the submission area, and develops a JSP code of the Java server page, and the JSP code includes the area submission label.
上述提供网页数据提交的方法中, 向服务器发送页面加载请求, 接收服 务器返回的页面加载数据, 具体包括: 向服务器发送页面加载请求, 以便 于服务器根据页面加载请求获取到开发的 JSP代码, 并将 JSP代码进行解 析, 生成了收集脚本和检测脚本; 接收服务器返回的页面加载数据, 页面 加载数据包含了收集脚本和检测脚本。  The method for providing webpage data submission, sending a page load request to the server, and receiving the page load data returned by the server, specifically: sending a page load request to the server, so that the server obtains the developed JSP code according to the page load request, and The JSP code is parsed to generate a collection script and a detection script; the page load data returned by the receiving server is received, and the page loading data includes a collection script and a detection script.
上述提供网页数据提交的方法中, 启动事件处理函数, 具体包括: 通过 执行检测脚本来启动事件处理函数;  In the above method for providing webpage data submission, starting an event processing function specifically includes: starting an event processing function by executing a detection script;
当事件处理函数检测到区域提交事件被触发时, 获取区域提交标签包含 的区域标识, 根据区域标识, 获取区域标识对应的页面数据, 具体包括: 当事件处理函数检测到区域提交事件被触发时, 通过执行收集脚本, 从而 获取区域提交标签包含的区域标识, 并根据区域标识, 获取区域标识对应 的页面数据。  When the event processing function detects that the area submission event is triggered, the area identifier included in the area submission label is obtained, and the page data corresponding to the area identifier is obtained according to the area identifier, specifically: when the event processing function detects that the area submission event is triggered, The area identifier included in the area submission label is obtained by executing the collection script, and the page data corresponding to the area identifier is obtained according to the area identifier.
上述提供网页数据提交的方法中, 向服务器发送获取到的页面数据, 具 体包括: ^^: 求对, ,'一、向服 器发 ^异步请求, 异步请求包含了获 上述提供网页数据提交的方法, 还包括: 接收所述服务器返回的异步响 应, 所述异步响应包含了所述一个或两个以上区域标识, 根据所述区域标 识, 对区域标识对应的页面进行刷新。  In the method for providing webpage data submission, the obtained page data is sent to the server, and specifically includes: ^^: seeking, , 'one, sending an asynchronous request to the server, and the asynchronous request includes submitting the webpage data provided by the foregoing. The method further includes: receiving an asynchronous response returned by the server, where the asynchronous response includes the one or more area identifiers, and refreshing, according to the area identifier, a page corresponding to the area identifier.
本发明实施例的第二个方面是网页数据提交的装置, 包括:  A second aspect of the embodiment of the present invention is a device for submitting webpage data, including:
数据获取模块, 用于当检测到区域提交标签包含的区域提交事件被触发 时, 获取区域提交标签包含的一个或两个以上区域标识, 区域标识用于标 识用户选择的提交区域; 并根据区域标识, 获取区域标识对应的提交区域 的页面数据; 数据发送模块, 用于向服务器发送获取到的页面数据。  The data obtaining module is configured to: when detecting that the area submitting event included in the area submission label is triggered, acquiring one or more area identifiers included in the area submission label, where the area identifier is used to identify the submission area selected by the user; and according to the area identifier And acquiring the page data of the submission area corresponding to the area identifier; and the data sending module, configured to send the acquired page data to the server.
上述网页数据提交的装置, 还包括: 请求发送模块, 用于向服务器发送 页面加载请求; 数据接收模块, 用于接收服务器返回的页面加载数据, 页 面加载数据包含了区域提交标签, 区域提交标签包含了区域提交事件和区 域提交标识。 上述网页数据提交的装置, 还包括: 加载模块, 用于根据页面加载数据, 进行页面加载; 检测模块, 用于在页面加载完成后, 根据区域提交标签, 启动对区域提交事件是否被触发的检测, 区域提交事件具体为超文本标记 语言 HTML事件。 The device for submitting the webpage data further includes: a request sending module, configured to send a page loading request to the server; a data receiving module, configured to receive page loading data returned by the server, where the page loading data includes a region submission label, and the area submission label includes The zone submission event and the zone submission identifier. The device for submitting the webpage data further includes: a loading module, configured to load the data according to the page, and a page loading; and a detecting module, configured to: after the page is loaded, submit a label according to the area, and start detecting whether the area submitting event is triggered The zone submission event is specifically a hypertext markup language HTML event.
在上述网页数据提交的装置中, 检测模块具体用于在页面加载完成后, 根据区域提交标签, 启动事件处理函数, 事件处理函数用于检测区域提交 事件是否被触发; 数据获取模块具体用于当事件处理函数检测到区域提交 事件被触发时, 获取区域提交标签包含的一个或两个以上区域标识; 并根 据区域标识, 获取区域标识对应的页面数据。  In the device for submitting the webpage data, the detecting module is specifically configured to: after the page is loaded, start the event processing function according to the area submission label, and the event processing function is used to detect whether the area submission event is triggered; the data acquisition module is specifically used when When the event processing function detects that the area submission event is triggered, the one or more area identifiers included in the area submission label are obtained; and the page data corresponding to the area identifier is obtained according to the area identifier.
在上述网页数据提交的装置中, 数据发送模块, 进一步包括: 对象创建 单元, 用于创建数据请求对象, 异步请求发送单元, 用于向服务器发送异 步请求, 异步请求包含了获取到的区域提交标签的区域标识对应的区域页 面数据。  In the device for submitting the webpage data, the data sending module further includes: an object creating unit, configured to create a data request object, an asynchronous request sending unit, configured to send an asynchronous request to the server, and the asynchronous request includes the obtained area submitting the label. The area identifier corresponds to the area page data.
上述网页数据提交的装置, 还包括: 刷新模块, 用于接收所述服务器返 回的异步响应, 所述异步响应包含了所述一个或两个以上区域标识, 并根 据所述区域标识, 对区域标识对应的页面进行刷新。 在本发明实施例中, 由于区域提交标签中包含了一个或两个以上区域 标识, 区域标识唯一对应了一个的提交区域, 这样网页数据提交的装置就 可以根据一个或多个区域标识, 获取该区域标识对应的提交区域的页面数 据, 从而无需提交整个网页页面数据, 而可以灵活地提交了区域标识对应 的提交区域的页面数据, 进一步地提高了网页开发者的开发自由度。 附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对 实施例或现有技术描述中所需要使用的附图作一简单地介绍, 显而易见地, 下面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。  The device for submitting the webpage data further includes: a refreshing module, configured to receive an asynchronous response returned by the server, where the asynchronous response includes the one or more area identifiers, and according to the area identifier, the area identifier The corresponding page is refreshed. In the embodiment of the present invention, since the area submission label includes one or more area identifiers, the area identifier uniquely corresponds to one submission area, so that the device for submitting the webpage data can obtain the identifier according to one or more area identifiers. The area identifier corresponds to the page data of the submission area, so that the page data of the submission area corresponding to the area identifier can be flexibly submitted without submitting the entire webpage page data, thereby further improving the development freedom of the webpage developer. BRIEF DESCRIPTION OF THE DRAWINGS In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. The drawings are some embodiments of the present invention, and those skilled in the art can obtain other drawings based on these drawings without any inventive labor.
图 1为现有技术的表单 HTML代码示意图;  1 is a schematic diagram of a prior art form HTML code;
图 2为图 1的 HTML代码在浏览器显示页面效果示意图;  2 is a schematic diagram showing the effect of the HTML code of FIG. 1 in a browser display page;
图 3为本发明一个实施例提供的网页数据提交方法的流程图; 图 4为本发明一个实施例网页页面区域划分的示意图;  FIG. 3 is a flowchart of a webpage data submission method according to an embodiment of the present invention; FIG. 4 is a schematic diagram of a webpage page area division according to an embodiment of the present invention;
图 5为本发明另一个实施例提供的网页数据提交方法的流程图; 图 6为本发明一个实施例提供的图 4所对应的代码示意图; 图 7为本发明一个实施例提供的网页数据提交的装置结构示意图; 图 8为本发明另一个实施例提供的网页数据提交的装置结构示意图。 具体实施方式 FIG. 5 is a flowchart of a method for submitting webpage data according to another embodiment of the present invention; FIG. 6 is a schematic diagram of a code corresponding to FIG. 4 according to an embodiment of the present invention; FIG. 7 is a schematic structural diagram of an apparatus for submitting webpage data according to an embodiment of the present invention; FIG. 8 is a schematic structural diagram of an apparatus for submitting webpage data according to another embodiment of the present invention. detailed description
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进 行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没 有作出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的 范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
先介绍本发明实施例提供的网页数据提交方法, 网页数据提交方法描 述的是浏览器的处理流程; 图 3描述了本发明一个实施例提供的网页数据 提交方法的流程, 网页页面被设置为两个以上的提交区域, 方法包括:  The webpage data submission method provided by the embodiment of the present invention is described first. The webpage data submission method describes the processing flow of the browser. FIG. 3 depicts the flow of the webpage data submission method provided by an embodiment of the present invention. The webpage page is set to two. More than one submission area, methods include:
301、 当检测到区域提交标签包含的区域提交事件被触发时, 获取所述区 域提交标签包含的一个或两个以上区域标识(identity, ID ), 所述区域 ID 用于标识用户选择的提交区域; 301. When it is detected that the area submission event included in the area submission label is triggered, obtain one or more area identifiers (identities, IDs) included in the area submission label, where the area ID is used to identify the submission area selected by the user. ;
302、 根据所述区域标识, 获取所述区域标识对应的提交区域的页面数 据; 302. Obtain, according to the area identifier, page data of a submission area corresponding to the area identifier.
303 , 向服务器发送所述获取到的页面数据。 在本发明实施例中, 由于区域提交标签中包含了一个或两个以上区域 标识, 区域标识唯一对应了一个的提交区域, 这样网页数据提交的装置就 可以根据一个或多个区域标识, 获取该区域标识对应的提交区域的页面数 据, 从而无需提交整个网页页面数据, 而只是提交了区域标识对应的提交 区域的页面数据, 进一步地提高了网页开发者的开发自由度。 在本发明的各个实施例中, 对网页中的需要进行数据提交的范围可以 划分不同的提交区域 (region), 提交区域可以是网页中任意的输入标签及其 内部输入标签所对应的文档对象模型 (Document Object Model, DOM )所 构成的页面元素子集合。 如附图 4的浏览器显示的页面示意图中, 有 3个 独立的提交区域, 输入区域的 "名字" 和 "姓氏" 划分成的基本(basic ) 区域, 输入区域的 "用户名" 划分成的用户 (user ) 区域, 输入区域的 "住 址" 可以划分成的高级 ( advance ) 区域, 当然也可以将 basic 区域、 user 区域或 advance区域任意两个组成一个提交区域, 或将 basic区域、 user区 域和 advance区域共同组成一个提交区域,对于如何划分提交区域, 可以网 页开发者自己进行设定。 每个提交区域都有一个区域 ID来唯一标识。 图 5描述了本发明另一个实施例提供的网页数据提交方法的流程, 该 实施例中以图 4 的显示的页面内容为例进行说明。 该实施例描述的是浏览 器的处理流程, 该实施例包括: 303. Send the obtained page data to a server. In the embodiment of the present invention, since the area submission label includes one or more area identifiers, the area identifier uniquely corresponds to one submission area, so that the device for submitting the webpage data can obtain the identifier according to one or more area identifiers. The area identifier corresponds to the page data of the submission area, so that the entire page page data need not be submitted, but only the page data of the submission area corresponding to the area identifier is submitted, which further improves the development freedom of the web page developer. In various embodiments of the present invention, the range of data submission in the webpage may be divided into different submission regions, and the submission region may be any input label in the webpage and a document object model corresponding to the internal input label. (Document Object Model, DOM) A subset of page elements. As shown in the page diagram of the browser shown in Figure 4, there are 3 A separate submission area, a basic area in which the "name" and "last name" of the input area are divided, a user (user) area in which the "user name" of the input area is divided, and an "address" of the input area can be divided into In the advanced (advance) area, of course, any two areas of the basic area, the user area, or the advance area can be combined into one submission area, or the basic area, the user area, and the advance area can be combined to form a submission area. The developer makes the settings themselves. Each submission area has a zone ID to uniquely identify it. FIG. 5 is a flowchart of a method for submitting webpage data according to another embodiment of the present invention. The content of the webpage shown in FIG. 4 is taken as an example for description. This embodiment describes the processing flow of the browser, and the embodiment includes:
501、 网页开发者进行网页开发时, 根据需要进行代码开发, 并把开发 好的代码存储到服务器中。 该实施例中, 网页开发者可以通过提交区域划分和区域提交标签的设 定从而可以提交指定的提交区域的页面数据。 区域提交标签包含了区域提 交标签名, 区域提交事件以及区域 ID。 区域提交标签名用于标识该标签是 区域提交标签; 当区域提交事件被触发时, 网页数据提交的装置将提交指 定的提交区域的网页数据; 一个区域 ID唯一对应了一个指定的提交区域, 区域 ID可以只有一个, 也可以有两个以上, 如果区域 ID有两个以上的话, 区域 ID之间需要通过某种分隔符进行隔开。例如:该分隔符可以为逗号 "," 来表示。 例如: 在 Java2平台企业版( Java 2 Platform Enterprise Edition, J2EE ) 环境中定义一个格式为 Java服务器页面 (Java Server Pages, JSP ) 的区域 提交标签, 该区域提交标签名为 <fire>, 区域提交事件可以为一个 HTML 事件, 比如: 鼠标单击事件 onclick。 根据上述提交区域的设置, 网页开发者开发了一段代码存储在服务器 中, 该段代码由部分 HTML源代码和部分 JSP代码, 对于 JSP代码而言, 当该 JSP代码加载到终端的浏览器时, 服务器需要将该段 JSP代码转换成 HTML代码。 如附图 6 所示为在服务器中存储的代码, 该代码包含了三个独立的提 交区域和一个提交区域标签。其中,一个提交区域的 ID="basic" ,它的 HTML 标签为 <div> , 其中该表单标签 <div>可定义文档中的分区或节 ( division/section ), 可以 4巴文档分割为独立的、 不同的部分; 其内部包含有 两个文本输入区域, 分别为名字和姓氏, 即其对应的网页页面内容是名字 和姓氏的区域。 另一个提交区域的 ID= "user" , 它的表单标签为< input >, 是一个文本输入区域, 即其对应的网页页面内容是用户名的区域。 再一个 提交区域的 ID= "advance" , 它的表单标签为 < span>, <span> 标签被用来 组合文档中的行内元素, 其内部包含一个文本输入区域, 即其对应的网页 页面内容是地址的区域。 另外, 还包括一段按钮标签 button, 该 button的值 为 "提交", 其包含了一个提交区域标签, 该提交区域标签包含的指定的提 交区域为 "basic"和 "user" , 该提交区域标签的事件为 onclick, 也就是说, 当网页开发者或用户用鼠标单击按钮 "提交" 时, 就触发提交区域标签的 事件, 进一步的将触发终端向服务器提交区域 ID为 "basic" 和 "user" 的 网页数据。 其中该段 button标签的内容是用 JSP语言来描述的。 501. When web developers develop web pages, code development is performed as needed, and the developed code is stored in the server. In this embodiment, the web page developer can submit the page data of the specified submission area by submitting the area division and the area submission label setting. The zone submission tag contains the zone submission tag name, the zone submission event, and the zone ID. The area submission tag name is used to identify that the tag is a zone submission tag; when the zone submission event is triggered, the device for submitting the webpage data submits the webpage data of the specified submission area; a zone ID uniquely corresponds to a specified submission zone, the zone There may be only one ID or more than two IDs. If there are more than two area IDs, the area IDs need to be separated by some kind of separator. For example: the separator can be represented by a comma ",". For example: In the Java 2 Platform Enterprise Edition (J2EE) environment, define a zone submission label in the format of Java Server Pages (JSP). The zone submits the tag name <fire>, the zone commit event. Can be an HTML event, such as: mouse click event onclick. According to the above-mentioned submission area setting, the web developer develops a piece of code stored in the server, the piece of code is composed of part of the HTML source code and part of the JSP code, and for the JSP code, when the JSP code is loaded into the browser of the terminal, The server needs to convert the piece of JSP code into HTML code. Figure 6 shows the code stored in the server, which contains three separate submission areas and one submission area label. Among them, a submission area ID = "basic", its HTML tag is <div>, where the form tag <div> can define a partition or section (division / section) in the document, can be divided into 4 independent documents , different parts; its internal contains two text input areas, respectively, the first name and last name, that is, the corresponding page content of the page is the name and last name of the area. The ID of another commit area is "user" , and its form tag is < input >, which is a text input area, that is, the area where the corresponding web page content is the user name. Another submission area ID = "advance" , its form tag is <span>,<span> tag is used to combine the inline elements in the document, which contains a text input area, that is, its corresponding page page content is The area of the address. In addition, a button label button is included, and the button has a value of "commit", which includes a submission area label, and the submission area label includes a specified submission area of "basic" and "user", and the submission area label The event is onclick, that is, when the web developer or user clicks the button "submit" with the mouse, the event of submitting the area label is triggered, and the trigger terminal is further submitted to the server with the area IDs "basic" and "user". Web page data. The content of the button label is described in the JSP language.
502、 用户通过在网页数据提交的装置上的浏览器输入 URL向服务器 发送该页面加载请求。 这里的用户可以是网页开发者, 也可以是普通的终端用户。 上述网页 数据提交的装置可以包括台式计算机, 笔记本, 手机, PDA, 平台电脑, 电子书等。 502. The user sends the page load request to the server by using a browser input URL on the device submitted by the webpage data. The user here can be a web developer or an ordinary end user. The device for submitting the above webpage data may include a desktop computer, a notebook, a mobile phone, a PDA, a platform computer, an e-book, and the like.
503、 服务器接收和解析页面加载请求, 并向网页数据提交的装置发送页 面加载数据, 该页面加载数据包含了 HTML展现元素和该区域提交标签。 服务器根据页面加载请求获取到上述代码, 并将该段代码中的 JSP代 码进行解析, 生成了一段收集脚本和一段检测脚本, 并将这两段脚本、 区 域提交标签和 HTML展现元素作为页面加载数据一起发送给网页数据提交 的装置中的浏览器进行加载。 503. The server receives and parses the page load request, and sends a page load data to the device submitted by the webpage data, where the page load data includes an HTML presentation element and the area submission label. The server obtains the above code according to the page loading request, and parses the JSP code in the piece of code, generates a collection script and a detection script, and loads the two scripts, the area submission label and the HTML presentation element as page loading data. The browsers sent to the web page data submission device are loaded together.
504、 网页数据提交的装置接收页面加载数据, 并进行页面加载。 当在网页加载时, 上述两段脚本、 区域提交标签和 HTML展现元素一 起被加载到网页数据提交的装置中的浏览器中。 在上述网页加载完成后, 执行检测脚本, 从而注册了一个事件处理函数, 也就是说, 浏览器执行这 段检测脚本时启动一个事件处理函数进行检测区域提交事件是否被触发 了。 当用户操作触发了该区域提交标签包含的区域提交事件时, 该事件处 理函数可以监听到该区域提交事件被触发了。 例如, 假设网页开发者设置 区域 ID为 basic和 user的两个提交区域共同组成一个提交区域, 区域提交 标签对应的 HTML事件为鼠标事件, 其具体属性可以为 onclick, 如果用户 通过鼠标点击相应的提交标签时, 事件处理函数将监听到区域提交事件被 触发了。 504. The device for submitting the webpage data receives the page loading data, and performs page loading. When the web page is loaded, the above two scripts, the area submission tag, and the HTML presentation element are loaded into the browser in the device of the web page data submission. After the above webpage is loaded, the detection script is executed, thereby registering an event processing function, that is, when the browser executes the detection script, an event processing function is started to detect whether the detection area submission event is triggered. When the user action triggers the zone commit event contained in the zone submission tag, the event handler can listen to the zone commit event being triggered. For example, suppose the web developer sets the two submission areas whose area ID is basic and user to form a submission area. The HTML event corresponding to the area submission label is a mouse event, and its specific attribute can be onclick, if the user clicks the corresponding submission by mouse click. When the tag is called, the event handler will listen for the zone commit event to be triggered.
505、当用户在整个页面的部分区域中输入内容后,准备提交部分页面, 即触发了区域提交标签包含的区域提交事件。 具体的: 当用户需要提交 basic和 user两个提交区域的页面数据时, 用 鼠标点击提交按钮, 即区域提交事件被触发了, 事件处理函数检测到区域 提交事件被触发了, 网页数据提交的装置确定了区域提交事件被触发后, 执行收集脚本。 当 HTML事件不是区域提交事件时, 这类 HTML事件将被 忽略, 没有后续处理。 505. When the user inputs content in a partial area of the entire page, preparing to submit a partial page, that is, triggering the area submission event included in the area submission label. Specifically: When the user needs to submit the page data of the basic submission area and the user, click the submit button with the mouse, that is, the area submission event is triggered, and the event processing function detects that the area submission event is triggered, and the device for submitting the webpage data is triggered. After the zone commit event is determined to be triggered, the collection script is executed. When an HTML event is not a zone commit event, such HTML events will be ignored and will not be processed.
506、 网页数据提交的装置获取与区域 ID对应的提交区域的页面数据。 网页数据提交的装置执行上述收集脚本, 将获取区域提交标签包含的 区域 ID , 并依次获取每一个区域 ID对应的提交区域的页面数据, 其中页面 数据包含了提交区域对应的 HTML展现元素内部的所有输入组件标签以及 用户输入的数据。 例如: 对于区域 ID为 basic, 网页数据提交的装置执行收集脚本, 从而 调用浏览器编程接口 getElementsByTa,获取该区域 ID为 basic所对应 HTML 展现元素内部的所有输入组件标签以及用户输入的数据。 例如: 文本输入 区域 (input)以及该文本输入区域对应的用户输入的数据。 506. The device for submitting the webpage data acquires page data of the submission area corresponding to the area ID. The device for submitting the webpage data executes the above collection script, and acquires the area ID included in the area submission label, and sequentially acquires the page data of the submission area corresponding to each area ID, wherein the page data includes all the internal parts of the HTML presentation element corresponding to the submission area. Enter the component label and the data entered by the user. For example, for the device whose area ID is basic, the webpage data submission executes a collection script, and then calls the browser programming interface getElementsByTa to obtain all the input component tags and the data input by the user in the HTML presentation element corresponding to the area ID. For example: text input area (input) and the data entered by the user corresponding to the text input area.
507、 当网页数据提交的装置成功获取区域提交标签包含的区域 ID对应 的页面数据后, 网页数据提交的装置创建数据请求对象, 向服务器发起超 文本传送协议 ( hypertext transport protocol, HTTP )异步请求, 该 HTTP异 步请求包含了上述的获取到页面数据, 将上述获取到页面数据发送至服务 器, 其中, 数据请求对象为 XmlHttpRequest对象。 507. When the device that submits the webpage data successfully obtains the area ID corresponding to the area submission label, After the page data is submitted, the device for submitting the webpage data creates a data request object, and initiates a hypertext transport protocol (HTTP) asynchronous request to the server, where the HTTP asynchronous request includes the obtained page data, and the obtained page is obtained. The data is sent to the server, where the data request object is an XmlHttpRequest object.
508、 服务器根据业务处理逻辑对所接收到的数据进行必要的处理后, 向 网页数据提交的装置发送 HTTP异步响应,该 HTTP异步响应包含了上述区 域标识, 网页数据提交的装置收到响应后对区域标识对应的页面进行部分 区域刷新或者完全刷新、 异常提示等后处理。 在本发明实施例中, 由于网页数据提交的装置根据区域提交标签包含 的一个或多个的区域 ID,获取区域 ID对应的提交区域的页面数据,从而实 现了提交指定区域的页面数据, 进一步提高了网页开发者开发自由度。 另 外, 由于网页数据提交的装置可以接收服务器发送部分区域网页刷新时, 可以无需刷新整个网页页面, 因此减少了带宽的消耗。 进一步的, 由于通 过区域提交标签可以简明便捷的描述网页数据提交范围, 从而使得编程方 式实现简单, 降低了网页开发的难度, 减少了与服务器之间交互, 提高网 页维护性。 图 7描述了本发明一个实施例提供的网页数据提交的装置结构示意图, 包括: 508. After performing the necessary processing on the received data according to the service processing logic, the server sends an HTTP asynchronous response to the device submitted by the webpage data, where the HTTP asynchronous response includes the area identifier, and the device that submits the webpage data receives the response. The page corresponding to the area identifier performs partial area refresh or full refresh, abnormal prompt, and the like. In the embodiment of the present invention, the device that submits the webpage data obtains the page data of the submission area corresponding to the area ID according to the area ID of the one or more areas included in the label, thereby implementing the page data of the submission area, and further improving Web developer development freedom. In addition, since the device for submitting the webpage data can receive the partial area webpage refresh by the server, the entire webpage page need not be refreshed, thereby reducing the bandwidth consumption. Further, since the submission of the label through the area can describe the scope of the webpage data submission in a concise and convenient manner, the programming method is simple to implement, the difficulty of webpage development is reduced, the interaction with the server is reduced, and the maintenance of the webpage is improved. FIG. 7 is a schematic structural diagram of an apparatus for submitting webpage data according to an embodiment of the present invention, including:
数据获取模块 71 , 用于当检测到区域提交标签包含的区域提交事件被 触发时, 获取所述区域提交标签包含的一个或两个以上区域标识, 所述区 域标识用于标识用户选择的提交区域; 并根据所述区域标识, 获取所述区 域标识对应的提交区域的页面数据;  The data obtaining module 71 is configured to: when it is detected that the area submission event included in the area submission label is triggered, obtain one or more area identifiers included in the area submission label, where the area identifier is used to identify the submission area selected by the user. And obtaining, according to the area identifier, page data of the submission area corresponding to the area identifier;
数据发送模块 72, 用于向服务器发送获取到的页面数据。 可选的, 如图 8所示, 网页数据提交的装置还包括:  The data sending module 72 is configured to send the acquired page data to the server. Optionally, as shown in FIG. 8, the device for submitting webpage data further includes:
请求发送模块 73 , 用于向所述服务器发送页面加载请求; 数据接收模 块 74, 用于接收所述服务器返回的页面加载数据, 所述页面加载数据包含 了所述区域提交标签, 所述区域提交标签包含了所述区域提交事件和所述 区域提交标识。 可选的, 如图 8所示, 网页数据提交的装置还包括: 加载模块 75, 用 于根据所述页面加载数据, 进行页面加载; a request sending module 73, configured to send a page load request to the server; a data receiving module 74, configured to receive page load data returned by the server, where the page load data includes the area submission label, and the area submission The tag contains the zone submission event and the zone submission identifier. Optionally, as shown in FIG. 8, the device for submitting webpage data further includes: a loading module 75, configured to perform page loading according to the page loading data;
检测模块 76, 用于在页面加载完成后, 根据所述区域提交标签, 启动 对所述区域提交事件是否被触发的检测, 所述区域提交事件具体为超文本 标记语言 HTML事件。 可选的, 检测模块 76具体用于在页面加载完成后, 根据所述区域提交 标签, 启动事件处理函数, 所述事件处理函数用于检测所述区域提交事件 是否被触发; 数据获取模块 71具体用于当所述事件处理函数检测到所述区 域提交事件被触发时, 获取所述区域提交标签包含的一个或两个以上区域 标识; 并根据所述区域标识, 获取所述区域标识对应的页面数据。 可选的, 如图 8所示, 数据发送模块 72, 进一步包括:  The detecting module 76 is configured to: after the page loading is completed, submit a label according to the area, and start detecting whether the event is triggered by the area, and the area submitting event is specifically a hypertext markup language HTML event. Optionally, the detecting module 76 is specifically configured to: after the page is loaded, submit a label according to the area, and start an event processing function, where the event processing function is used to detect whether the area submit event is triggered; the data acquiring module 71 is specific. And when the event processing function detects that the area submission event is triggered, acquiring one or more area identifiers included in the area submission label; and acquiring, according to the area identifier, a page corresponding to the area identifier data. Optionally, as shown in FIG. 8, the data sending module 72 further includes:
对象创建单元 721 , 用于创建数据请求对象, 异步请求发送单元 722, 用于向服务器发送异步请求, 异步请求包含了所述获取到区域提交标签的 区域标识对应的区域页面数据。  The object creation unit 721 is configured to create a data request object, and the asynchronous request sending unit 722 is configured to send an asynchronous request to the server, where the asynchronous request includes the area page data corresponding to the area identifier of the obtained area submission label.
可选的, 如图 8所示, 网页数据提交的装置还包括: 刷新模块 77, 用 于接收所述服务器返回的异步响应, 所述异步响应包含了所述一个或两个 以上区域标识, 并根据所述区域标识, 对区域标识对应的页面进行刷新。 在本发明实施例中, 由于网页数据提交的装置根据区域提交标签包含 的一个或多个的区域 ID,获取区域 ID对应的提交区域的页面数据,从而实 现了提交指定区域的页面数据, 进一步提高了网页开发者开发自由度。 另 外, 由于网页数据提交的装置可以接收服务器发送部分区域网页刷新时, 可以无需刷新整个网页页面, 因此减少了带宽的消耗。 进一步的, 由于通 过区域提交标签可以简明便捷的描述网页数据提交范围, 从而使得编程方 式实现简单, 降低了网页开发的难度, 减少了与服务器之间交互, 提高网 页维护性。  Optionally, as shown in FIG. 8, the apparatus for submitting webpage data further includes: a refreshing module 77, configured to receive an asynchronous response returned by the server, where the asynchronous response includes the one or more area identifiers, and Refreshing the page corresponding to the area identifier according to the area identifier. In the embodiment of the present invention, the device that submits the webpage data obtains the page data of the submission area corresponding to the area ID according to the area ID of the one or more areas included in the label, thereby implementing the page data of the submission area, and further improving Web developer development freedom. In addition, since the device for submitting the webpage data can receive the partial area webpage refresh by the server, the entire webpage page need not be refreshed, thereby reducing the bandwidth consumption. Further, since the submission of the label through the area can describe the scope of the webpage data submission in a concise and convenient manner, the programming method is simple to implement, the difficulty of webpage development is reduced, the interaction with the server is reduced, and the maintenance of the webpage is improved.
上述装置内的各模块之间的信息交互、 执行过程等内容, 由于与本发 明方法实施例基于同一构思, 具体内容可参见本发明方法实施例中的叙述, 此处不再赘述。  The content of the information exchange, the execution process, and the like in the above-mentioned devices are based on the same concept as the method embodiment of the present invention. For details, refer to the description in the method embodiment of the present invention, and details are not described herein again.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流 程, 是可以通过计算机程序来指令相关的硬件来完成, 上述的程序可存储 于一计算机可读取存储介质中, 该程序在执行时, 可包括如上述各方法的 实施例的流程。 其中, 上述的存储介质可为磁碟、 光盘、 只读存储记忆体Those skilled in the art can understand that all or part of the flow in the method of the above embodiment is implemented. The program may be implemented by a computer program to instruct related hardware. The above program may be stored in a computer readable storage medium, and the program may include a flow of an embodiment of the methods as described above. The above storage medium may be a magnetic disk, an optical disk, or a read-only memory.
( ROM: Read-Only Memory )或随机存 ϋ己忆体(RAM: Random Access Memory )等。 实施例的说明只是用于帮助理解本发明的方法及其思想; 同时, 对于本领 域的一般技术人员, 依据本发明的思想, 在具体实施方式及应用范围上均 会有改变之处, 综上所述, 本说明书内容不应理解为对本发明的限制。 (ROM: Read-Only Memory) or random access memory (RAM: Random Access Memory). The description of the embodiments is only for helping to understand the method and the idea of the present invention; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific embodiments and application scopes. The description is not to be construed as limiting the invention.

Claims

权利要求 Rights request
1、 一种网页数据提交的方法, 其特征在于, 网页页面被设置为两个以 上的提交区域, 所述方法包括: A method for submitting webpage data, characterized in that a webpage page is set to two or more submission areas, and the method comprises:
当检测到区域提交标签包含的区域提交事件被触发时, 获取所述区域 提交标签包含的一个或两个以上区域标识, 所述区域标识用于标识用户选 择的提交区域;  When it is detected that the area submitting event included in the area submission label is triggered, acquiring one or more area identifiers included in the area submission label, where the area identifier is used to identify a submission area selected by the user;
根据所述区域标识, 获取所述区域标识对应的提交区域的页面数据; 向服务器发送所述获取到的页面数据。  Obtaining, according to the area identifier, page data of the submission area corresponding to the area identifier; and sending the acquired page data to the server.
2、 如权利要求 1所述的方法, 其特征在于, 在检测到区域提交标签包 含的区域提交事件被触发之前, 还包括:  2. The method according to claim 1, wherein before detecting that the area submission event included in the area submission label is triggered, the method further includes:
向所述服务器发送页面加载请求;  Sending a page load request to the server;
接收所述服务器返回的页面加载数据, 所述页面加载数据包含了所述 区域提交标签, 所述区域提交标签包含了所述区域提交事件和所述区域标 识。  Receiving page load data returned by the server, the page load data includes the area submission label, and the area submission label includes the area submission event and the area identifier.
3、 如权利要求 2所述的方法, 其特征在于, 还包括:  3. The method of claim 2, further comprising:
根据所述页面加载数据, 进行页面加载;  Loading the page according to the page loading data;
在页面加载完成后, 根据所述区域提交标签, 启动对所述区域提交事 件是否被触发的检测, 所述区域提交事件具体为超文本标记语言 HTML事 件。  After the page is loaded, the label is submitted according to the area, and detection of whether the event is triggered by the area is initiated, and the area submission event is specifically a hypertext markup language HTML event.
4、 如权利要求 3所述的方法, 其特征在于, 所述启动对所述区域提交 事件是否被触发的检测, 具体包括:  The method of claim 3, wherein the detecting whether the event is triggered by the area submission event comprises:
启动事件处理函数, 所述事件处理函数用于检测所述区域提交事件是 否被触发;  Initiating an event processing function, the event processing function is configured to detect whether the area submission event is triggered;
所述当检测到区域提交标签包含的区域提交事件被触发时, 获取所述 区域提交标签包含的一个或两个以上区域标识; 根据所述区域标识, 获取 所述区域标识对应的页面数据; 具体包括:  Obtaining, when the area submitting event included in the area submission label is triggered, acquiring one or more area identifiers included in the area submission label; obtaining, according to the area identifier, page data corresponding to the area identifier; Includes:
当所述事件处理函数检测到所述区域提交事件被触发时, 获取所述区 域提交标签包含的区域标识;  And when the event processing function detects that the area submission event is triggered, acquiring an area identifier included in the area submission label;
根据所述区域标识, 获取所述区域标识对应的页面数据, 其中, 所述 页面数据包含了所述区域标识对应的 HTML展现元素内部的输入组件标签 和用户输入的数据。 Obtaining, according to the area identifier, page data corresponding to the area identifier, where the page data includes an input component label inside an HTML presentation element corresponding to the area identifier And data entered by the user.
5、 如权利要求 4所述的方法, 其特征在于, 在所述向服务器发送页面 加载请求前, 还包括: 在开发者对网页页面进行提交区域的设置后, 开发 一段 Java服务器页面 JSP代码,所述 JSP代码中包含了所述区域提交标签。  The method of claim 4, wherein before the sending the page load request to the server, the method further comprises: after the developer sets the submission area of the webpage, developing a JSP code of the Java server page, The area submission label is included in the JSP code.
6、 如权利要求 5所述的方法, 其特征在于, 所述向所述服务器发送页 面加载请求, 接收所述服务器返回的页面加载数据, 具体包括:  The method of claim 5, wherein the sending a page load request to the server, and receiving the page load data returned by the server, specifically includes:
向所述服务器发送页面加载请求, 以便于所述服务器根据页面加载请 求获取到所述开发的 JSP代码, 并将所述 JSP代码进行解析, 生成了收集 脚本和检测脚本;  Sending a page load request to the server, so that the server obtains the developed JSP code according to the page load request, parses the JSP code, and generates a collection script and a detection script;
接收所述服务器返回的页面加载数据, 所述页面加载数据包含了所述 收集脚本和检测脚本。  Receiving page load data returned by the server, the page load data including the collection script and the detection script.
7、 如权利要求 6所述的方法, 其特征在于, 所述启动事件处理函数, 具体包括:  The method according to claim 6, wherein the startup event processing function specifically includes:
通过执行所述检测脚本来启动所述事件处理函数;  The event processing function is started by executing the detection script;
所述当所述事件处理函数检测到所述区域提交事件被触发时, 获取所 述区域提交标签包含的区域标识, 根据所述区域标识, 获取所述区域标识 对应的页面数据, 具体包括:  And when the event processing function detects that the area submitting event is triggered, the area identifier that is included in the area submission label is obtained, and the page data corresponding to the area identifier is obtained according to the area identifier, which specifically includes:
当所述事件处理函数检测到所述区域提交事件被触发时, 通过执行所 述收集脚本, 从而获取所述区域提交标签包含的区域标识, 并根据所述区 域标识, 获取所述区域标识对应的页面数据。  When the event processing function detects that the area submission event is triggered, the collection script is executed to obtain the area identifier included in the area submission label, and the area identifier is obtained according to the area identifier. Page data.
8、 如权利要求 1所述的方法, 其特征在于, 所述向服务器发送所述获 取到的页面数据, 具体包括:  The method of claim 1, wherein the sending the obtained page data to the server comprises:
创建数据请求对象, 向所述服务器发送异步请求, 所述异步请求包含  Creating a data request object, sending an asynchronous request to the server, the asynchronous request including
9、 如权利要求 8任一所述的方法, 其特征在于, 还包括: 接收所述服 务器返回的异步响应, 所述异步响应包含了所述一个或两个以上区域标识, 才艮据所述区域标识 , 对区域标识对应的页面进行刷新。 9. The method of claim 8, further comprising: receiving an asynchronous response returned by the server, the asynchronous response including the one or more area identifiers, The area identifier is used to refresh the page corresponding to the area identifier.
10、 一种网页数据提交的装置, 其特征在于, 包括:  10. A device for submitting webpage data, comprising:
数据获取模块, 用于当检测到区域提交标签包含的区域提交事件被触 发时, 获取所述区域提交标签包含的一个或两个以上区域标识, 所述区域 标识用于标识用户选择的提交区域; 并根据所述区域标识, 获取所述区域 标识对应的提交区域的页面数据; The data obtaining module is configured to: when detecting that the area submitting event included in the area submission label is triggered, acquiring one or more area identifiers included in the area submission label, where the area identifier is used to identify a submission area selected by the user; And obtaining the area according to the area identifier Identify the page data of the corresponding submission area;
数据发送模块, 用于向服务器发送所述获取到的页面数据。  a data sending module, configured to send the acquired page data to a server.
11、 如权利要求 10所述的装置, 其特征在于, 还包括: 请求发送模块, 用于向所述服务器发送页面加载请求;  The device according to claim 10, further comprising: a request sending module, configured to send a page loading request to the server;
数据接收模块, 用于接收所述服务器返回的页面加载数据, 所述页面 加载数据包含了所述区域提交标签, 所述区域提交标签包含了所述区域提 交事件和所述区域提交标识。  And a data receiving module, configured to receive page load data returned by the server, where the page load data includes the area submission label, and the area submission label includes the area submission event and the area submission identifier.
12、 如权利要求 11所述的装置, 其特征在于, 还包括: 加载模块, 用 于根据所述页面加载数据, 进行页面加载;  The device of claim 11, further comprising: a loading module, configured to perform page loading according to the page loading data;
检测模块, 用于在页面加载完成后, 根据所述区域提交标签, 启动对 所述区域提交事件是否被触发的检测, 所述区域提交事件具体为超文本标 记语言 HTML事件。  The detecting module is configured to: after the page is loaded, submit a label according to the area, and start detecting whether the event is triggered by the area, and the area submitting event is specifically a hypertext markup language HTML event.
13、 如权利要求 12所述的装置, 其特征在于, 所述检测模块具体用于 在页面加载完成后, 根据所述区域提交标签, 启动事件处理函数, 所述事 件处理函数用于检测所述区域提交事件是否被触发;  The device of claim 12, wherein the detecting module is configured to: after the page is loaded, submit a label according to the area, and start an event processing function, where the event processing function is used to detect the Whether the zone submission event is triggered;
所述数据获取模块具体用于当所述事件处理函数检测到所述区域提交 事件被触发时, 获取所述区域提交标签包含的一个或两个以上区域标识; 并根据所述区域标识, 获取所述区域标识对应的页面数据。  The data acquisition module is specifically configured to: when the event processing function detects that the area submission event is triggered, acquire one or more area identifiers included in the area submission label; and obtain the location according to the area identifier The page data corresponding to the area identifier.
14、 如权利要求 10所述的装置, 其特征在于, 所述数据发送模块, 进 一步包括:  The device according to claim 10, wherein the data sending module further comprises:
对象创建单元, 用于创建数据请求对象,  An object creation unit for creating a data request object,
异步请求发送单元, 用于向所述服务器发送异步请求, 所述异步请求  An asynchronous request sending unit, configured to send an asynchronous request to the server, the asynchronous request
15、 如权利要求 14^述的装置,、 其 征在于 还包舌:、 刷新模块, 用 于接收所述服务器返回的异步响应, 所述异步响应包含了所述一个或两个 以上区域标识, 并根据所述区域标识, 对区域标识对应的页面进行刷新。 15. The apparatus according to claim 14, wherein the refreshing module is configured to receive an asynchronous response returned by the server, where the asynchronous response includes the one or more area identifiers. And refreshing the page corresponding to the area identifier according to the area identifier.
PCT/CN2013/072784 2012-04-27 2013-03-18 Webpage data submitting method and device WO2013159611A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210128401.6 2012-04-27
CN2012101284016A CN102663130A (en) 2012-04-27 2012-04-27 Method and device for submitting webpage data

Publications (1)

Publication Number Publication Date
WO2013159611A1 true WO2013159611A1 (en) 2013-10-31

Family

ID=46772621

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/072784 WO2013159611A1 (en) 2012-04-27 2013-03-18 Webpage data submitting method and device

Country Status (2)

Country Link
CN (1) CN102663130A (en)
WO (1) WO2013159611A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102663130A (en) * 2012-04-27 2012-09-12 华为技术有限公司 Method and device for submitting webpage data
CN103034711B (en) * 2012-12-10 2016-08-03 北京金山安全软件有限公司 Form recognition method and device
CN103605514B (en) * 2013-11-11 2017-11-21 北京奇虎科技有限公司 A kind of processing method and processing device of front-end template
CN105095217B (en) * 2014-04-22 2019-08-20 华为软件技术有限公司 Data sending device and method
CN105335423B (en) * 2014-08-06 2020-02-07 阿里巴巴集团控股有限公司 Method and device for collecting and processing user feedback of webpage
CN104504125B (en) * 2014-12-30 2018-02-02 北京国双科技有限公司 Web data monitoring method and device
CN105354271B (en) * 2015-10-27 2018-09-28 上海斐讯数据通信技术有限公司 A kind of electronic equipment and its data processing equipment and method of application
CN106156308B (en) * 2016-06-30 2020-05-12 北京奇虎科技有限公司 Local updating method and system for webpage
CN113127851A (en) * 2020-01-16 2021-07-16 北京沃东天骏信息技术有限公司 Data collection method and device
CN114385292A (en) * 2021-12-29 2022-04-22 联通智网科技股份有限公司 Page display method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101296255A (en) * 2008-06-30 2008-10-29 腾讯科技(深圳)有限公司 Web page browsing method, system, proxy server and mobile phone browser
CN101662493A (en) * 2008-08-25 2010-03-03 阿里巴巴集团控股有限公司 Data acquiring method, system and server of user access path
CN102043798A (en) * 2009-10-14 2011-05-04 上海通路快建网络服务外包有限公司 Form submission flow control method and device thereof
EP2407877A1 (en) * 2010-07-14 2012-01-18 Fujitsu Limited Methods and systems for extensive crawling of web applications
CN102663130A (en) * 2012-04-27 2012-09-12 华为技术有限公司 Method and device for submitting webpage data

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063306A (en) * 2011-01-06 2011-05-18 夏春秋 Technical implementation method for application development through electronic form

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101296255A (en) * 2008-06-30 2008-10-29 腾讯科技(深圳)有限公司 Web page browsing method, system, proxy server and mobile phone browser
CN101662493A (en) * 2008-08-25 2010-03-03 阿里巴巴集团控股有限公司 Data acquiring method, system and server of user access path
CN102043798A (en) * 2009-10-14 2011-05-04 上海通路快建网络服务外包有限公司 Form submission flow control method and device thereof
EP2407877A1 (en) * 2010-07-14 2012-01-18 Fujitsu Limited Methods and systems for extensive crawling of web applications
CN102663130A (en) * 2012-04-27 2012-09-12 华为技术有限公司 Method and device for submitting webpage data

Also Published As

Publication number Publication date
CN102663130A (en) 2012-09-12

Similar Documents

Publication Publication Date Title
WO2013159611A1 (en) Webpage data submitting method and device
US11088973B2 (en) Conversion of text relating to media content and media extension apps
US7487201B1 (en) Method and system for providing framework for Java based AJAX web applications
US10394909B2 (en) Reducing redirects
KR102159416B1 (en) Systems and methods for building and using hybrid mobile applications
US8892744B1 (en) Automated web frontend sharding
US11662872B1 (en) Providing content presentation elements in conjunction with a media content item
US9608870B1 (en) Deep link verification for native applications
RU2595524C2 (en) Device and method for processing content of web resource in browser
US9009740B2 (en) Invocation of additional processing using remote procedure calls
US20180131779A1 (en) Recording And Triggering Web And Native Mobile Application Events With Mapped Data Fields
EP3251013B1 (en) Monitoring application loading
US9712618B2 (en) Asynchronous and synchronous resource links
US20140047368A1 (en) Application development tool
US7912924B1 (en) Adding functionality with respect to one or more web pages
US11630876B2 (en) Indexing actions for resources
EP2891061A1 (en) Search extensibility application framework in a hosted search
US9817910B2 (en) Restful service description language
US20130081010A1 (en) Template and server content download using protocol handlers
US20220261244A1 (en) Micro-application creation and execution
US8332456B2 (en) Displaying server errors on the client machine that caused the failed request
US9513961B1 (en) Monitoring application loading
US20170235707A1 (en) Web-based distributed computing with browser-executed code
US8874971B1 (en) Detecting and reporting problems in a distributed resource computing system
US20110295932A1 (en) Methods, systems, and computer program products for processing an attached command response based on a markup element

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13781515

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13781515

Country of ref document: EP

Kind code of ref document: A1