CN104679786B - Form processing method and device - Google Patents

Form processing method and device Download PDF

Info

Publication number
CN104679786B
CN104679786B CN201310634987.8A CN201310634987A CN104679786B CN 104679786 B CN104679786 B CN 104679786B CN 201310634987 A CN201310634987 A CN 201310634987A CN 104679786 B CN104679786 B CN 104679786B
Authority
CN
China
Prior art keywords
request
code
submitting
current
module
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.)
Active
Application number
CN201310634987.8A
Other languages
Chinese (zh)
Other versions
CN104679786A (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.)
Shenzhen Yayue Technology Co ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201310634987.8A priority Critical patent/CN104679786B/en
Publication of CN104679786A publication Critical patent/CN104679786A/en
Application granted granted Critical
Publication of CN104679786B publication Critical patent/CN104679786B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a form processing method and device, relates to the technical field of internet information, and can solve the problem that a browser control in the prior art does not support browsing history integrity. The embodiment of the invention adds a first code in a current webpage source code containing a form label, wherein the first code is used for monitoring an event; after a request for submitting a form is received, the content of the form is obtained through the first code; and sending a request for submitting the form through the new browser control, and storing the page submitted by the current form. The invention is suitable for processing the form.

Description

Form processing method and device
Technical Field
The invention relates to the technical field of internet information, in particular to a form processing method and device.
Background
With the increasing development of network technology, web pages on the mobile terminal are more and more abundant. When a user views a webpage on a mobile terminal through a browser, the user wants to remember each browsed webpage, and when the user needs to view the previously browsed webpage, the user can return to the webpage which is browsed just before through a back key, so that the browser not only meets the browsing habit of the user, but also can record the content filled in by the user on the current webpage.
However, due to the browser control based on microsoft IE mobile version, when a form filled by a user is submitted, the current web page is replaced with the web page submitted by the form, so that the web page filled by the user is missing in the browsing record, and the browsing history stack is discontinuous.
Disclosure of Invention
The embodiment of the invention provides a form processing method and device, which can solve the problem that a browser control in the prior art does not support browsing history integrity.
In a first aspect, an embodiment of the present invention provides a method for processing a form, including:
adding a first code in a current webpage source code containing a form label, wherein the first code is used for monitoring an event;
after a request for submitting a form is received, the content of the form is obtained through the first code;
and sending a request for submitting the form through the new browser control, and storing the page submitted by the current form.
In a second aspect, an embodiment of the present invention provides an apparatus for processing a form, including:
the system comprises an adding unit, a form generating unit and a form monitoring unit, wherein the adding unit is used for adding a first code in a current webpage source code containing a form label, and the first code is used for monitoring an event;
the acquisition unit is used for acquiring the content of the form through the first code after receiving a request for submitting the form;
the sending unit is used for sending the content of the form to a request for submitting the form through a new browser control;
and the storage unit is used for storing the page submitted by the current form.
The embodiment of the invention provides a method and a device for processing a form.A first code is added in a current webpage source code containing a form label, and the first code is used for monitoring an event; after a request for submitting a form is received, the content of the form is obtained through the first code; and sending a request for submitting the form through the new browser control, and storing the page submitted by the current form. Compared with the prior art that when a form filled by a user is submitted, the current webpage is replaced by the webpage submitted by the form, and the browsing history stack is discontinuous due to the fact that the webpage filled by the user is lost in the browsing record, the embodiment of the invention can obtain the complete browsing history, and therefore the problem in the prior art is solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flow chart of a method for form processing according to an embodiment of the present invention;
FIG. 2 is a flow chart of another method for form processing according to an embodiment of the present invention;
FIG. 3 is a flowchart of obtaining the contents of a form according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating an apparatus for processing forms according to an embodiment of the present invention;
FIG. 5 is a diagram of an alternative form processing apparatus according to an embodiment of the present invention;
fig. 6 is a schematic diagram of an acquisition module according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
An embodiment of the present invention provides a method for processing a form, where an execution main body of the method may be a mobile terminal, as shown in fig. 1, and the method includes:
step 101, adding a first code in a current webpage source code containing a form label, wherein the first code is used for monitoring an event.
Optionally, the user fills in the content of the form through the webpage, so that the interaction between the webpage and the WEB server is realized. The method comprises the steps of firstly obtaining the content of a current webpage, then obtaining a source code of the current webpage, and optionally obtaining the source code of the current webpage through a crawler program. When the form label is included in the source code of the current webpage, the first code is added into the current source code, and the position of the specifically added first code is not limited. The first code may be a javascript code, which may be abbreviated as a JS code.
And 102, after receiving a request for submitting a form, acquiring the content of the form through the first code.
And after receiving a request of a user for submitting the form, acquiring the content of the form by adopting a monitoring function of the first code, and optionally acquiring the content of the form by a processing function of the first code.
It is understood that when a request for submitting a form sent by a user is not received, the operation of acquiring the content of the form is not performed.
Optionally, the content of the form is the content of the registered website filled by the user, the content of the login website, and the like.
And 103, sending a request for submitting the form through the new browser control, and storing the page submitted by the current form.
Optionally, after the content of the form submitted by the user is intercepted, the request for submitting the form is reinitiated by creating a new browser control, and the page submitted by the current form is stored, so that the form is resubmitted according to the prior art.
The browser control is used for controlling the display of the webpage.
The embodiment of the invention provides a form processing method, which comprises the steps of adding a first code in a current webpage source code containing a form label, wherein the first code is used for monitoring an event; after a request for submitting a form is received, the content of the form is obtained through the first code; and sending a request for submitting the form through the new browser control, and saving the page submitted by the current form, so that a complete browsing history can be obtained.
An embodiment of the present invention provides a method for processing a form, as shown in fig. 2, the method includes:
step 201, scanning the current webpage and obtaining the source code of the current webpage.
Optionally, the source code of the current webpage is obtained through a crawler program.
Step 202, judging whether the current webpage source code contains a form label.
Alternatively, the form tag may be < form > </form >.
When the current web page source code contains the form label, step 203 is executed, and when the current web page source code does not contain the form label, the flow is ended.
Step 203, when the current webpage source code contains a form label, adding a first code in the current webpage source code.
Optionally, the first code is configured to listen for the event, for example, through a processing function in the first code. The first code may be a JS code. Optionally, the JS code includes an event handling function.
Step 204, monitoring whether a request for submitting the form exists.
Optionally, in this embodiment, when the user submits the form, the subsequent operation is performed, so that whether there is a request for submitting the form is monitored according to the event processing function in the first code.
Step 205, after receiving the request for submitting the form, obtaining the content of the form through the processing function in the first code.
Optionally, as shown in fig. 3, this step includes the following sub-steps:
step 2051, when a request to submit a form is received, determines whether the form included in the request is a legal form.
Optionally, when the form is a legal form, step 2052 is executed, and when the form is not a legal form, the process is ended. The legal form can be a form in which the account matches the password, such as a form which can be normally logged in, or a form in which each option in the registration form meets the registration standard, and the like.
Step 2052, traversing the labels in the form when the form is a legal form.
Optionally, in this step, all the tags in the form are traversed, and the tags included in the form are sequentially processed. Optionally, when the first label is executed for the first time, the first label in the form is obtained, and after the first label is processed, the next label in the form is obtained, and all the labels in the form are executed after traversing.
And step 2053, judging whether the label in the form is a success control.
Optionally, the success control means that the tag in each form is an input tag, and the input tag is a non-disabled tag, when the tags are checkbox and radio tags, then it is necessary to check = = true, and the file must have a file path, and so on.
And step 2054, when the label in the form is the success control, acquiring the content of the name label and the value label in the form.
Optionally, after the step is completed, step 2055 is executed, that is, it is determined whether all the tags in the form are completed by traversal.
And step 2055, when the label in the form is not the successful control, judging whether all the labels in the form are traversed or not.
Optionally, when all the labels in the form are completed by traversal, step 2056 is executed, and when all the labels in the form are not completed by traversal, step 2052 is executed again.
And step 2056, when all the labels in the form are traversed, performing different encoding processing on the contents of the name label and the value label in the form.
Optionally, the content of the name tag and the value tag in the form is encoded differently according to different encoding types and W3C rules. Alternatively, the W3C rule is prior art and is not described in detail in the present invention.
And step 2057, splicing the contents of the name tag and the value tag after the encoding processing, and acquiring an encoding type, a request method and a request address to form the content of the form.
Optionally, the encoding type is content of a tag Class, the request method is content of a tag method, and the request address is content of a tag target.
After obtaining the contents of the form, the method may further include sending the contents of the form to a local for processing through the first code and the local communication interface. It can be understood that the local place can be the place where the application program is located, and the opposite place can be the browser kernel, that is, the browser kernel interacts with the application program, and sends the content of the form to the application program to further process the intercepted form. Optionally, the contents of the form are handed over to local processing by window.
With continued reference to fig. 2, step 206 is performed.
Step 206, determine whether the request method of the content of the form is the first method.
Optionally, when the request method of the content of the form is the first method, step 207 is executed, and when the request method of the content of the form is the second method, step 208 is executed.
Alternatively, the first method may be a post method and the second method may be a get method, or the first method may be a get method and the second method may be a post method.
Step 207, when the request method of the content of the form is a first method, invoking an implementation logic corresponding to the first method.
And 208, when the request method of the content of the form is a second method, calling an implementation logic corresponding to the second method.
Step 209, packaging the contents of the form through different implementation logics, and creating a new browser control to send a request for submitting the form.
And packaging the contents of the form by using a packaging function and different called implementation logics. The browser control is used for controlling the display of the webpage.
Step 210, acquiring the website and title of the page submitted by the current form.
Optionally, the website of the page submitted by the current form may be a Uniform Resource Locator (URL), and the URL is an address of a standard resource on the Internet, which is an identification method for completely describing the addresses of web pages and other resources on the Internet.
And step 211, caching the page submitted by the current form into a page control cache.
Optionally, after the new browser control finishes pulling the page submitted by the current form, caching the page submitted by the current form into a page control cache, where a user stores a historical browsing record of the web page in the page control cache, and the website of the web page and the title of the web page may be stored in the historical browsing record of the web page.
Step 212, updating the historical browsing history of the web pages stored in the page control cache, and adding the website and the title to the historical browsing history of the web pages.
It should be noted that, in the prior art, when a form filled by a user is submitted, a current webpage is replaced with a webpage after the form is submitted, and thus a browsing history stack is discontinuous due to the fact that a webpage in which a form is filled by a user is missing in a browsing record.
And step 213, replacing the page submitted by the current form with the page which is browsed before.
Optionally, the page submitted by the current form is replaced with the page currently browsed before, that is, the processing flow after the form is submitted in the prior art, and in this embodiment, because the submitted form page is intercepted, a complete historical browsing record of the web page can be obtained.
The embodiment of the invention provides a form processing method, which comprises the steps of adding a first code in a current webpage source code containing a form label, wherein the first code is used for monitoring an event; after a request for submitting a form is received, the content of the form is obtained through the first code; and sending a request for submitting the form by the content of the form through a new browser control, and storing the page submitted by the current form, so that the problem that a complete webpage browsing record cannot be obtained in the prior art can be solved.
An embodiment of the present invention provides a form processing apparatus, which may be a mobile terminal, and as shown in fig. 4, the apparatus includes: adding section 401, acquiring section 402, transmitting section 403, and storing section 404.
An adding unit 401, configured to add a first code in a current web page source code containing a form tag, where the first code is used to monitor an event;
optionally, the first code is added to the current source code, and the position of the specifically added first code is not limited. The first code may be JavaScript code, wherein the JavaScript code may be abbreviated as JS code.
An obtaining unit 402, configured to obtain, through the first code, content of a form after receiving a request for submitting the form;
a sending unit 403, configured to send a request for submitting a form through a new browser control for the content of the form;
a saving unit 404, configured to save the page submitted by the current form.
Further optionally, as shown in fig. 5, the adding unit 401 includes: a scanning module 4011, a judging module 4012, and an adding module 4013.
The scanning module 4011 is configured to scan a current webpage and obtain a source code of the current webpage; optionally, the current web page source code may be obtained by a crawler program.
The judging module 4012 is configured to judge whether the current webpage source code contains a form label; alternatively, the form tag may be < form > </form >.
The adding module 4013 is configured to add a first code to the current webpage source code when the current webpage source code contains a form tag.
And when the current webpage source code does not contain the form label, the processing is not continued, and the flow is ended.
Further optionally, as shown in fig. 5, the obtaining unit 402 includes: a monitoring module 4021 and an obtaining module 4022.
A monitoring module 4021, configured to monitor whether there is a request to submit a form;
and after receiving a request of a user for submitting the form, acquiring the content of the form by adopting a monitoring function of the first code, and optionally acquiring the content of the form by a processing function of the first code.
The obtaining module 4022 is configured to obtain the content of the form through the processing function in the first code after receiving a request for submitting the form.
Further optionally, as shown in fig. 6, the obtaining module 4022 includes: the first judgment sub-module 40221, the traversal sub-module 40222, the second judgment sub-module 40223, the acquisition sub-module 40224, and the encoding sub-module 40225.
The first judging submodule 40211 is configured to, after receiving a request for submitting a form, judge whether the form included in the request is a legal form;
the legal form can be a form in which the account matches the password, such as a form which can be normally logged in, or a form in which each option in the registration form meets the registration standard, and the like.
The traversal submodule 40212 is configured to traverse the tags in the form when the form is a legal form;
the second judging submodule 40213 is configured to judge whether the label in the form is a successful control;
a success control means that the label in each form is an input label, and the input label is a non-disabled label, when the labels are checkbox and radio labels, then must be checked = = true, and the file must have a file path, and so on.
The obtaining sub-module 40214 is configured to obtain the content of the name tag and the value tag in the form when the tag in the form is a successful control;
the encoding sub-module 40215 is configured to perform different encoding processing on the contents of the name tag and the value tag in the form when all the tags in the form are completed by traversal;
the obtaining sub-module 40214 is further configured to splice the contents of the name tag and the value tag after encoding, and obtain an encoding type, a request method, and a request address to form the content of the form.
Further optionally, as shown in fig. 5, the sending unit 403 includes: a judgment module 4031, a calling module 4032, and a sending module 4033.
A determining module 4031, configured to determine whether a request method for content of the form is a first method;
a calling module 4032, configured to, when the request method for the content of the form is a first method, call an implementation logic corresponding to the first method;
the first method is a post method, and the second method is a get method; alternatively, the first and second electrodes may be,
the first method is a get method and the second method is a post method.
The calling module 4032 is further configured to call, when the request method of the content of the form is a second method, an implementation logic corresponding to the second method;
a sending module 4033, configured to package the content of the form through different implementation logics, create a new browser control, and send a request for submitting the form.
And packaging the contents of the form by using a packaging function and different called implementation logics. The browser control is used for controlling the display of the webpage.
Further optionally, as shown in fig. 5, the saving unit 404 includes: an obtaining module 4041, a caching module 4042, an updating module 4043, an adding module 4044, and a replacing module 4045.
An obtaining module 4041, configured to obtain a website and a title of the page submitted by the current form;
alternatively, the web address of the page submitted by the current form may be a uniform resource locator URL, where the URL is an address of a standard resource on the Internet, and is an identification method for completely describing the addresses of web pages and other resources on the Internet.
The caching module 4042 is configured to cache a page submitted by the current form in a page control cache;
the user stores the historical browsing record of the web page in the page control cache, and the website of the web page and the title of the web page can be stored in the historical browsing record of the web page.
An updating module 4043, configured to update a historical browsing record of the web page stored in the page control cache;
an adding module 4044, configured to add the website and the title to the last of the historical browsing records of the web page;
a replacing module 4045, configured to replace the page submitted by the current form with a page currently being browsed before.
It should be noted that, in the apparatus shown in fig. 4, 5, or 6, specific implementation processes of the modules, information interaction among the modules, and other contents may refer to the method embodiment because the method embodiment is based on the same inventive concept, and are not described herein again.
The embodiment of the invention provides a form processing device, wherein a first code is added in a current webpage source code containing a form label through an adding unit, and the first code is used for monitoring an event; after receiving a request for submitting a form, acquiring the content of the form through the first code acquisition unit; the sending unit sends the content of the form to a request for submitting the form through a new browser control, and stores the page submitted by the current form, so that the problem that a complete webpage browsing record cannot be obtained in the prior art can be solved.
It should be noted that the above-described device embodiments are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
From the above description of the embodiments, those skilled in the art will clearly understand that the present invention can be implemented by software plus necessary general-purpose hardware, and certainly can also be implemented by special-purpose hardware including special-purpose integrated circuits, special-purpose CPUs, special-purpose memories, special-purpose components and the like, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a readable storage medium, such as a floppy disk, a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk of a computer, and includes instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the apparatus and system embodiments are substantially similar to the method embodiments and are therefore described in a relatively simple manner, where relevant, reference may be made to some descriptions of the method embodiments.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (14)

