CN110992131A - Form processing method and device and storage medium - Google Patents
Form processing method and device and storage medium Download PDFInfo
- Publication number
- CN110992131A CN110992131A CN201911141344.3A CN201911141344A CN110992131A CN 110992131 A CN110992131 A CN 110992131A CN 201911141344 A CN201911141344 A CN 201911141344A CN 110992131 A CN110992131 A CN 110992131A
- Authority
- CN
- China
- Prior art keywords
- page
- elements
- identifier
- value
- obtaining
- 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.)
- Granted
Links
- 238000003860 storage Methods 0.000 title claims abstract description 36
- 238000003672 processing method Methods 0.000 title claims abstract description 26
- 238000012545 processing Methods 0.000 claims abstract description 44
- 238000000034 method Methods 0.000 claims abstract description 28
- 238000004891 communication Methods 0.000 claims abstract description 20
- 235000014510 cooky Nutrition 0.000 claims description 22
- 238000010586 diagram Methods 0.000 description 16
- 230000006870 function Effects 0.000 description 8
- 230000002093 peripheral effect Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- VYZAMTAEIAYCRO-UHFFFAOYSA-N Chromium Chemical compound [Cr] VYZAMTAEIAYCRO-UHFFFAOYSA-N 0.000 description 1
- 241000476256 Eleutherodactylus cooki Species 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000007667 floating Methods 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000007723 transport mechanism Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0641—Shopping interfaces
- G06Q30/0643—Graphical representation of items or shoppers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Marketing (AREA)
- Economics (AREA)
- Human Computer Interaction (AREA)
- Development Economics (AREA)
- General Engineering & Computer Science (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a form processing method, which is suitable for being executed in a computing device, the computing device is suitable for presenting a page, the page comprises one or more forms, each form comprises at least one form element, and the method comprises the following steps: acquiring a submission request on a current presentation page, wherein the submission request is suitable for submitting a form in the current page to a server in communication connection with a computing device for processing; when the submission request is received, acquiring one or more form elements with preset attributes embedded in each form of the current page; acquiring the identification and the corresponding value of each form element; storing in association the identities of the one or more obtained form elements and their corresponding values prior to submitting the form to the server for processing. The invention also discloses a corresponding device and a storage medium.
Description
Technical Field
The present invention relates to the field of information processing technologies, and in particular, to a form processing method, apparatus, and storage medium.
Background
At present, many websites have scenes requiring users to fill in forms, and in order to improve user experience, it is necessary to automatically fill form information previously filled by users into a current form when the users enter the current form page or other pages again after submitting the forms, so that the users are prevented from inputting the same information again, and the effect of improving user experience is achieved.
In the prior art, a specific page corresponds to one form or a plurality of forms, the same information required to be filled in different pages also belongs to different form elements, and a user needs to repeatedly fill in the same information, so that the error rate is high, and the user experience is poor. And if the page table elements are too many, the filling efficiency is low, and the maintainability and reusability are poor.
Disclosure of Invention
To this end, the present invention provides a form processing method, apparatus and storage medium in an effort to solve or at least alleviate at least one of the problems identified above.
According to an aspect of the present invention, there is provided a form processing method, adapted to be executed in a computing device, the computing device being adapted to render a page, the page comprising one or more forms, each form comprising at least one form element, the method comprising the steps of: acquiring a submission request on a current presentation page, wherein the submission request is suitable for submitting a form in the current page to a server in communication connection with the computing equipment for processing; when a submission request is received, acquiring one or more form elements with preset attributes embedded in each form of a current page; for each of the obtained one or more form elements, obtaining an identification and a corresponding value for each form element; and storing the obtained identities of the one or more form elements and their corresponding values in association prior to submitting the form to the server for processing.
Optionally, in the form processing method according to the present invention, storing the obtained identifications of the one or more form elements and their corresponding values in association comprises the steps of: the local storage is taken as an associated storage location and the obtained identities of the one or more form elements and their corresponding values are stored on the associated storage location.
Optionally, in the form processing method according to the present invention, the local storage is a cookie, and/or the predetermined attribute is named data-cookie.
Optionally, in the form processing method according to the present invention, when a page or a new page is re-rendered, one or more form elements in each form of the current page, in which predetermined attributes are embedded, are obtained; for each of the obtained one or more form elements, obtaining an identifier of each form element, and obtaining a value corresponding to the identifier of the form element from the associated storage location according to the identifier; and filling the value corresponding to the identifier of the form element into the position of the form corresponding to the identifier of the form element.
Optionally, in the form processing method according to the present invention, the step of obtaining the identifier of the form element further includes: obtaining a value associated with a predetermined attribute from an form element; and using the obtained value as an identifier of an form element; wherein the predetermined attribute and identification are specified in the form of a key-value pair in a table element.
Optionally, in the form processing method according to the present invention, the form element further includes a page identifier, and the page identifier is suitable for being transmitted to the server together with the value of the form element, so that the server obtains the corresponding form unit value according to the page identifier of the form element for processing.
According to still another aspect of the present invention, there is provided a form processing apparatus including: the obtaining and submitting request unit is suitable for obtaining a submitting request on the current presentation page, and the submitting request is suitable for submitting the form in the current page to a server in communication connection with the computing equipment for processing; the obtaining table element unit is suitable for obtaining one or more table elements embedded with preset attributes in each form of the current page when a submission request is received; a storage unit adapted to obtain, for each of the obtained one or more form elements, an identity and a corresponding value of each form element; and storing the obtained identities of the one or more form elements and their corresponding values in association prior to submitting the form to the server for processing.
Optionally, in the form processing apparatus according to the present invention, a form filling unit is further included, which is adapted to obtain, when the page or a new page is re-rendered, one or more form elements in each form of the current page, in which predetermined attributes are embedded; for each of the obtained one or more form elements, obtaining an identifier of each form element, and obtaining a value corresponding to the identifier of the form element from the associated storage location according to the identifier; and filling the value corresponding to the identifier of the form element into the position of the form corresponding to the identifier of the form element.
According to yet another aspect of the invention, there is provided a computing device comprising at least one processor; and a memory storing program instructions, wherein the program instructions are configured to be executed by the at least one processor, the program instructions comprising instructions for performing the form processing method according to the invention.
According to still another aspect of the present invention, there is provided a readable storage medium storing program instructions which, when read and executed by a client, cause the client to execute the form processing method of the present invention.
According to the technical solution of the present invention, predetermined attributes are embedded in one or more form elements in each form of a page, and before content on the page is to be submitted to a server, the form identification of each form element and its corresponding value may be stored locally on the computing device, for example, in a browser, in association. Then, when the page or the new page is re-rendered on the computing device, for the new page, if the form identifications of the form elements with the preset attributes are embedded in the page, the previously stored values corresponding to the form identifications can be obtained according to the form identifications, and the positions corresponding to the form identifications in the form are directly filled in. Therefore, for form elements with the same form identification, even if the form elements are in different pages, the user only needs to fill in the form elements once without repeatedly filling in the form elements, and the user experience and the form filling efficiency are improved.
Drawings
To the accomplishment of the foregoing and related ends, certain illustrative aspects are described herein in connection with the following description and the annexed drawings, which are indicative of various ways in which the principles disclosed herein may be practiced, and all aspects and equivalents thereof are intended to be within the scope of the claimed subject matter. The above and other objects, features and advantages of the present disclosure will become more apparent from the following detailed description read in conjunction with the accompanying drawings. Throughout this disclosure, like reference numerals generally refer to like parts or elements.
FIG. 1 shows a schematic diagram of a form processing system 100 according to one embodiment of the invention;
FIG. 2 shows a schematic diagram of a configuration of a computing device 200 according to an embodiment of the invention;
FIG. 3 illustrates a flow diagram of a form processing method 300 according to one embodiment of the invention;
FIG. 4 illustrates a flow diagram of a form processing method 400 according to yet another embodiment of the invention;
FIG. 5 shows a schematic diagram of a form processing apparatus 500 according to one embodiment of the invention;
FIG. 6 illustrates an operator interface diagram of a form processing method according to one embodiment of the invention;
fig. 7 is an operation interface diagram showing a form processing method according to still another embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
FIG. 1 shows a schematic diagram of a form processing system 100 according to one embodiment of the invention. As shown in FIG. 1, the form processing system includes a computing device 200 and a server 110, with a communication connection between the computing device 200 and the server. The server 110 may be one server or a server cluster composed of a plurality of servers, and the deployment manner of the server 110 is not limited in the present invention.
Browser is one of the client applications, according to one embodiment of the present invention, the browser on the computing device 200 may make a request to the server, the browser sends a request to the server to request a form filling page, then the user fills in the form, and sends a request to submit the form to the server for processing. The browser processes and displays the result returned by the server side, and the logic function of the system can be better expressed through the interface.
Fig. 6 is an operation interface diagram of a form processing method according to an embodiment of the present invention, which is a schematic diagram of a requested page. To distinguish from other pages, it should be noted that the form that the user needs to fill out in this page is for "big special sales of buik general barker in beijing".
FIG. 2 shows a schematic diagram of a computing device 200 according to an embodiment of the invention. In a basic configuration 202, computing device 200 typically includes system memory 206 and one or more processors 204. A memory bus 208 may be used for communication between the processor 204 and the system memory 206.
Depending on the desired configuration, the processor 204 may be any type of processing, including but not limited to: a microprocessor (μ P), a microcontroller (μ C), a Digital Signal Processor (DSP), or any combination thereof. The processor 204 may include one or more levels of cache, such as a level one cache 210 and a level two cache 212, a processor core 214, and registers 216. Example processor cores 214 may include Arithmetic Logic Units (ALUs), Floating Point Units (FPUs), digital signal processing cores (DSP cores), or any combination thereof. The example memory controller 218 may be used with the processor 204, or in some implementations the memory controller 218 may be an internal part of the processor 204.
Depending on the desired configuration, system memory 206 may be any type of memory, including but not limited to: volatile memory (such as RAM), non-volatile memory (such as ROM, flash memory, etc.), or any combination thereof. System memory 106 may include an operating system 220, one or more applications 222, and program data 224. The application 222 is actually a plurality of program instructions that direct the processor 204 to perform corresponding operations. In some embodiments, application 222 may be arranged to cause processor 204 to operate with program data 224 on an operating system.
A network communication link may be one example of a communication medium. Communication media may typically be embodied by computer readable instructions, data structures, program modules, and may include any information delivery media, such as carrier waves or other transport mechanisms, in a modulated data signal. By way of non-limiting example, communication media may include wired media such as a wired network or private-wired network, and various wireless media such as acoustic, Radio Frequency (RF), microwave, Infrared (IR), or other wireless media. The term computer readable media as used herein may include both storage media and communication media.
In the computing device 200 according to the present invention, the application 222 includes a form processing apparatus 500 that resides in the computing device 200 such that the computing device 200 performs pop-up display by performing the form processing method 300.
FIG. 3 shows a flow diagram of a form processing method 300 according to one embodiment of the invention. The method 300 is suitable for execution in a computing device, such as the computing device 200 described above. As shown in FIG. 3, the form processing method begins at step 310.
In step S310, a submit request on the current rendered page is obtained. The submit request is adapted to submit the form in the current page to a server communicatively coupled to the computing device for processing. It should be noted that the current page includes one or more forms, each of which includes at least one form element. The table elements of the current page have some or all of the embedded predetermined attributes.
The form consists of two parts, a form element and a form button. The form button includes a submit button, which when clicked by the user is equivalent to initiating a submit request on the current page for submitting the form to the server. There are other form buttons that control other processing operations that define the processing script and are not described in detail herein. It is worth noting that when the current page includes multiple forms, the submit request is only for submitting the current form.
Types of form elements may include text boxes, option boxes, buttons, radio box check boxes, and the like. Form elements include the values of form elements, i.e., what the user needs to fill in for each form element.
According to one embodiment of the present invention, the form element further includes a page identifier adapted to be transmitted to the server along with the value of the form element, so that the server obtains the corresponding form element value for processing according to the page identifier of the form element. In this embodiment, the page identifier is the display text of the table element on the page.
The table elements of the current page are partially or completely embedded with the preset attributes, and whether the table elements are embedded with the preset attributes or not is preset according to a form processing system and user requirements. Such as a user name, a user address, user contact information, a desired product type, etc., to be filled in.
The method of adding predetermined attributes to table elements may add data-to-attribute to table elements according to one embodiment of the invention. data-global attributes are a class of attributes called custom data attributes that can be embedded on all HTML elements and all of which can be accessed through a unified interface of the belonging elements. The data-attribute includes two parts: the attribute name should not contain any capital letters; the attribute value may be an arbitrary character string. In this embodiment, the predefined attribute of the form element is named data-cookie. The predetermined attribute includes two parts: a predetermined attribute name, and a value associated with the predetermined attribute. An example of code is as follows:
wherein the predetermined attribute name is a data-cookie and the value associated with the predetermined attribute is a username.
Next, in step S320, when the submission request is received, one or more form elements embedded with predetermined attributes in each form of the current page are obtained, and an identifier and a corresponding value of each form element are obtained.
The types of the table elements embedded with the preset attributes still comprise text boxes, option boxes, buttons, radio box check boxes and the like, and different types of table elements have different acquisition modes. For example, input elements are obtained by val method, span elements are obtained by text method, and the method for obtaining different types of table elements is not limited in the present invention.
According to an embodiment of the present invention, the step of obtaining the identity of an form element further comprises: obtaining a value associated with a predetermined attribute from an form element; and using the obtained value as an identifier of an form element; wherein the predetermined attribute and identification are specified in the form of a key-value pair in a table element.
Specifically, an element embedded with a predetermined attribute is first obtained according to the predetermined attribute, and the predetermined attribute includes two parts: a predetermined attribute name, and a value associated with the predetermined attribute. When a form element is embedded with a predetermined attribute, a value associated with the predetermined attribute may be set according to what a user needs to fill in for the form element. For example, if a user needs to fill in a user name for a form element and the user name to be filled in another form is not changed, the value of the form element associated with the predetermined attribute is set to username when the predetermined attribute is embedded.
Then, when the value associated with the predetermined attribute is obtained in the form element, the value associated with the predetermined attribute of the form element is used as the identifier of the form element. The predetermined attribute and identification are specified in the form of a key-value pair in a table element. For example, if the predetermined attribute of the form element is data-cookie and the identifier is username, then the specified manner on the form element is data-cookie.
Finally, in step S330, the identities of the obtained one or more form elements and their corresponding values are stored in association before submitting the form to the server for processing.
When a predetermined attribute is embedded in a form element, a value associated with the predetermined attribute may be set according to the content to be filled in by a user for the form element. When an form element is obtained, the value associated with the predetermined attribute is used as the identification of the form element. The values of form elements are what the user needs to fill in for each form element. For example, the identifier of the form element is username, the content that the user needs to fill in is user name, and if the user name is dgg, the username and dgg are stored in an associated manner.
According to one embodiment of the invention, the local storage is used as an associated storage location, and the obtained identities of the one or more form elements and their corresponding values are stored on the associated storage location. In particular, the local storage is a cookie. cookies are variables stored in a computing device. This cookie is sent whenever the same computing device requests a page through the browser.
The cookie consists of name, content, path, scope, protocol, and life cycle. cookie data is always carried in the homologous http request, i.e. cookies are passed back and forth between the browser and the server. In this embodiment, the information submitted to the server: table elements, urls, client request header information, cookies may be used. The cookie data has a path concept, and the cookie can be limited to belong to a certain path. Here it is possible to span different pages, and for all pages to be accessible, the cookie path is "/" or root path, and cookies are also shared across all the homologous windows. The cookie distribution is realized by extending the HTTP protocol, and the server prompts the browser to generate the corresponding cookie according to the instruction by adding a special instruction line in the response head of the HTTP. The role of the cookie is to interact with the server, existing as part of the HTTP specification. And storing the acquired identification of one or more form elements and corresponding values thereof in the cookie, so that the cookie is free from modification and additional storage and is convenient to access.
By embedding predetermined attributes in one or more form elements in the various forms of a page, the form identification of each form element and its corresponding value can be stored in association when a submit request on the current page is received.
FIG. 4 illustrates a flow diagram of a form processing method 400 according to yet another embodiment of the invention.
In step S410, a submit request on the currently rendered page is obtained. The submit request is adapted to submit the form in the current page to a server communicatively coupled to the computing device for processing. The table elements of the current page have some or all of the embedded predetermined attributes. The preset attribute comprises an attribute name and an attribute value, and whether the preset attribute is embedded in the table element or not, the attribute name and the attribute value of the preset attribute are preset according to the form processing system and the user requirement.
It is worth noting here that the values associated with the predetermined attributes may be set according to what the user needs to fill out for the form element. For example, if the user is required to fill the same content for multiple form elements located on different forms, the values of the form elements associated with the predetermined attributes are set to the same values when the predetermined attributes are embedded.
Next, in step S420, when the submission request is received, one or more form elements embedded with predetermined attributes in each form of the current page are obtained, and an identifier and a corresponding value of each form element are obtained. The value of a form element is the content that the user needs to fill in for each form element, and the identifier of the form element is the attribute value of the predetermined attribute of the form element. The values of the form elements correspond one-to-one to the identifications of the form elements for which predetermined attributes have been preset.
Subsequently, in step S430, the obtained identities of the one or more form elements and their corresponding values are stored in association before submitting the form to the server for processing.
Further, in step S440, when the page or the new page is re-presented, one or more form elements in each form of the current page, in which the predetermined attribute is embedded, are obtained; for each of the obtained one or more form elements, obtaining an identifier of each form element, and obtaining a value corresponding to the identifier of the form element from the associated storage location according to the identifier; and filling the value corresponding to the identifier of the form element into the position of the form corresponding to the identifier of the form element.
Taking the user name as an example, in steps S410-S430, for the table element embedded with the predetermined attribute being data-cookie and the value of the predetermined attribute being username, the identifier being username has been stored in the associated storage location, and the value corresponding to the identifier is the user name when the user last submitted, and it is assumed that the user name is dgg and the usernames and dgg are associated storages. When a user re-presents a page or a new page, one or more form elements embedded with predetermined attributes in each form of the current page are obtained. And then obtaining the value of the preset attribute of the element, if the value of the preset attribute of the form element is username, the identifier of the form element is username, at this moment, the value of the form element marked as username is only required to be taken out from the associated storage position, namely dgg, and the value is filled into the position corresponding to the identifier of the form element in the form, so that the filling of one form element is completed. For other form elements, the above steps are also used for storage and filling. The filling of the form elements has no sequence, only the corresponding positions on the form are required to be taken out and filled according to the identifiers, and the form elements do not need to be taken out one by one and then assigned one by one for filling, so that the filling speed is high.
The effect of this is that for a form element that has embedded a predetermined attribute, no repeated filling is required as long as the value of the predetermined attribute is the same, whether it is on the same form after refreshing the page or on another form that has reopened a page. Further, by accessing the cookie, the cookie data has a path concept, and the cookie can be limited to belong to a certain path. For the case where different pages may be spanned, the cookie path is "/" or root path in order for all pages to be accessible. The cookie is also shared in all the homologous windows, i.e., all the forms under the path can be automatically filled in.
Fig. 7 is an operation interface diagram showing a form processing method according to an embodiment of the present invention, and is a diagram for re-opening a page for a user. The form that the user needs to fill out in this page is for "Tianjin Ford (import) Large Special Association". The target filling information is automatically filled in when the new page is opened, based on the information previously filled in by the user in the form of the page shown in fig. 6.
According to the scheme, for the form elements with the same form identifiers, a user only needs to fill in the form elements once, when the page or a new page is re-presented, the previously stored value corresponding to the identifier of the form element is obtained from the associated storage position, the value corresponding to the identifier is the target filling information, and the target filling information is filled in the position, corresponding to the form identifier, in the form. In this way, for form elements with the same form identifier, even if the form elements are in different pages, the user does not need to repeatedly fill in, and the user experience and the form filling efficiency are improved.
FIG. 5 illustrates a schematic diagram of a form processing apparatus 500 that resides in the computing device 200 for pop-up display by the computing device 200 by performing the form processing method 300, in accordance with one implementation of the invention.
A get submission requesting unit 510, adapted to get a submission request on a current rendered page, where the submission request is adapted to submit a form in the current page to a server communicatively connected to the computing device for processing. The processing logic and functions of the unit for obtaining the submission request may refer to the related description of step S310, and are not described herein again.
An obtain form element unit 520 adapted to obtain, upon receiving the submission request, one or more form elements in each form of the current page in which predetermined attributes are embedded. The processing logic and functions of the unit cell of the acquisition table can be referred to the related description of the foregoing step S320, and are not described herein again.
A storage unit 530 adapted to, for each of the obtained one or more form elements, obtain an identity and a corresponding value of said each form element; and storing in association the identities of the one or more obtained form elements and their respective values prior to submitting the form to the server for processing. The processing logic and functions of the storage unit can be referred to the related description of the foregoing step S330, and are not described herein again.
According to an embodiment of the present invention, the form processing apparatus further includes a form filling unit 540, adapted to obtain one or more form elements embedded with predetermined attributes in each form of the current page when the page or a new page is re-rendered; for each of the obtained one or more form elements, obtaining an identifier of each form element, and obtaining a value corresponding to the identifier of the form element from the associated storage location according to the identifier; and filling the value corresponding to the identifier of the form element into the position of the form corresponding to the identifier of the form element. The processing logic and functions of the form filling unit can be referred to the related description of the foregoing step S440, and are not described herein again.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules or units or components of the devices in the examples disclosed herein may be arranged in a device as described in this embodiment or alternatively may be located in one or more devices different from the devices in this example. The modules in the foregoing examples may be combined into one module or may be further divided into multiple sub-modules.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
Furthermore, some of the described embodiments are described herein as a method or combination of method elements that can be performed by a processor of a computer system or by other means of performing the described functions. A processor having the necessary instructions for carrying out the method or method elements thus forms a means for carrying out the method or method elements. Further, the elements of the apparatus embodiments described herein are examples of the following apparatus: the apparatus is used to implement the functions performed by the elements for the purpose of carrying out the invention.
As used herein, unless otherwise specified the use of the ordinal adjectives "first", "second", "third", etc., to describe a common object, merely indicate that different instances of like objects are being referred to, and are not intended to imply that the objects so described must be in a given sequence, either temporally, spatially, in ranking, or in any other manner.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of this description, will appreciate that other embodiments can be devised which do not depart from the scope of the invention as described herein. Furthermore, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter. Accordingly, many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the appended claims. The present invention has been disclosed in an illustrative rather than a restrictive sense, and the scope of the present invention is defined by the appended claims.
Claims (10)
1. A form processing method, the method being adapted to be executed in a computing device, the computing device being adapted to present a page, the page comprising one or more forms, each form comprising at least one form element, the method comprising the steps of:
acquiring a submission request on a current presentation page, wherein the submission request is suitable for submitting a form in the current page to a server in communication connection with the computing equipment for processing;
when the submission request is received, acquiring one or more form elements with preset attributes embedded in each form of the current page;
for each of the obtained one or more form elements, obtaining an identification and a corresponding value of the each form element; and
storing in association the identities of the obtained one or more form elements and their respective values prior to submitting the form to the server for processing.
2. The method of claim 1, said associatively storing an identification of said obtained one or more form elements and their respective values comprising the steps of:
storing the obtained identities and their corresponding values of the one or more form elements in a local storage as an associated storage location.
3. The method of claim 2, wherein the local storage is a cookie, and/or wherein the predetermined attribute is named a data-cookie.
4. The method of any one of claims 1-3, further comprising the step of:
when a page or a new page is re-presented, acquiring one or more form elements with preset attributes embedded in each form of the current page;
for each table element in the obtained one or more table elements, obtaining the identifier of each table element, and obtaining a value corresponding to the identifier of the table element from the associated storage position according to the identifier;
and filling the value corresponding to the identifier of the form element into the position of the form corresponding to the identifier of the form element.
5. The method of any one of claims 1-4, wherein the step of obtaining an identification of an episomal element further comprises:
obtaining a value associated with the predetermined attribute from the form element; and
using the obtained value as an identification of the form element;
wherein the predetermined attribute and identification are specified in the table element in a key-value pair.
6. The method of any of claims 1-5, wherein the form element further comprises a page identification adapted to be transmitted to the server with the value of the form element for the server to obtain the corresponding form element value for processing based on the page identification of the form element.
7. A form processing apparatus comprising:
the obtaining and submitting request unit is suitable for obtaining a submitting request on a current presentation page, and the submitting request is suitable for submitting a form in the current page to a server in communication connection with the computing equipment for processing;
the table element acquiring unit is suitable for acquiring one or more table elements with preset attributes embedded in each form of the current page when the submission request is received;
a storage unit adapted to obtain, for each of the obtained one or more form elements, an identity and a corresponding value of said each form element; and storing in association the identities of the one or more obtained form elements and their respective values prior to submitting the form to the server for processing.
8. The form processing apparatus of claim 7, wherein the form processing apparatus further comprises: the form filling unit is suitable for acquiring one or more form elements with preset attributes embedded in each form of the current page when the page or a new page is re-presented; for each table element in the obtained one or more table elements, obtaining the identifier of each table element, and obtaining a value corresponding to the identifier of the table element from the associated storage position according to the identifier; and filling the value corresponding to the identifier of the form element into the position of the form corresponding to the identifier of the form element.
9. A computing device, comprising:
at least one processor; and
a memory storing program instructions, wherein the program instructions are configured to be adapted to be executed by the at least one processor, the program instructions comprising instructions for performing the form processing method of claims 1-6.
10. A readable storage medium storing program instructions which, when read and executed by a client, cause the client to perform the method of any one of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911141344.3A CN110992131B (en) | 2019-11-20 | 2019-11-20 | Form processing method, form processing device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911141344.3A CN110992131B (en) | 2019-11-20 | 2019-11-20 | Form processing method, form processing device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110992131A true CN110992131A (en) | 2020-04-10 |
CN110992131B CN110992131B (en) | 2024-04-19 |
Family
ID=70085232
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911141344.3A Active CN110992131B (en) | 2019-11-20 | 2019-11-20 | Form processing method, form processing device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110992131B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115048917A (en) * | 2022-05-30 | 2022-09-13 | 中国建设银行股份有限公司 | Information processing method, device, equipment, medium and product |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060075330A1 (en) * | 2004-09-28 | 2006-04-06 | International Business Machines Corporation | Method, system, and computer program product for sharing information between hypertext markup language (HTML) forms using a cookie |
US8214362B1 (en) * | 2007-09-07 | 2012-07-03 | Google Inc. | Intelligent identification of form field elements |
US20150170241A1 (en) * | 2007-01-16 | 2015-06-18 | Ebay Inc. | Electronic form automation |
CN105335404A (en) * | 2014-07-29 | 2016-02-17 | 北京奇虎科技有限公司 | Page information loading method and device |
CN105573765A (en) * | 2015-12-29 | 2016-05-11 | 武汉传神信息技术有限公司 | Implementation method for dynamic form, client and server |
CN107480117A (en) * | 2017-07-25 | 2017-12-15 | 中国工商银行股份有限公司 | Automate the restoration methods and device of page table list data |
CN107656910A (en) * | 2016-07-26 | 2018-02-02 | 北京京东尚科信息技术有限公司 | Method and apparatus for generating list |
CN109922132A (en) * | 2019-01-18 | 2019-06-21 | 深圳壹账通智能科技有限公司 | Method, apparatus, electronic equipment and the storage medium of form request processing |
-
2019
- 2019-11-20 CN CN201911141344.3A patent/CN110992131B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060075330A1 (en) * | 2004-09-28 | 2006-04-06 | International Business Machines Corporation | Method, system, and computer program product for sharing information between hypertext markup language (HTML) forms using a cookie |
US20150170241A1 (en) * | 2007-01-16 | 2015-06-18 | Ebay Inc. | Electronic form automation |
US8214362B1 (en) * | 2007-09-07 | 2012-07-03 | Google Inc. | Intelligent identification of form field elements |
CN105335404A (en) * | 2014-07-29 | 2016-02-17 | 北京奇虎科技有限公司 | Page information loading method and device |
CN105573765A (en) * | 2015-12-29 | 2016-05-11 | 武汉传神信息技术有限公司 | Implementation method for dynamic form, client and server |
CN107656910A (en) * | 2016-07-26 | 2018-02-02 | 北京京东尚科信息技术有限公司 | Method and apparatus for generating list |
CN107480117A (en) * | 2017-07-25 | 2017-12-15 | 中国工商银行股份有限公司 | Automate the restoration methods and device of page table list data |
CN109922132A (en) * | 2019-01-18 | 2019-06-21 | 深圳壹账通智能科技有限公司 | Method, apparatus, electronic equipment and the storage medium of form request processing |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115048917A (en) * | 2022-05-30 | 2022-09-13 | 中国建设银行股份有限公司 | Information processing method, device, equipment, medium and product |
CN115048917B (en) * | 2022-05-30 | 2024-05-28 | 中国建设银行股份有限公司 | Information processing method, device, equipment, medium and product |
Also Published As
Publication number | Publication date |
---|---|
CN110992131B (en) | 2024-04-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111427766B (en) | Request processing method and device and proxy server | |
CN106933871B (en) | Short link processing method and device and short link server | |
EP3172680B1 (en) | Fast rendering of websites containing dynamic content and stale content | |
CN109542427B (en) | System customization method and device, electronic equipment and storage medium | |
US8682964B1 (en) | Progressively loading network content | |
US11080322B2 (en) | Search methods, servers, and systems | |
US20160224530A1 (en) | Mapping stored client data to requested data using metadata | |
US8867076B2 (en) | Installing printer applications on a printer using messages | |
CN104965690B (en) | Data processing method and device | |
CN113382083B (en) | Webpage screenshot method and device | |
RU2628253C2 (en) | Method and device for terminal marking | |
CN104063407A (en) | Browser architecture based on cloud computing and analysis method | |
US20150324160A1 (en) | Network Printing Device, Server, System and Method | |
CN110808868B (en) | Test data acquisition method and device, computer equipment and storage medium | |
US20160112492A1 (en) | Method and apparatus for providing network resources at intermediary server | |
US20120331110A1 (en) | Methods for implementing web services and devices thereof | |
CN109495553A (en) | A kind of webpage display control method, system and Reverse Proxy | |
US20150244704A1 (en) | Techniques to authenticate user requests involving multiple applications | |
US9697628B2 (en) | On-demand image spriting | |
CN112818270B (en) | Data cross-domain transfer method and device and computer equipment | |
CN110992131B (en) | Form processing method, form processing device and storage medium | |
US20160224553A1 (en) | Search methods and terminals | |
CN111444448B (en) | Data processing method, server and system | |
CN108011936A (en) | Method and apparatus for pushed information | |
CN111444235A (en) | Django-based data serialization method and device, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |