CN112612986A - Data filling method and device, electronic equipment and storage medium - Google Patents
Data filling method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN112612986A CN112612986A CN202011564254.8A CN202011564254A CN112612986A CN 112612986 A CN112612986 A CN 112612986A CN 202011564254 A CN202011564254 A CN 202011564254A CN 112612986 A CN112612986 A CN 112612986A
- Authority
- CN
- China
- Prior art keywords
- data
- filled
- area
- identifier
- database
- 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 41
- 230000001960 triggered effect Effects 0.000 description 4
- 230000006399 behavior Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000013475 authorization Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/22—Matching criteria, e.g. proximity measures
-
- 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/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0483—Interaction with page-structured environments, e.g. book metaphor
-
- 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/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/0486—Drag-and-drop
-
- 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)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Databases & Information Systems (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Evolutionary Computation (AREA)
- Evolutionary Biology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Bioinformatics & Computational Biology (AREA)
- Artificial Intelligence (AREA)
- Life Sciences & Earth Sciences (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application relates to the technical field of computer software, and discloses a data filling method, which comprises the following steps: when an instruction for filling at least one data stored in a database into at least one area to be filled of a current webpage is received, matching an identifier of the at least one data with an identifier of the at least one area to be filled, wherein the database is used for storing historical filling data of each webpage; and filling the data with the successfully matched identifier into the area to be filled with the successfully matched identifier and the data. The method and the device realize secondary utilization of the filled data in the webpage, reduce repeated filling of the same information when filling the information in the webpage, and save labor cost and time cost.
Description
Technical Field
The present application relates to the field of computer software technologies, and for example, to a data filling method and apparatus, an electronic device, and a storage medium.
Background
In the prior art, a user often needs to fill in data on a webpage, and the data to be filled in on a plurality of webpages often has a situation of data duplication, for example, when two registered webpages register with a mobile phone number, both the registered webpages need to fill in the mobile phone number, or both the verified webpages need to fill in a name. Even if the filled contents are the same, the user needs to repeatedly fill the same information when accessing different web pages, which wastes labor and time costs to a great extent.
Disclosure of Invention
The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview nor is intended to identify key/critical elements or to delineate the scope of such embodiments but rather as a prelude to the more detailed description that is presented later.
The embodiment of the disclosure provides a data filling method, a data filling device, a storage medium and electronic equipment, and aims to solve the problems that the same information is repeatedly filled when a user accesses different webpages, and the labor cost and the time cost are wasted.
In some embodiments, a data filling method provided by an embodiment of the present disclosure includes:
when an instruction for filling at least one data stored in a database into at least one area to be filled of a current webpage is received, matching an identifier of the at least one data with an identifier of the at least one area to be filled, wherein the database is used for storing historical filling data of each webpage;
and filling the data with the successfully matched identifier into the area to be filled with the successfully matched identifier and the data.
In some embodiments, the instruction to fill in at least one data stored in the database to the area to be filled in of the current web page includes:
a first dragging instruction from a data area of the database to an area to be filled in of a current webpage;
the matching the identifier of the at least one data with the identifier of the at least one area to be filled out includes:
determining data corresponding to a starting area of the first dragging instruction in the database and an identifier of the corresponding data;
determining a region to be filled in which is positioned in the first dragging instruction endpoint region in the current webpage, and acquiring an identifier of the region to be filled in of the endpoint region;
matching the identifier of the data corresponding to the starting point area with the identifier of the area to be filled in of the terminal point area;
the data with successfully matched identifiers is filled in the area to be filled with the successfully matched identifiers and the data with the successfully matched identifiers:
and when the identification of the data corresponding to the starting point area is successfully matched with the identification of the area to be filled in of the terminal area, filling the data corresponding to the starting point area into the area to be filled in of the terminal area.
In some embodiments, the method provided by the embodiment of the present disclosure further includes determining an area to be filled in where the identifier matching is unsuccessful, and acquiring data filled in the area to be filled in where the identifier matching is unsuccessful after detecting that data is filled in the area to be filled in where the identifier matching is unsuccessful;
and storing the filled data and the identification of the area to be filled with which the identification matching is unsuccessful in the database.
In some embodiments, the method provided by the embodiments of the present disclosure further includes:
when an instruction for storing filled data in the current webpage into the database is received, the filled data is saved into the database.
In some embodiments, the instructions for storing the filled-in data in the current web page in the database include:
a second dragging instruction from a filled-in data area of the current webpage to the database area;
the saving the filled-in data to the database includes:
identifying a second drag instruction from the filled-in data area of the current web page to the database area;
acquiring filled data of a starting point area of the second dragging instruction in the current webpage and an identifier corresponding to the filled data of the starting point area;
and storing the filled data of the starting area and the identification corresponding to the filled data of the starting area into the database.
In some embodiments, the method provided by the embodiments of the present disclosure further includes:
acquiring filled data of each webpage and an identifier corresponding to the filled data;
storing the filled data and the identification corresponding to the filled data in a preset storage area, wherein the preset storage area is a storage area required by the creation of the database;
and generating a display page of the database based on the data stored in the preset storage area, and displaying the display page.
In some embodiments, the method provided by the embodiments of the present disclosure further includes:
acquiring the use frequency of each data stored in the database within a preset time period;
and when the use frequency in the preset time period is lower than a set value, deleting the data corresponding to the use frequency in the preset time period.
The embodiment of the present disclosure provides a data filling apparatus, including:
the matching module is used for matching the identifier of at least one data stored in the database with the identifier of at least one area to be filled when receiving an instruction for filling at least one data in at least one area to be filled of a current webpage, wherein the database is used for storing historical filling data of each webpage;
and the filling module is used for filling the data with the successfully matched identifier into the area to be filled, wherein the identifier is matched with the data with the successfully matched identifier.
In some embodiments, the instruction to fill in at least one data stored in the database to the area to be filled in of the current web page includes:
a first dragging instruction from a data area of the database to an area to be filled in of a current webpage;
the matching module matches the identifier of the at least one data with the identifier of the at least one area to be filled out, and is configured to:
determining data corresponding to a starting area of the first dragging instruction in the database and an identifier of the corresponding data;
determining a region to be filled in which is positioned in the first dragging instruction endpoint region in the current webpage, and acquiring an identifier of the region to be filled in of the endpoint region;
matching the identifier of the data corresponding to the starting point area with the identifier of the area to be filled in of the terminal point area;
the filling module fills the data with successfully matched identifiers into the area to be filled with the successfully matched identifiers, and is used for:
and when the identification of the data corresponding to the starting point area is successfully matched with the identification of the area to be filled in of the terminal area, filling the data corresponding to the starting point area into the area to be filled in of the terminal area.
In some embodiments, the apparatus provided in this disclosure further includes a first saving module, configured to determine an area to be filled in where the identifier matching is unsuccessful, and acquire data filled in the area to be filled in where the identifier matching is unsuccessful after detecting that data is filled in the area to be filled in where the identifier matching is unsuccessful;
and storing the filled data and the identification of the area to be filled with which the identification matching is unsuccessful in the database.
In some embodiments, the apparatus provided in the embodiments of the present disclosure further includes a second saving module, configured to:
when an instruction for storing filled data in the current webpage into the database is received, the filled data is saved into the database.
In some embodiments, the instructions for storing the filled-in data in the current web page in the database include:
a second dragging instruction from a filled-in data area of the current webpage to the database area;
the second saving module saves the filled data into the database, and comprises:
identifying a second drag instruction from the filled-in data area of the current web page to the database area;
acquiring filled data of a starting point area of the second dragging instruction in the current webpage and an identifier corresponding to the filled data of the starting point area;
and storing the filled data of the starting area and the identification corresponding to the filled data of the starting area into the database.
In some embodiments, the apparatus provided by the embodiments of the present disclosure further includes a database creation module, configured to:
acquiring filled data of each webpage and an identifier corresponding to the filled data;
storing the filled data and the identification corresponding to the filled data in a preset storage area, wherein the preset storage area is a storage area required by the creation of the database;
and generating a display page of the database based on the data stored in the preset storage area, and displaying the display page.
In some embodiments, the apparatus provided in this disclosure further includes a data deleting module, configured to:
acquiring the use frequency of each data stored in the database in a preset time period;
and determining the data to be cleaned with the use frequency lower than a set value, and deleting the data to be cleaned.
The disclosed embodiments also provide a computer-readable storage medium storing computer instructions, which are executed by a processor to perform the method provided by the disclosed embodiments.
The disclosed embodiment also provides an electronic device, which comprises a processor and a memory, wherein the memory stores computer instructions, and the processor is configured to execute the method provided by the disclosed embodiment based on the computer instructions.
The data filling method, the data filling device, the storage medium and the electronic equipment provided by the embodiment of the disclosure can realize the following technical effects:
the technical scheme disclosed by the invention realizes the secondary utilization of the filled data in the webpage, reduces the repeated filling of the same information when the information is filled in the webpage, and saves the labor cost and the time cost.
In an implementation mode, a user can trigger secondary utilization of data stored in a database in a mode of dragging data in the database to a filling area of a webpage, an interaction mode is simple and time-saving, and efficiency is improved.
In addition, by acquiring the use frequency of each data stored in the database within a preset time period and deleting the data according to the use frequency within the preset time period, the inactive data in the database can be reduced, the inactive data are prevented from occupying too much storage space of the database, and the space cost is saved.
When the matching of the identification of the data in the database and the identification of the area to be filled in of the current webpage fails, the data to be filled in the area to be filled in subsequently can be automatically stored in the database, the data in the database is automatically expanded, and the data to be filled in subsequently can be directly used for automatic filling in the next time of data filling.
The foregoing general description and the following description are exemplary and explanatory only and are not restrictive of the application.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the accompanying drawings and not in limitation thereof, in which elements having the same reference numeral designations are shown as like elements and not in limitation thereof, and wherein:
fig. 1 is a flowchart of a data filling method according to an embodiment of the present disclosure;
fig. 2 is a second flowchart of a data filling method according to an embodiment of the disclosure;
fig. 3 is a third flowchart of a data filling method according to an embodiment of the disclosure;
fig. 4 is a fourth flowchart of a data filling method according to an embodiment of the disclosure;
fig. 5 is a fifth flowchart of a data filling method according to an embodiment of the disclosure;
fig. 6 is a sixth flowchart of a data filling method according to an embodiment of the disclosure;
fig. 7 is a schematic structural diagram of a data filling apparatus according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of an electronic device provided in an embodiment of the present disclosure.
Detailed Description
So that the manner in which the features and elements of the disclosed embodiments can be understood in detail, a more particular description of the disclosed embodiments, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings. In the following description of the technology, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments may be practiced without these details. In other instances, well-known structures and devices may be shown in simplified form in order to simplify the drawing.
The terms "first," "second," and the like in the description and in the claims, and the above-described drawings of embodiments of the present disclosure, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the present disclosure described herein may be made. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions.
In the embodiments of the present disclosure, the terms "upper", "lower", "inner", "middle", "outer", "front", "rear", and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings. These terms are used primarily to better describe the disclosed embodiments and their examples and are not intended to limit the indicated devices, elements or components to a particular orientation or to be constructed and operated in a particular orientation. Moreover, some of the above terms may be used to indicate other meanings besides the orientation or positional relationship, for example, the term "on" may also be used to indicate some kind of attachment or connection relationship in some cases. The specific meanings of these terms in the embodiments of the present disclosure can be understood by those of ordinary skill in the art as appropriate.
In addition, the terms "disposed," "connected," and "secured" are to be construed broadly. For example, "connected" may be a fixed connection, a detachable connection, or a unitary construction; can be a mechanical connection, or an electrical connection; may be directly connected, or indirectly connected through intervening media, or may be in internal communication between two devices, elements or components. Specific meanings of the above terms in the embodiments of the present disclosure can be understood by those of ordinary skill in the art according to specific situations.
The term "plurality" means two or more unless otherwise specified.
In the embodiment of the present disclosure, the character "/" indicates that the preceding and following objects are in an or relationship. For example, A/B represents: a or B.
The term "and/or" is an associative relationship that describes objects, meaning that three relationships may exist. For example, a and/or B, represents: a or B, or A and B.
It should be noted that, in the case of no conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other.
The embodiment of the disclosure provides a data filling method, a data filling device, a storage medium and electronic equipment, and aims to solve the problems that the same information is repeatedly filled when a user accesses different webpages, and the labor cost and the time cost are wasted.
In some embodiments, as shown in fig. 1, in some embodiments, a data filling method provided by an embodiment of the present disclosure includes:
s101, when an instruction for filling at least one data stored in a database into at least one area to be filled of a current webpage is received, matching an identifier of the at least one data with an identifier of the at least one area to be filled, wherein the database is used for storing historical filling data of each webpage;
s102, the data with successfully matched identifiers are filled in the area to be filled, wherein the identifiers are matched with the data with successfully matched identifiers.
In practical application, the database in the embodiment of the present disclosure may be a data recycle bin, and a user may access the data recycle bin to check data or an identifier of the data stored in the data recycle bin, and the user may also perform a click and drag operation on the data or the identifier of the data displayed by the data recycle bin, and the data in the database and the identifier corresponding to the data may be stored in a key-value pair manner. The databases mentioned in the present disclosure are all used for storing historical filling data of each web page.
In S101, the identifier of at least one data and the identifier of at least one area to be filled are matched, which may be to confirm whether the identifiers of the data and the identifiers of the area to be filled are completely consistent or whether the identifiers of the data and the identifiers of the area to be filled are completely consistent in the same language, or to confirm whether the identifiers of the data and the identifiers of the area to be filled are corresponding to each other in a preset matching table, and those skilled in the art may also use other methods to match the identifiers of the data and the identifiers of the area to be filled, which is not limited in this application.
The identifier of the area to be filled may be an identifier set for the area to be filled in the web code, for example, an area for filling in a name, where the identifier is a name or a name.
The database can store historical filling data of each webpage, and when an instruction for filling at least one data stored in the database into at least one region to be filled of the current webpage is received, secondary utilization of the data stored in the database can be triggered, so that repeated filling of the same information when information is filled in the webpage is reduced, and labor cost and time cost are saved.
Each webpage can be a predetermined appointed webpage, namely, historical filling data of a user can be captured from the appointed webpage and stored in a database; or, each webpage may be a webpage that has been accessed by the user and has history filling data, that is, the contents of the webpage where the user has access behavior may be automatically crawled under the condition of obtaining the authorization of the user, and the history filling data of the user may be obtained and stored in the database.
In some embodiments, the instruction to fill in at least one data stored in the database to the area to be filled in of the current web page may be a first drag instruction from the data area of the database to the area to be filled in of the current web page. Especially for the case that a data in the database needs to be filled in an area to be filled in of the current web page, as shown in fig. 2, the matching the identifier of the at least one data with the identifier of the at least one area to be filled in includes:
s201, determining data corresponding to a starting area of the first dragging instruction in the database and an identifier of the corresponding data;
s202, determining a region to be filled in the current webpage, which is located in the first dragging instruction terminal region, and acquiring an identifier of the region to be filled in the terminal region;
and S203, matching the identifier of the data corresponding to the starting point area with the identifier of the area to be filled in of the end point area.
At this time, in S102, the data whose identifier is successfully matched is filled in the area to be filled whose identifier is matched with the data whose identifier is successfully matched, including:
and when the identification of the data corresponding to the starting point area is successfully matched with the identification of the area to be filled in of the terminal area, filling the data corresponding to the starting point area into the area to be filled in of the terminal area.
In some embodiments, if the identification of the area to be filled is not successfully matched, the data subsequently filled in the area to be filled can be stored in the database, so that the data in the database can be supplemented and updated in time, more areas to be filled can be filled in by means of data backfilling in the database, labor is further saved, and automation is improved. As shown in fig. 3, the method provided by the embodiment of the present disclosure further includes:
s301, determining an area to be filled with an unsuccessful identifier matching, and acquiring data filled in the area to be filled with the unsuccessful identifier matching after detecting that the data is filled in the area to be filled with the unsuccessful identifier matching;
s302, storing the filled data and the identification of the area to be filled with which the identification matching is unsuccessful into the database.
In some embodiments, the filled-in data in the web page may be stored in a database in an external triggering manner, and the method provided by the embodiment of the present disclosure further includes:
when an instruction for storing filled data in the current webpage into the database is received, the filled data is saved into the database.
The external triggering mode may be a mode in which a user drags with a mouse, and therefore, the instruction for storing the data filled in the current webpage into the database may be a second dragging instruction from a data area filled in the current webpage to the database area.
When the filled-in data is triggered to be saved to the database through the second drag instruction, as shown in fig. 4, the saving the filled-in data to the database includes:
s401, identifying a second dragging instruction from a filled data area of the current webpage to the database area;
s402, acquiring filled data of a starting point area of the second dragging instruction in the current webpage and an identifier corresponding to the filled data of the starting point area;
and S403, storing the filled data of the starting area and the identification corresponding to the filled data of the starting area into the database.
In some embodiments, the method provided by the embodiment of the present disclosure may further automatically create a database for storing the historical filling data of each web page, as shown in fig. 5, and the method provided by the embodiment of the present disclosure further includes:
s501, acquiring filled data of each webpage and identification corresponding to the filled data;
s502, storing the filled data and the identification corresponding to the filled data in a preset storage area, wherein the preset storage area is a storage area required by the creation of the database;
s503, generating a display page of the database based on the data stored in the preset storage area, and displaying the display page.
The preset storage area may be a storage area defined in advance by a user, or may be a storage area preset in a computer program.
In the manner shown in fig. 5, automatic creation may be performed when the device does not have the database for storing the historical fill-in data for each web page of the present disclosure. The automatic creation may be user triggered or triggered by system preset conditions, and the disclosure is not limited thereto.
In some embodiments, in order to avoid storing too much data that is not used for a long time in the database, the data in the database may be cleaned, as shown in fig. 6, the method provided in the embodiment of the present disclosure further includes:
s601, obtaining the use frequency of each data stored in the database within a preset time period;
s602, determining the data to be cleaned with the use frequency lower than a set value, and deleting the data to be cleaned.
The usage frequency within the preset time period may be the usage frequency of each data within a preset time from the current time, in one embodiment, the data in the database is cleaned, and may be a periodic behavior, and the usage frequency within the preset time period may be understood as the usage frequency within the cycle.
As shown in fig. 7, an embodiment of the present disclosure provides a data filling apparatus, including:
a matching module 701, configured to match an identifier of at least one data stored in a database with an identifier of at least one area to be filled when receiving an instruction to fill at least one data in the at least one area to be filled in of a current web page, where the database is used to store historical filling data of each web page;
and a filling module 702, configured to fill the data with the successfully matched identifier into the area to be filled, where the identifier is matched with the data with the successfully matched identifier.
In some embodiments, the instruction to fill in at least one data stored in the database to the area to be filled in of the current web page includes:
a first dragging instruction from a data area of the database to an area to be filled in of a current webpage;
the matching module 701 matches the identifier of the at least one data with the identifier of the at least one area to be filled in, so as to:
determining data corresponding to a starting area of the first dragging instruction in the database and an identifier of the corresponding data;
determining a region to be filled in which is positioned in the first dragging instruction endpoint region in the current webpage, and acquiring an identifier of the region to be filled in of the endpoint region;
matching the identifier of the data corresponding to the starting point area with the identifier of the area to be filled in of the terminal point area;
the filling module 702 fills the data with successfully matched identifiers into the area to be filled with successfully matched identifiers, and is configured to:
and when the identification of the data corresponding to the starting point area is successfully matched with the identification of the area to be filled in of the terminal area, filling the data corresponding to the starting point area into the area to be filled in of the terminal area.
In some embodiments, the apparatus provided in this disclosure further includes a first saving module 703, configured to determine an area to be filled in where the identifier matching is unsuccessful, and acquire data filled in the area to be filled in where the identifier matching is unsuccessful after detecting that data is filled in the area to be filled in where the identifier matching is unsuccessful;
and storing the filled data and the identification of the area to be filled with which the identification matching is unsuccessful in the database.
In some embodiments, the apparatus provided in the embodiments of the present disclosure further includes a second saving module 704, configured to:
when an instruction for storing filled data in the current webpage into the database is received, the filled data is saved into the database.
In some embodiments, the instructions for storing the filled-in data in the current web page in the database include:
a second dragging instruction from a filled-in data area of the current webpage to the database area;
the second saving module 704 saves the filled data in the database, including:
identifying a second drag instruction from the filled-in data area of the current web page to the database area;
acquiring filled data of a starting point area of the second dragging instruction in the current webpage and an identifier corresponding to the filled data of the starting point area;
and storing the filled data of the starting area and the identification corresponding to the filled data of the starting area into the database.
In some embodiments, the apparatus provided by the embodiments of the present disclosure further includes a database creating module 705, configured to:
acquiring filled data of each webpage and an identifier corresponding to the filled data;
storing the filled data and the identification corresponding to the filled data in a preset storage area, wherein the preset storage area is a storage area required by the creation of the database;
and generating a display page of the database based on the data stored in the preset storage area, and displaying the display page.
In some embodiments, the apparatus provided in this disclosure further includes a data deleting module 706, configured to:
acquiring the use frequency of each data stored in the database within a preset time period;
and determining the data to be cleaned with the use frequency lower than a set value, and deleting the data to be cleaned.
The disclosed embodiments also provide a computer-readable storage medium storing computer instructions, which are executed by a processor to perform the method provided by the disclosed embodiments.
The embodiment of the present disclosure further provides an electronic device, which includes a processor 801 and a memory 802, where the memory 802 stores computer instructions, and the processor 801 is configured to execute the method provided by the embodiment of the present disclosure based on the computer instructions.
The data filling method, the data filling device, the storage medium and the electronic equipment provided by the embodiment of the disclosure can realize the following technical effects:
the technical scheme disclosed by the invention realizes the secondary utilization of the filled data in the webpage, reduces the repeated filling of the same information when the information is filled in the webpage, and saves the labor cost and the time cost.
The user can trigger the secondary utilization of the data stored in the database by dragging the data in the database to the area to be filled in the webpage, and the interaction mode is simple and time-saving, and is beneficial to improving the efficiency.
By acquiring the use frequency of each data stored in the database within a preset time period and deleting the data according to the use frequency within the preset time period, the inactive data in the database can be reduced, the inactive data are prevented from occupying too much storage space of the database, and the space cost is saved.
When the matching of the identification of the data in the database and the identification of the area to be filled in of the current webpage fails, the data to be filled in subsequently in the area to be filled in is automatically stored in the database, and the data in the database is automatically expanded.
The above description and drawings sufficiently illustrate embodiments of the disclosure to enable those skilled in the art to practice them. Other embodiments may include structural and other changes. The examples merely typify possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in or substituted for those of others. The embodiments of the present disclosure are not limited to the structures that have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (10)
1. A data filling method, comprising:
when an instruction for filling at least one data stored in a database into at least one area to be filled of a current webpage is received, matching an identifier of the at least one data with an identifier of the at least one area to be filled, wherein the database is used for storing historical filling data of each webpage;
and filling the data with the successfully matched identifier into the area to be filled with the successfully matched identifier and the data.
2. The method of claim 1, wherein the instructions for populating the at least one data stored in the database into the area of the current web page to be populated comprise:
a first dragging instruction from a data area of the database to an area to be filled in of a current webpage;
the matching the identifier of the at least one data with the identifier of the at least one area to be filled out includes:
determining data corresponding to a starting area of the first dragging instruction in the database and an identifier of the corresponding data;
determining a region to be filled in which is positioned in the first dragging instruction endpoint region in the current webpage, and acquiring an identifier of the region to be filled in of the endpoint region;
matching the identifier of the data corresponding to the starting point area with the identifier of the area to be filled in of the terminal point area;
the step of filling the data with the successfully matched identifier into the area to be filled with the successfully matched identifier and the data with the successfully matched identifier comprises the following steps:
and when the identification of the data corresponding to the starting point area is successfully matched with the identification of the area to be filled in of the terminal area, filling the data corresponding to the starting point area into the area to be filled in of the terminal area.
3. The method of claim 1, further comprising:
determining an area to be filled with an unsuccessful identifier matching, and acquiring data filled in the area to be filled with the unsuccessful identifier matching after detecting that the area to be filled with the unsuccessful identifier matching has data filled in;
and storing the filled data and the identification of the area to be filled with which the identification matching is unsuccessful in the database.
4. The method of claim 1, wherein the method further comprises:
when an instruction for storing filled data in the current webpage into the database is received, the filled data is saved into the database.
5. The method of claim 4, wherein the instructions to store the filled-in data in the current web page to the database comprise:
a second dragging instruction from a filled-in data area of the current webpage to the database area;
the saving the filled-in data to the database includes:
identifying a second drag instruction from the filled-in data area of the current web page to the database area;
acquiring filled data of a starting point area of the second dragging instruction in the current webpage and an identifier corresponding to the filled data of the starting point area;
and storing the filled data of the starting area and the identification corresponding to the filled data of the starting area into the database.
6. The method of claim 1, further comprising:
acquiring filled data of each webpage and an identifier corresponding to the filled data;
storing the filled data and the identification corresponding to the filled data in a preset storage area, wherein the preset storage area is a storage area required by the creation of the database;
and generating a display page of the database based on the data stored in the preset storage area, and displaying the display page.
7. The method of claim 1, further comprising:
acquiring the use frequency of each data stored in the database within a preset time period;
and determining the data to be cleaned with the use frequency lower than a set value, and deleting the data to be cleaned with the use frequency in the preset time period.
8. A data writing apparatus, comprising:
the matching module is used for matching the identifier of at least one data stored in the database with the identifier of at least one area to be filled when receiving an instruction for filling at least one data in at least one area to be filled of a current webpage, wherein the database is used for storing historical filling data of each webpage;
and the filling module is used for acquiring the data with successfully matched identifiers and the area to be filled corresponding to the identifier matched with the identifier of the data with successfully matched identifiers, and filling the data with successfully matched identifiers into the area to be filled corresponding to the identifier matched with the identifier of the data with successfully matched identifiers.
9. A computer-readable storage medium storing computer instructions for execution by a processor of the method of any one of claims 1 to 7.
10. An electronic device comprising a processor and a memory, the memory storing computer instructions, the processor being configured to perform the method of any one of claims 1 to 7 based on the computer instructions.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011564254.8A CN112612986A (en) | 2020-12-25 | 2020-12-25 | Data filling method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011564254.8A CN112612986A (en) | 2020-12-25 | 2020-12-25 | Data filling method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112612986A true CN112612986A (en) | 2021-04-06 |
Family
ID=75248176
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011564254.8A Pending CN112612986A (en) | 2020-12-25 | 2020-12-25 | Data filling method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112612986A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150222649A1 (en) * | 2012-10-17 | 2015-08-06 | Fansheng ZENG | Method and apparatus for processing a webpage |
CN106202017A (en) * | 2016-07-12 | 2016-12-07 | 东软集团股份有限公司 | Fill in the method and device of list |
CN106681971A (en) * | 2015-11-11 | 2017-05-17 | 阿里巴巴集团控股有限公司 | Form data processing method and device |
CN109299448A (en) * | 2018-09-12 | 2019-02-01 | 武汉轻工大学 | Resume intelligence filling method, system, server and storage medium |
CN109308350A (en) * | 2018-09-26 | 2019-02-05 | 平安普惠企业管理有限公司 | Format Auto Filling Forms method, apparatus, computer equipment and storage medium |
-
2020
- 2020-12-25 CN CN202011564254.8A patent/CN112612986A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150222649A1 (en) * | 2012-10-17 | 2015-08-06 | Fansheng ZENG | Method and apparatus for processing a webpage |
CN106681971A (en) * | 2015-11-11 | 2017-05-17 | 阿里巴巴集团控股有限公司 | Form data processing method and device |
CN106202017A (en) * | 2016-07-12 | 2016-12-07 | 东软集团股份有限公司 | Fill in the method and device of list |
CN109299448A (en) * | 2018-09-12 | 2019-02-01 | 武汉轻工大学 | Resume intelligence filling method, system, server and storage medium |
CN109308350A (en) * | 2018-09-26 | 2019-02-05 | 平安普惠企业管理有限公司 | Format Auto Filling Forms method, apparatus, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108388599B (en) | Electronic device, data migration and calling method and storage medium | |
EP3483737A1 (en) | Method and apparatus for processing object information, and storage medium | |
EP2442214A1 (en) | Electronic device, gesture processing method, and gesture processing program | |
CN104520815A (en) | Method, device and equipment for task scheduling | |
CN106294776A (en) | A kind of data processing method and device | |
CN110362598B (en) | Data query method and device, storage medium and electronic equipment | |
CN109815434A (en) | Page editing method, apparatus, equipment and storage medium | |
CN103077049A (en) | Smart method and system for updating desktop navigation bar | |
CN103927201A (en) | Method and device for updating game files | |
CN104424224A (en) | File index storage method and device | |
CN105847446A (en) | Network data obtaining method, device and system | |
CN109471860B (en) | Large-scale charging pile data processing method and device for electric vehicle charging network | |
CN114860787A (en) | Data management method and device, electronic equipment and readable storage medium | |
CN114780519A (en) | DBC file generation method, device, equipment and medium based on CAN communication | |
CN104182266A (en) | Application installation method and device | |
CN111158777B (en) | Component calling method, device and computer readable storage medium | |
CN112612986A (en) | Data filling method and device, electronic equipment and storage medium | |
CN111475468A (en) | Log access method, device, equipment and storage medium of newly added system | |
CN116339715A (en) | Front-end page construction method and device, electronic equipment and storage medium | |
CN110134416A (en) | Oftware updating method, device and computer readable storage medium | |
CN109656936A (en) | Method of data synchronization, device, computer equipment and storage medium | |
CN109359085A (en) | File migration method, apparatus, computer equipment and storage medium | |
CN102932513B (en) | A kind of business card maintaining method, device and equipment | |
CN104598554A (en) | Webpage page loading method and device | |
CN109597496A (en) | Information prediction method, device and equipment |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210406 |
|
RJ01 | Rejection of invention patent application after publication |