1. A method of form processing, comprising:
adding a first code in a current webpage source code containing a form label, wherein the first code is used for monitoring an event;
after receiving a request for submitting a form, wherein the request comprises the form, intercepting the content of the form through the first code;
packaging the contents of the form according to implementation logic corresponding to the request method of the contents of the form, creating a new browser control, adopting the new browser control to forge and send a request for submitting the form, resubmitting the contents of the form through the request for submitting the form initiated by the new browser control again, and storing a page submitted by the current form; the new browser control is used for controlling the display of the webpage.
2. The method of claim 1, wherein adding the first code to the current web page source code containing the form tag comprises:
scanning a current webpage to obtain a source code of the current webpage;
judging whether the current webpage source code contains a form label or not;
and when the current webpage source code contains a form label, adding a first code in the current webpage source code.
3. The method according to claim 1 or 2, wherein the intercepting the content of the form by the first code after receiving the request for submitting the form including the form comprises:
monitoring whether a request for submitting a form including the form exists;
and after a request for submitting the form is received, acquiring the content of the form through a processing function in the first code.
4. The method of claim 3, wherein obtaining the contents of the form through a processing function in the first code after receiving a request to submit the form comprises:
after receiving a request for submitting a form, judging whether the form included in the request is a legal form or not;
traversing the label in the form when the form is a legal form;
judging whether the label in the form is a successful control or not;
when the label in the form is a successful control, acquiring the content of the name label and the value label in the form;
when all the labels in the form are traversed, carrying out different encoding processing on the contents of the name label and the value label in the form;
and splicing the contents of the name tag and the value tag after the encoding processing, and acquiring an encoding type, a request method and a request address to form the content of the form.
5. The method according to claim 4, wherein the packaging the contents of the form according to implementation logic corresponding to the request method of the contents of the form, creating a new browser control, forging and sending a request for submitting the form using the new browser control, and resubmitting the form using the new browser control to reinitiate the contents of the form through the new browser control, includes:
judging whether the request method of the content of the form is a first method or not;
when the request method of the content of the form is a first method, calling an implementation logic corresponding to the first method;
when the request method of the content of the form is a second method, calling an implementation logic corresponding to the second method;
and packaging the contents of the forms through different implementation logics, and creating a new browser control to resend the request for submitting the forms to resubmit the forms.
6. The method of claim 5,
the first method is a post method, and the second method is a get method; alternatively, the first and second electrodes may be,
the first method is a get method and the second method is a post method.
7. The method of claim 1, the saving a page of a current form submission comprising:
acquiring the website and title of the page submitted by the current form;
caching the page submitted by the current form into a page control cache;
updating a historical webpage browsing record stored in the page control cache, and adding the website and the title to the historical webpage browsing record;
and replacing the page submitted by the current form with the page which is browsed before.
8. An apparatus for form processing, comprising:
the system comprises an adding unit, a form generating unit and a form monitoring unit, wherein the adding unit is used for adding a first code in a current webpage source code containing a form label, and the first code is used for monitoring an event;
the acquisition unit is used for intercepting the content of the form through the first code after receiving a request for submitting the form, wherein the request comprises the form;
the sending unit is used for packaging the contents of the form according to implementation logic corresponding to the request method of the contents of the form, creating a new browser control, adopting the new browser control to forge and send a request for submitting the form, and re-submitting the form through a request for submitting the form initiated by the new browser control again; the new browser control is used for controlling the display of the webpage;
and the storage unit is used for storing the page submitted by the current form.
9. The apparatus of claim 8, wherein the adding unit comprises:
the scanning module is used for scanning the current webpage and acquiring a source code of the current webpage;
the judging module is used for judging whether the current webpage source code contains a form label or not;
and the adding module is used for adding a first code in the current webpage source code when the current webpage source code contains the form label.
10. The apparatus according to claim 8 or 9, wherein the obtaining unit comprises:
the monitoring module is used for monitoring whether a request including a form for submitting the form exists;
and the acquisition module is used for acquiring the content of the form through the processing function in the first code after receiving a request for submitting the form.
11. The apparatus of claim 10, wherein the obtaining module comprises:
the first judgment sub-module is used for judging whether the form included in the request is a legal form or not after receiving the request for submitting the form;
the traversal submodule is used for traversing the labels in the form when the form is a legal form;
the second judgment submodule is used for judging whether the label in the form is a successful control or not;
the obtaining sub-module is used for obtaining the contents of the name tag and the value tag in the form when the tag in the form is a successful control;
the encoding submodule is used for carrying out different encoding processing on the contents of the name tag and the value tag in the form when all the tags in the form are completed in a traversal mode;
the obtaining submodule is further configured to splice the contents of the name tag and the value tag after the encoding processing is performed, and obtain an encoding type, a request method, and a request address to form the content of the form.
12. The apparatus of claim 11, wherein the sending unit comprises:
the judging module is used for judging whether the request method of the content of the form is a first method or not;
the calling module is used for calling the implementation logic corresponding to the first method when the request method of the content of the form is the first method;
the calling module is further configured to call, when the request method of the content of the form is a second method, an implementation logic corresponding to the second method;
and the sending module is used for packaging the contents of the forms through different implementation logics and creating a new browser control to resend the request for submitting the forms to submit the forms again.
13. The apparatus of claim 12,
the first method is a post method, and the second method is a get method; alternatively, the first and second electrodes may be,
the first method is a get method and the second method is a post method.
14. The apparatus of claim 8, the save unit, comprising:
the acquisition module is used for acquiring the website and the title of the page submitted by the current form;
the cache module is used for caching the page submitted by the current form into a page control cache;
the updating module is used for updating the historical browsing records of the web pages stored in the page control cache;
the adding module is used for adding the website and the title to the last of the historical browsing records of the webpage;
and the replacing module is used for replacing the page submitted by the current form with the page which is browsed before.
CN201310634987.8A 2013-12-02 2013-12-02 Form processing method and device Active CN104679786B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310634987.8A CN104679786B (en) 2013-12-02 2013-12-02 Form processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310634987.8A CN104679786B (en) 2013-12-02 2013-12-02 Form processing method and device

Publications (2)

Publication Number Publication Date
CN104679786A CN104679786A (en) 2015-06-03
CN104679786B true CN104679786B (en) 2020-02-18

Family

ID=53314840

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310634987.8A Active CN104679786B (en) 2013-12-02 2013-12-02 Form processing method and device

Country Status (1)

Country Link
CN (1) CN104679786B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108459924B (en) * 2017-02-22 2021-12-14 北京奥威科软信息技术有限公司 Method, device, server and system for protecting data in Web form
CN111131442B (en) * 2019-12-19 2023-04-07 广州品唯软件有限公司 Webpage data monitoring method, terminal equipment and readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102043798A (en) * 2009-10-14 2011-05-04 上海通路快建网络服务外包有限公司 Form submission flow control method and device thereof
CN103377038A (en) * 2012-04-11 2013-10-30 怡丰联合(北京)科技有限责任公司 User-defined form description and form analysis method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7937325B2 (en) * 1998-12-08 2011-05-03 Yodlee.Com, Inc. Interactive bill payment center
US8700903B2 (en) * 2010-07-28 2014-04-15 Symantec Corporation Streamlined CSR generation, certificate enrollment, and certificate delivery

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102043798A (en) * 2009-10-14 2011-05-04 上海通路快建网络服务外包有限公司 Form submission flow control method and device thereof
CN103377038A (en) * 2012-04-11 2013-10-30 怡丰联合(北京)科技有限责任公司 User-defined form description and form analysis method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
表单提交,回显数据,后退处理;aurore;《https://www.xuebuyuan.com/1089653.html》;20131013;第1页到第2页 *

