CN111428456A - Method and device for filling form - Google Patents
Method and device for filling form Download PDFInfo
- Publication number
- CN111428456A CN111428456A CN202010181873.2A CN202010181873A CN111428456A CN 111428456 A CN111428456 A CN 111428456A CN 202010181873 A CN202010181873 A CN 202010181873A CN 111428456 A CN111428456 A CN 111428456A
- Authority
- CN
- China
- Prior art keywords
- date
- user
- filling
- text box
- calendar control
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 47
- 230000004044 response Effects 0.000 claims abstract description 42
- 238000000926 separation method Methods 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 9
- 238000012216 screening Methods 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 17
- 230000008569 process Effects 0.000 description 9
- 230000003993 interaction Effects 0.000 description 8
- 238000004891 communication Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 7
- 230000003287 optical effect Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 239000000835 fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 238000010276 construction Methods 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a method and a device for filling a form, and relates to the technical field of computers. One embodiment of the method comprises: responding to the coincidence of the information entry position of the date text box of the form and the cursor position, and generating a calendar control; filling the application date into the date text box in response to the sliding operation of the user on the calendar control; and filling the departure place and the destination into an address text box of the form according to the historical travel and the current position of the user. The implementation method can solve the technical problem that the operation flow of filling the form is complicated.
Description
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for filling forms.
Background
With the rapid development of the information age, more and more users choose to use the APP to perform a series of activities such as life, office and the like, the experience feeling of the APP is more and more important for the users, the most used elements are forms, and the users interact with the forms to complete various services. For example, the user often initiates a business trip application, a leave application, an out application and the like through the APP of the terminal, and the application efficiency and the approval efficiency can be improved through the online application mode.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art:
the terminal adopts a traditional calendar control, a user needs to click a date of going on the calendar control and then click a date of returning on the calendar control to select the business trip time, and the mode may lead the user to feel that the operation flow is more complicated.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for filling a form, so as to solve the technical problem that an operation flow for filling a form is complicated.
To achieve the above object, according to an aspect of an embodiment of the present invention, there is provided a method of populating a form, including:
responding to the coincidence of the information entry position of the date text box of the form and the cursor position, and generating a calendar control;
filling the application date into the date text box in response to the sliding operation of the user on the calendar control;
and filling the departure place and the destination into an address text box of the form according to the historical travel and the current position of the user.
Optionally, in response to a sliding operation of the user on the calendar control, filling an application date into the date textbox includes:
in response to user contact with a touch-sensitive display at a first predetermined location of the calendar control, generating a start of date in accordance with the first predetermined location;
in response to separation of the user from the touch-sensitive display at a second predetermined location of the calendar control, generating an end of date in accordance with the second predetermined location;
and obtaining an application date according to the date starting point and the date ending point, and filling the application date into the date text box.
Optionally, the user is in continuous contact with the touch-sensitive display during sliding from the first predetermined position to the second predetermined position.
Optionally, obtaining an application date according to the date starting point and the date ending point, and filling the application date into the date text box includes:
and responding to the clicking operation of the user at a third preset position of the calendar control, obtaining an application date according to the date starting point and the date ending point, and filling the application date into the date text box.
Optionally, in response to a sliding operation of the user on the calendar control, filling an application date into the date textbox includes:
in response to user contact with a touch-sensitive display at a first predetermined location of the calendar control, generating a start of date in accordance with the first predetermined location;
in response to contact by the user with the touch-sensitive display at a second predetermined location of the calendar control, generating an end of date in accordance with the second predetermined location;
in response to the user's separation from the touch-sensitive display at a third predetermined location of the calendar control, obtaining an application date from the start date point and the end date point, and populating the application date into the date textbox.
Optionally, the user is in constant contact with the touch-sensitive display during sliding from the first predetermined position to the second predetermined position and during sliding from the second predetermined position to the third predetermined position.
Optionally, the filling the departure place and the destination into the address text box of the form according to the historical travel and the current position of the user includes:
screening out a destination with the highest travel frequency from the historical travel set of the user;
and taking the current position of the user as a starting place, and filling the starting place and the destination into an address text box of the form.
Filling the departure place and the destination into an address text box of the form according to the historical travel and the current position of the user, and further comprising:
acquiring a travel course corresponding to a destination with the highest travel frequency;
and filling the trip event in an event text box of the form.
In addition, according to another aspect of the embodiments of the present invention, there is provided an apparatus for filling forms, including:
the generating module is used for responding to the coincidence of the information entry position of the date text box of the form and the cursor position and generating a calendar control;
the date filling module is used for filling the application date into the date text box in response to the sliding operation of the user on the calendar control;
and the address filling module is used for filling the departure place and the destination into the address text box of the form according to the historical travel and the current position of the user.
Optionally, the date filling module is further configured to:
in response to user contact with a touch-sensitive display at a first predetermined location of the calendar control, generating a start of date in accordance with the first predetermined location;
in response to separation of the user from the touch-sensitive display at a second predetermined location of the calendar control, generating an end of date in accordance with the second predetermined location;
and obtaining an application date according to the date starting point and the date ending point, and filling the application date into the date text box.
Optionally, the user is in continuous contact with the touch-sensitive display during sliding from the first predetermined position to the second predetermined position.
Optionally, the date filling module is further configured to:
and responding to the clicking operation of the user at a third preset position of the calendar control, obtaining an application date according to the date starting point and the date ending point, and filling the application date into the date text box.
Optionally, the date filling module is further configured to:
in response to user contact with a touch-sensitive display at a first predetermined location of the calendar control, generating a start of date in accordance with the first predetermined location;
in response to contact by the user with the touch-sensitive display at a second predetermined location of the calendar control, generating an end of date in accordance with the second predetermined location;
in response to the user's separation from the touch-sensitive display at a third predetermined location of the calendar control, obtaining an application date from the start date point and the end date point, and populating the application date into the date textbox.
Optionally, the user is in constant contact with the touch-sensitive display during sliding from the first predetermined position to the second predetermined position and during sliding from the second predetermined position to the third predetermined position.
Optionally, the address filling module is further configured to:
screening out a destination with the highest travel frequency from the historical travel set of the user;
and taking the current position of the user as a starting place, and filling the starting place and the destination into an address text box of the form.
Optionally, the system further comprises a second entity module, configured to:
acquiring a travel course corresponding to a destination with the highest travel frequency;
and filling the trip event in an event text box of the form.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any of the embodiments described above.
According to another aspect of the embodiments of the present invention, there is also provided a computer readable medium, on which a computer program is stored, which when executed by a processor implements the method of any of the above embodiments.
One embodiment of the above invention has the following advantages or benefits: because the application date is filled in the date text box by responding to the sliding operation of the user on the calendar control; according to the historical travel and the current position of the user, the starting place and the destination are filled into the address text box, so that the technical problem that the operation flow of filling the form in the prior art is complex is solved. According to the embodiment of the invention, the application date is automatically filled in the form through the sliding operation of the user on the calendar control, so that the operation amount of the user can be reduced as much as possible, the operation flow for filling the form is simplified, the user can efficiently finish the interaction with the terminal in the shortest time, and the interaction between the user and the terminal is more intelligent.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a schematic diagram of the main flow of a method of populating forms according to an embodiment of the invention;
FIG. 2 is a schematic diagram of a user sliding on a calendar control from a first predetermined position to a second predetermined position, in accordance with an embodiment of the present invention;
FIG. 3 is a diagram of a user sliding on a calendar control from a first predetermined position to a second predetermined position to a third predetermined position, according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating a main flow of a method of filling a form according to a referential embodiment of the present invention;
FIG. 5 is a schematic diagram of the main flow of a method of populating forms according to yet another referenceable embodiment of the invention;
FIG. 6 is a schematic diagram of the main modules of an apparatus for filling forms according to an embodiment of the present invention;
FIG. 7 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
fig. 8 is a schematic structural diagram of a computer system suitable for implementing a terminal device or a server according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a schematic diagram of a main flow of a method of filling a form according to an embodiment of the present invention. As an embodiment of the present invention, as shown in fig. 1, the method for filling the form may include:
step 101, responding to the coincidence of the information entry position of the date text box of the form and the cursor position, and generating a calendar control.
The form is mainly responsible for data collection functions in the web page. A form has three basic components: form labels, form fields, form buttons. Form fields include text boxes, password boxes, hidden fields, multi-line text boxes, check boxes, radio boxes, drop-down selection boxes, file upload boxes, and the like.
Text box: a form object that lets visitors enter content themselves is typically used to fill in a single word or short answer, such as name, address, etc.
Hiding the domain: the invisible elements used to collect or send information are hidden from view to the visitor of the web page. When the form is submitted, the hidden field will send the information to the server with the name and values defined at the time of the setup.
Check boxes: more than one option is allowed to be selected among the options to be selected. Each check box is a separate element that must have a unique name.
File uploading frame: the user can select the file to be uploaded by inputting the path of the file to be uploaded or clicking a browse button.
When a user can operate a cursor position on a terminal with a touch-sensitive display (such as by means of a touch screen) so that the information entry position of a date text box of a form coincides with the cursor position, the terminal generates a calendar control and displays the calendar control on a screen for the user to slide on the calendar control. It should be noted that, in the embodiment of the present invention, the terminal has a touch-sensitive display, so that the user can slide the cursor position by a sliding operation to coincide with the information entry position of the date text box of the form.
And 102, responding to the sliding operation of the user on the calendar control, and filling the application date into the date text box.
After a calendar control is displayed on a screen of the touch display, a user can perform sliding operation on the calendar control, and the terminal responds to the sliding operation of the user on the calendar control and fills the application date into the date text box.
Optionally, step 102 may comprise: in response to user contact with a touch-sensitive display at a first predetermined location of the calendar control, generating a start of date in accordance with the first predetermined location; in response to separation of the user from the touch-sensitive display at a second predetermined location of the calendar control, generating an end of date in accordance with the second predetermined location; and obtaining an application date according to the date starting point and the date ending point, and filling the application date into the date text box. The user contacts with the touch-sensitive display and slides on the calendar control in a touch manner, so that the calendar control is in contact with the touch-sensitive display at a first preset position and is separated from the touch-sensitive display at a second preset position, the first preset position is used as a date starting point, the second preset position is used as a date finishing point, an application date is obtained, and the application date is automatically filled into a date text box of the form, so that the operation amount of the user can be reduced as much as possible, and the operation flow of filling the form is simplified.
For example, as shown in fig. 2, the position of the number "17" on the calendar control is a first predetermined position, and the position of the number "25" is a second predetermined position, and further, since the current calendar control is in 2019, 12 months, the date text box is filled with the date from 17 days in 2019, 12 months to 25 days in 2019, 12 months.
Optionally, as shown in fig. 2, the user is in continuous contact with the touch-sensitive display during the sliding from the first predetermined position to the second predetermined position. In an embodiment of the invention, in order to accurately locate the first predetermined position and the second predetermined position, the user is in continuous contact with the touch display during the sliding process from the first predetermined position to the second predetermined position. That is, the user slides on the calendar control from the first predetermined position to the second predetermined position while in constant contact with the touch-sensitive display.
Optionally, obtaining an application date according to the date starting point and the date ending point, and filling the application date into the date text box includes: and responding to the clicking operation of the user at a third preset position of the calendar control, obtaining an application date according to the date starting point and the date ending point, and filling the application date into the date text box. In order to prevent the incorrect operation of the user from being filled into the date text box, the calendar control may further have a third predetermined position, and the position may display "determine", "submit", and the like.
Optionally, step 102 may comprise: in response to user contact with a touch-sensitive display at a first predetermined location of the calendar control, generating a start of date in accordance with the first predetermined location; in response to contact by the user with the touch-sensitive display at a second predetermined location of the calendar control, generating an end of date in accordance with the second predetermined location; in response to the user's separation from the touch-sensitive display at a third predetermined location of the calendar control, obtaining an application date from the start date point and the end date point, and populating the application date into the date textbox. The method comprises the steps that a user contacts with a touch-sensitive display and slides on the calendar control in a touch manner, so that the user contacts with the touch-sensitive display at a first preset position of the calendar control, then slides to a second preset position under the condition of keeping continuous contact with the touch-sensitive display, and finally separates from the touch-sensitive display at a third preset position, the first preset position serves as a date starting point, the second preset position serves as a date ending point, so that an application date is obtained, and the application date is automatically filled into a date text box of a form, so that the operation amount of the user can be reduced as much as possible, and the operation flow of filling the form is simplified.
Optionally, as shown in fig. 3, the user is in constant contact with the touch-sensitive display during the sliding from the first predetermined position to the second predetermined position and during the sliding from the second predetermined position to the third predetermined position. In the embodiment of the invention, in order to accurately position the first preset position and the second preset position, the user is in continuous contact with the touch display in the process of sliding from the first preset position to the second preset position; meanwhile, the user is prevented from mistakenly operating and filling the date text box of the form, and the user is in continuous contact with the touch-sensitive display in the process of sliding from the second preset position to the third preset position. That is, the user slides on the calendar control from the first predetermined position to the second predetermined position and from the second predetermined position to the third predetermined position while in constant contact with the touch-sensitive display. Therefore, the user can select the departure date and the return date at one time by sliding the fingers and directly slide to the determined button from the return date, and the original three click events can be changed into one sliding event in this way, so that the operation flow of filling the form is greatly simplified.
And 103, filling the departure place and the destination into an address text box of the form according to the historical travel and the current position of the user.
After the filling of the date text box is completed, in order to further reduce the operation amount of the user, the terminal may automatically fill the departure place and the destination into the address text box of the form according to the historical travel and the current position of the user. In the embodiment of the invention, the terminal can acquire the historical itinerary of the user from the server side, or acquire the historical itinerary of the user from the cache, and position information of the province, the city, the county and the like where the user is currently located is located through the GPS.
Optionally, step 103 may comprise: screening out a destination with the highest travel frequency from the historical travel set of the user; and taking the current position of the user as a starting place, and filling the starting place and the destination into an address text box of the form.
When a user has finished several trips, a corresponding record is left in the database, and when the user wants to apply for the next trip, the trip with the highest frequency can be selected from the historical trips and automatically filled in the address text box. Optionally, the method further comprises: selecting a destination with the highest frequency of occurrence and a corresponding trip course from a historical trip, taking the current position of the user as a starting place, filling the starting place and the destination into an address text box of the form, and filling the trip course into a course text box at the same time.
Optionally, the user can also select whether the automatically filled content needs to be adopted, and if so, the form can be automatically filled, so that the workload of the user is greatly reduced. If the route is not the route with the highest frequency, the selection of sequentially decreasing frequency is presented to the user to determine whether to automatically select one of the fills, and the user can fill the destination by himself. For the choice of origin, a location service may be taken: the city where the user gives priority to departure can be also filled by the user according to the geographical position of the user, which is not limited in the embodiment of the present invention.
According to the various embodiments described above, it can be seen that the present invention fills the application date into the date textbox by responding to the sliding operation of the user on the calendar control; the technical means of filling the departure place and the destination into the address text box according to the historical travel and the current position of the user solves the technical problem that the operation flow of filling the form in the prior art is complex. According to the embodiment of the invention, the application date is automatically filled in the form through the sliding operation of the user on the calendar control, so that the operation amount of the user can be reduced as much as possible, the operation flow for filling the form is simplified, the user can efficiently finish the interaction with the terminal in the shortest time, and the interaction between the user and the terminal is more intelligent.
Fig. 4 is a schematic diagram of a main flow of a method of filling a form according to one referential embodiment of the present invention. As another embodiment of the present invention, as shown in fig. 4, the method for filling the form may include:
step 401, in response to the information entry position of the date text box of the form coinciding with the cursor position, generating a calendar control.
When a user can operate a cursor position on a terminal with a touch-sensitive display (such as by means of a touch screen) so that the information entry position of a date text box of a form coincides with the cursor position, the terminal generates a calendar control and displays the calendar control on a screen for the user to slide on the calendar control. It should be noted that, in the embodiment of the present invention, the terminal has a touch-sensitive display, so that the user can slide the cursor position by a sliding operation to coincide with the information entry position of the date text box of the form.
Step 402, in response to a user contacting the touch-sensitive display at a first predetermined position of the calendar control, generating a start of date in accordance with the first predetermined position.
Step 403, in response to the user separating from the touch-sensitive display at a second predetermined position of the calendar control, generating an end of date according to the second predetermined position.
The user contacts with the touch-sensitive display and slides on the calendar control in a touch manner, so that the calendar control is in contact with the touch-sensitive display at a first preset position and is separated from the touch-sensitive display at a second preset position, the first preset position is used as a date starting point, the second preset position is used as a date finishing point, an application date is obtained, and the application date is automatically filled into a date text box of the form, so that the operation amount of the user can be reduced as much as possible, and the operation flow of filling the form is simplified. And, the user is in constant contact with the touch-sensitive display during the sliding from the first predetermined position to the second predetermined position.
Step 404, responding to the click operation of the user at the third preset position of the calendar control, obtaining an application date according to the date starting point and the date ending point, and filling the application date into the date text box.
In this embodiment, after the user clicks the third predetermined position, the terminal will fill the date starting point and the date ending point as the application date into the date text box.
Step 405, screening out a destination with the highest travel frequency from the historical travel set of the user.
When a user has finished several trips, a corresponding record is left in the database, and when the user wants to apply for the next trip, the trip with the highest frequency can be selected from the historical trips and automatically filled in the address text box.
And 406, taking the current position of the user as a starting place, and filling the starting place and the destination into an address text box of the form.
The terminal can automatically fill the departure place and the destination into the address text box of the form according to the historical travel and the current position of the user.
In addition, in one embodiment of the present invention, the detailed implementation of the method for filling forms is described in detail above, so that the repeated description is not repeated here.
FIG. 5 is a schematic diagram of the main flow of a method of populating forms according to yet another referenceable embodiment of the invention. As another embodiment of the present invention, as shown in fig. 5, the method for filling the form may include:
step 501, responding to the coincidence of the information entry position of the date text box of the form and the cursor position, and generating a calendar control.
When a user can operate a cursor position on a terminal with a touch-sensitive display (such as by means of a touch screen) so that the information entry position of a date text box of a form coincides with the cursor position, the terminal generates a calendar control and displays the calendar control on a screen for the user to slide on the calendar control. It should be noted that, in the embodiment of the present invention, the terminal has a touch-sensitive display, so that the user can slide the cursor position by a sliding operation to coincide with the information entry position of the date text box of the form.
Step 502, in response to a user contacting the touch-sensitive display at a first predetermined position of the calendar control, generating a start of date according to the first predetermined position.
Step 503, in response to the user contacting the touch-sensitive display at a second predetermined position of the calendar control, generating a date end point according to the second predetermined position. And, the user is in constant contact with the touch-sensitive display during the sliding from the first predetermined position to the second predetermined position.
And 504, responding to the separation of the user from the touch-sensitive display at the third preset position of the calendar control, obtaining an application date according to the date starting point and the date ending point, and filling the application date into the date text box. And, the user is in constant contact with the touch-sensitive display during the sliding from the second predetermined position to the third predetermined position.
In order to accurately position the first preset position and the second preset position, the user is in continuous contact with the touch display in the process of sliding from the first preset position to the second preset position; meanwhile, the user is prevented from mistakenly operating and filling the date text box of the form, and the user is in continuous contact with the touch-sensitive display in the process of sliding from the second preset position to the third preset position. That is, the user slides on the calendar control from the first predetermined position to the second predetermined position and from the second predetermined position to the third predetermined position while in constant contact with the touch-sensitive display. Therefore, the user can select the departure date and the return date at one time by sliding the fingers and directly slide to the determined button from the return date, and the original three click events can be changed into one sliding event in this way, so that the operation flow of filling the form is greatly simplified.
And 505, screening out a destination with the highest travel frequency and a corresponding travel route from the historical travel set of the user.
Step 506, taking the current position of the user as a departure place, filling the departure place and the destination into an address text box of the form, and filling the travel event into a route text box of the form.
In addition, in one embodiment of the present invention, the detailed implementation of the method for filling forms is described in detail above, so that the repeated description is not repeated here.
Fig. 6 is a schematic diagram of main modules of an apparatus for filling forms according to an embodiment of the present invention, and as shown in fig. 6, the apparatus 600 for filling forms includes a generation module 601, a date filling module 602, and an address filling module 603. The generation module 601 is configured to generate a calendar control in response to that an information entry position of a date text box of the form coincides with a cursor position; the date filling module 602 is used for filling the application date into the date text box in response to the sliding operation of the user on the calendar control; the address filling module 603 is configured to fill the departure place and the destination into the address text box of the form according to the historical travel and the current location of the user.
Optionally, the date filling module 602 is further configured to:
in response to user contact with a touch-sensitive display at a first predetermined location of the calendar control, generating a start of date in accordance with the first predetermined location;
in response to separation of the user from the touch-sensitive display at a second predetermined location of the calendar control, generating an end of date in accordance with the second predetermined location;
and obtaining an application date according to the date starting point and the date ending point, and filling the application date into the date text box.
Optionally, the user is in continuous contact with the touch-sensitive display during movement from the first predetermined position to the second predetermined position.
Optionally, the date filling module 602 is further configured to:
and responding to the clicking operation of the user at a third preset position of the calendar control, obtaining an application date according to the date starting point and the date ending point, and filling the application date into the date text box.
Optionally, the date filling module 602 is further configured to:
in response to user contact with a touch-sensitive display at a first predetermined location of the calendar control, generating a start of date in accordance with the first predetermined location;
in response to contact by the user with the touch-sensitive display at a second predetermined location of the calendar control, generating an end of date in accordance with the second predetermined location;
in response to the user's separation from the touch-sensitive display at a third predetermined location of the calendar control, obtaining an application date from the start date point and the end date point, and populating the application date into the date textbox.
Optionally, the user is in constant contact with the touch-sensitive display during movement from the first predetermined position to the second predetermined position and during movement from the second predetermined position to the third predetermined position.
Optionally, the address padding module 603 is further configured to:
screening out a destination with the highest travel frequency from the historical travel set of the user;
and taking the current position of the user as a starting place, and filling the starting place and the destination into an address text box of the form.
Optionally, the system further comprises a second entity module, configured to:
acquiring a travel course corresponding to a destination with the highest travel frequency;
and filling the trip event in an event text box of the form.
According to the various embodiments described above, it can be seen that the present invention fills the application date into the date textbox by responding to the sliding operation of the user on the calendar control; the technical means of filling the departure place and the destination into the address text box according to the historical travel and the current position of the user solves the technical problem that the operation flow of filling the form in the prior art is complex. According to the embodiment of the invention, the application date is automatically filled in the form through the sliding operation of the user on the calendar control, so that the operation amount of the user can be reduced as much as possible, the operation flow for filling the form is simplified, the user can efficiently finish the interaction with the terminal in the shortest time, and the interaction between the user and the terminal is more intelligent.
It should be noted that, in the embodiment of the apparatus for filling forms of the present invention, the details of the method for filling forms are described above, and therefore, the repeated descriptions herein will not be repeated.
Fig. 7 illustrates an exemplary system architecture 700 to which the method of populating forms or the apparatus for populating forms of embodiments of the invention may be applied.
As shown in fig. 7, the system architecture 700 may include terminal devices 701, 702, 703, a network 704, and a server 705. The network 704 serves to provide a medium for communication links between the terminal devices 701, 702, 703 and the server 705. Network 704 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
A user may use the terminal devices 701, 702, 703 to interact with a server 705 over a network 704, to receive or send messages or the like. The terminal devices 701, 702, 703 may have installed thereon various communication client applications, such as a shopping-like application, a web browser application, a search-like application, an instant messaging tool, a mailbox client, social platform software, etc. (by way of example only).
The terminal devices 701, 702, 703 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 705 may be a server providing various services, such as a background management server (for example only) providing support for shopping websites browsed by users using the terminal devices 701, 702, 703. The background management server may analyze and otherwise process the received data such as the item information query request, and feed back a processing result (for example, target push information, item information — just an example) to the terminal device.
It should be noted that the method for filling a form provided by the embodiment of the present invention is generally executed by the terminal devices 701, 702, and 703, and accordingly, the apparatus for filling a form is generally disposed in the terminal devices 701, 702, and 703.
It should be understood that the number of terminal devices, networks, and servers in fig. 7 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 8, shown is a block diagram of a computer system 800 suitable for use with a terminal device implementing an embodiment of the present invention. The terminal device shown in fig. 8 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 8, the computer system 800 includes a Central Processing Unit (CPU)801 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)802 or a program loaded from a storage section 808 into a Random Access Memory (RAM) 803. In the RAM803, various programs and data necessary for the operation of the system 800 are also stored. The CPU 801, ROM 802, and RAM803 are connected to each other via a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
To the I/O interface 805, AN input section 806 including a keyboard, a mouse, and the like, AN output section 807 including a network interface card such as a Cathode Ray Tube (CRT), a liquid crystal display (L CD), and the like, a speaker, and the like, a storage section 808 including a hard disk, and the like, and a communication section 809 including a network interface card such as a L AN card, a modem, and the like are connected, the communication section 809 performs communication processing via a network such as the internet, a drive 810 is also connected to the I/O interface 805 as necessary, a removable medium 811 such as a magnetic disk, AN optical disk, a magneto-optical disk, a semiconductor memory, and the like is mounted on the drive 810 as necessary, so that a computer program read out therefrom is mounted into the storage section 808 as.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 809 and/or installed from the removable medium 811. The computer program executes the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 801.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer programs according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor includes a generation module, a date population module, and an address population module, where the names of the modules do not in some cases constitute a limitation on the modules themselves.
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise: responding to the coincidence of the information entry position of the date text box of the form and the cursor position, and generating a calendar control; filling the application date into the date text box in response to the sliding operation of the user on the calendar control; and filling the departure place and the destination into an address text box of the form according to the historical travel and the current position of the user.
According to the technical scheme of the embodiment of the invention, the application date is filled into the date text box by responding to the sliding operation of the user on the calendar control; according to the historical travel and the current position of the user, the starting place and the destination are filled into the address text box, so that the technical problem that the operation flow of filling the form in the prior art is complex is solved. According to the embodiment of the invention, the application date is automatically filled in the form through the sliding operation of the user on the calendar control, so that the operation amount of the user can be reduced as much as possible, the operation flow for filling the form is simplified, the user can efficiently finish the interaction with the terminal in the shortest time, and the interaction between the user and the terminal is more intelligent.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (11)
1. A method of populating a form, comprising:
responding to the coincidence of the information entry position of the date text box of the form and the cursor position, and generating a calendar control;
filling the application date into the date text box in response to the sliding operation of the user on the calendar control;
and filling the departure place and the destination into an address text box of the form according to the historical travel and the current position of the user.
2. The method of claim 1, wherein populating the application date into the date textbox in response to a user swipe operation on the calendar control comprises:
in response to user contact with a touch-sensitive display at a first predetermined location of the calendar control, generating a start of date in accordance with the first predetermined location;
in response to separation of the user from the touch-sensitive display at a second predetermined location of the calendar control, generating an end of date in accordance with the second predetermined location;
and obtaining an application date according to the date starting point and the date ending point, and filling the application date into the date text box.
3. The method of claim 2, wherein the user is in constant contact with the touch-sensitive display during the sliding from the first predetermined position to the second predetermined position.
4. The method of claim 2, wherein obtaining an application date from the date start point and the date end point, and populating the application date into the date text box comprises:
and responding to the clicking operation of the user at a third preset position of the calendar control, obtaining an application date according to the date starting point and the date ending point, and filling the application date into the date text box.
5. The method of claim 1, wherein populating the application date into the date textbox in response to a user swipe operation on the calendar control comprises:
in response to user contact with a touch-sensitive display at a first predetermined location of the calendar control, generating a start of date in accordance with the first predetermined location;
in response to contact by the user with the touch-sensitive display at a second predetermined location of the calendar control, generating an end of date in accordance with the second predetermined location;
in response to the user's separation from the touch-sensitive display at a third predetermined location of the calendar control, obtaining an application date from the start date point and the end date point, and populating the application date into the date textbox.
6. The method of claim 5, wherein the user is in constant contact with the touch-sensitive display during the sliding from the first predetermined location to the second predetermined location and during the sliding from the second predetermined location to the third predetermined location.
7. The method of claim 1, wherein populating the origin and destination into the address textbox of the form based on the historical travel and the current location of the user comprises:
screening out a destination with the highest travel frequency from the historical travel set of the user;
and taking the current position of the user as a starting place, and filling the starting place and the destination into an address text box of the form.
8. The method of claim 7, wherein populating a start and destination into an address text box of the form based on the user's historical travel and current location, further comprises:
acquiring a travel course corresponding to a destination with the highest travel frequency;
and filling the trip event in an event text box of the form.
9. An apparatus for filling forms, comprising:
the generating module is used for responding to the coincidence of the information entry position of the date text box of the form and the cursor position and generating a calendar control;
the date filling module is used for filling the application date into the date text box in response to the sliding operation of the user on the calendar control;
and the address filling module is used for filling the departure place and the destination into the address text box of the form according to the historical travel and the current position of the user.
10. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-8.
11. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010181873.2A CN111428456A (en) | 2020-03-16 | 2020-03-16 | Method and device for filling form |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010181873.2A CN111428456A (en) | 2020-03-16 | 2020-03-16 | Method and device for filling form |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111428456A true CN111428456A (en) | 2020-07-17 |
Family
ID=71553515
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010181873.2A Pending CN111428456A (en) | 2020-03-16 | 2020-03-16 | Method and device for filling form |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111428456A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108536703A (en) * | 2017-03-02 | 2018-09-14 | 北京嘀嘀无限科技发展有限公司 | Method and device is determined based on the destination of user data |
CN109086751A (en) * | 2018-09-27 | 2018-12-25 | 珠海格力电器股份有限公司 | Identification method and device, form filling method and device, storage medium and terminal |
CN109788438A (en) * | 2019-02-11 | 2019-05-21 | 胡金星 | A kind of intelligent navigation car networking system based on big data |
CN109801110A (en) * | 2019-01-28 | 2019-05-24 | 深圳市活力天汇科技股份有限公司 | A kind of recognition methods of travel information input error |
CN110246021A (en) * | 2019-06-19 | 2019-09-17 | 常德职业技术学院 | A kind of accounting class is gone on business real-time reimbursement system |
-
2020
- 2020-03-16 CN CN202010181873.2A patent/CN111428456A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108536703A (en) * | 2017-03-02 | 2018-09-14 | 北京嘀嘀无限科技发展有限公司 | Method and device is determined based on the destination of user data |
CN109086751A (en) * | 2018-09-27 | 2018-12-25 | 珠海格力电器股份有限公司 | Identification method and device, form filling method and device, storage medium and terminal |
CN109801110A (en) * | 2019-01-28 | 2019-05-24 | 深圳市活力天汇科技股份有限公司 | A kind of recognition methods of travel information input error |
CN109788438A (en) * | 2019-02-11 | 2019-05-21 | 胡金星 | A kind of intelligent navigation car networking system based on big data |
CN110246021A (en) * | 2019-06-19 | 2019-09-17 | 常德职业技术学院 | A kind of accounting class is gone on business real-time reimbursement system |
Non-Patent Citations (1)
Title |
---|
A珠珠: ""UI设计组件-时间选择器,日历设计从未如此简单!"", 《HTTPS://WWW.SOHU.COM/A/376823635_505826》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20230297639A1 (en) | Event listening integration in a collaborative electronic information system | |
US10824403B2 (en) | Application builder with automated data objects creation | |
CN110741375B (en) | Input reduction for forms in network resources | |
US20180081642A1 (en) | Connectors framework | |
US20150106723A1 (en) | Tools for locating, curating, editing, and using content of an online library | |
US20160019308A1 (en) | Modifying the order of items in a digital document based upon usage patterns | |
CN111045653B (en) | System generation method and device, computer readable medium and electronic equipment | |
CN109074265A (en) | The preformed instruction of mobile cloud service | |
US12056440B2 (en) | Document update method and apparatus, device, and medium | |
CN113590974B (en) | Recommendation page configuration method and device, electronic equipment and computer readable medium | |
CN113220381A (en) | Click data display method and device | |
CN113434063B (en) | Information display method, device and equipment | |
CN113486635A (en) | Document editing method and device, electronic equipment and computer readable medium | |
CN117742832A (en) | Page guiding configuration method, page guiding method and equipment | |
CN113419711A (en) | Page guiding method and device, electronic equipment and storage medium | |
CN111415262A (en) | Service processing method and device | |
CN111723134A (en) | Information processing method, information processing device, electronic equipment and storage medium | |
CN113590985B (en) | Page jump configuration method and device, electronic equipment and computer readable medium | |
CN111428456A (en) | Method and device for filling form | |
CN115965328A (en) | Information processing method, device, equipment and medium | |
CN115563134A (en) | Interaction method, interaction device, electronic equipment and computer readable medium | |
CN113282285A (en) | Code compiling method and device, electronic equipment and storage medium | |
CN113377473A (en) | Task creation method and device, electronic equipment and computer readable storage medium | |
CN110874302A (en) | Method and device for determining buried point configuration information | |
CN113704593B (en) | Operation data processing method and related device |
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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20220920 Address after: 25 Financial Street, Xicheng District, Beijing 100033 Applicant after: CHINA CONSTRUCTION BANK Corp. Address before: 25 Financial Street, Xicheng District, Beijing 100033 Applicant before: CHINA CONSTRUCTION BANK Corp. Applicant before: Jianxin Financial Science and Technology Co.,Ltd. |
|
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200717 |