Also Published As

Publication number Publication date
CN104679786A (en) 2015-06-03

Similar Documents

Publication Publication Date Title
US8578019B2 (en) Monitoring the health of web page analytics code
CN104065632B (en) The processing method of sharing contents, server, client and system
US20160164991A1 (en) Information push method, server, user terminal and system
US11455365B2 (en) Data processing method and apparatus
JP6404816B2 (en) Method and apparatus for responding to web page access request
CN110221871B (en) Webpage acquisition method and device, computer equipment and storage medium
CN108897788A (en) Data crawling method, device, computer equipment and storage medium
CN112685671A (en) Page display method, device, equipment and storage medium
EP3528474B1 (en) Webpage advertisement anti-shielding methods and content distribution network
CN105512227A (en) Webpage data loading method and system
CN110795650A (en) Webpage opening method and device and computer readable storage medium
US8433703B1 (en) Recording user actions
CN112800309A (en) Crawler system based on HTTP proxy and implementation method thereof
CN109670100B (en) Page data capturing method and device
US10983996B2 (en) Asynchronous predictive caching of content listed in search results
CN104679786B (en) Form processing method and device
US10095791B2 (en) Information search method and apparatus
CN112187622B (en) Instant message display method and device and server
CN108334322B (en) Data request method and system of MVC framework
CN110674435A (en) Page access method, server, terminal, electronic equipment and readable storage medium
CN112749352A (en) Webpage skipping method and device, electronic equipment and readable storage medium
US20200314190A1 (en) De termining that multiple requests are received from a particular user device
CN110955856B (en) Webpage loading method and device, server and storage medium
CN114357331A (en) Webpage information display method and device, electronic equipment, storage medium and product
CN111435516B (en) Order processing method and device, electronic equipment and storage medium

Legal Events

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

Effective date of registration: 20221201

Address after: 1402, Floor 14, Block A, Haina Baichuan Headquarters Building, No. 6, Baoxing Road, Haibin Community, Xin'an Street, Bao'an District, Shenzhen, Guangdong 518133

Patentee after: Shenzhen Yayue Technology Co.,Ltd.

Address before: 2, 518000, East 403 room, SEG science and Technology Park, Zhenxing Road, Shenzhen, Guangdong, Futian District

Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.