CN106202017A - Fill in the method and device of list - Google Patents

Fill in the method and device of list Download PDF

Info

Publication number
CN106202017A
CN106202017A CN201610545872.5A CN201610545872A CN106202017A CN 106202017 A CN106202017 A CN 106202017A CN 201610545872 A CN201610545872 A CN 201610545872A CN 106202017 A CN106202017 A CN 106202017A
Authority
CN
China
Prior art keywords
data
filled
list
conventional data
territory
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
Application number
CN201610545872.5A
Other languages
Chinese (zh)
Inventor
丁雪艳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Neusoft Corp
Original Assignee
Neusoft Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Neusoft Corp filed Critical Neusoft Corp
Priority to CN201610545872.5A priority Critical patent/CN106202017A/en
Publication of CN106202017A publication Critical patent/CN106202017A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/174Form filling; Merging

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of method and device filling in list.The method includes: the data field to be filled in included by list to be filled in is bound with target conventional data territory, and described target conventional data territory is contained in conventional data domain list;In data field to be filled in described in data in tables of data corresponding for described target conventional data territory are filled up to.Using the method, user only needs to bind data field to be filled in target conventional data territory, can realize automatically data corresponding for target conventional data territory being filled up in data field to be filled in.From the angle of hard coded, it is not necessary to carry out hard coded for each list to be filled in, saved development cost.The angle used from user, Auto-writing data field to be filled in, improve the efficiency filling in list.

Description

Fill in the method and device of list
Technical field
The present invention relates to technical field of data processing, in particular it relates to a kind of method and device filling in list.
Background technology
List is a kind of metadata acquisition tool conventional in Web page.The data that user is filled up in multiple list may It is to repeat, such as: user fills in ID (identity number) card No. in A list, also fills in ID (identity number) card No. at B list.
In order to realize the multiplexing in different lists of the same data, in correlation technique, each data that each list includes Territory is corresponding with a tables of data, for sharing two data fields of same tables of data, although being distributed in different lists, it is possible to In the way of by hard coded so that two data fields sharing same tables of data read this tables of data.
But, the solution in correlation technique is to carry out hard coded in units of list, and how carrying out hard coded is root Depending on list, if needing more new table, then need correspondingly to update hard coded, therefore, not there is versatility.
Summary of the invention
It is an object of the invention to provide a kind of method and device filling in list, use the method to improve and fill in list Efficiency.
To achieve these goals, first aspect present invention provides a kind of method filling in list, and described method includes:
The data field to be filled in included by list to be filled in is bound with target conventional data territory, described target conventional data territory It is contained in conventional data domain list;
In data field to be filled in described in data in tables of data corresponding for described target conventional data territory are filled up to.
Alternatively, described method also includes:
Adding up multiple lists filled in, determining that occurrence number is more than the data field of predetermined threshold is conventional data Territory;
Described conventional data territory is added in described conventional data domain list.
Alternatively, the described data field to be filled in included by list to be filled in is general with the target in multiple conventional data territories Data field is bound, including:
Detect whether to receive the drag operation that user performs, the beginning and end of described drag operation be respectively described in treat Fill in data field and described target conventional data territory;
When described drag operation being detected, described data field to be filled in is bound with described target conventional data territory.
Alternatively, described method also includes:
By the way of hard coded, by the plurality of conventional data territory respectively with multiple tables of data one_to_one corresponding.
Alternatively, lead to the target in multiple conventional data territories at the described data field to be filled in that list to be filled in is included Before binding with data field, described method also includes: on the interface of list to be filled in described in display, show described conventional data Domain list.
Second aspect present invention provides a kind of device filling in list, and described device includes:
Binding module, binds with target conventional data territory for the data field to be filled in included by list to be filled in, described Target conventional data territory is contained in conventional data domain list;
Fill in module, wait to fill in described in the data in tables of data corresponding for described target conventional data territory being filled up to In data field.
Alternatively, described device also includes:
Determine module, for multiple lists filled in are added up, determine that occurrence number is more than the number of predetermined threshold It is conventional data territory according to territory;
Add module, for being added in described conventional data domain list in described conventional data territory.
Alternatively, described binding module includes:
Detection sub-module, for detecting whether receive user perform drag operation, the starting point of described drag operation and Terminal be respectively described in data field to be filled in and described target conventional data territory;
Binding submodule, for when described drag operation being detected, leads to described data field to be filled in described target Bind with data field.
Alternatively, described device also includes:
Hard coded module, for by the way of hard coded, by the plurality of conventional data territory respectively with multiple tables of data One_to_one corresponding.
Alternatively, described device also includes:
Display module, in the described data field to be filled in included by list to be filled in multiple conventional data territories Before the binding of target conventional data territory, on the interface of list to be filled in described in display, show described conventional data domain list.
By technique scheme, user only needs to bind data field to be filled in target conventional data territory, can realize Automatically data corresponding for target conventional data territory are filled up in data field to be filled in.From the angle of hard coded, it is not necessary to for each List to be filled in carries out hard coded, has saved development cost.The angle used from user, Auto-writing data field to be filled in, carry The high efficiency filling in list.
Other features and advantages of the present invention will be described in detail in detailed description of the invention part subsequently.
Accompanying drawing explanation
Accompanying drawing is used to provide a further understanding of the present invention, and constitutes the part of description, with following tool Body embodiment is used for explaining the present invention together, but is not intended that limitation of the present invention.In the accompanying drawings:
Fig. 1 is the schematic diagram filling in list in correlation technique.
The flow chart of a kind of method filling in list that Fig. 2 provides for the embodiment of the present invention.
Fig. 3 is the flow chart of the method creating conventional data domain list in the embodiment of the present invention.
The flow chart of step S21 in the method filling in list that Fig. 4 provides for the embodiment of the present invention.
The schematic diagram of the method filling in list that Fig. 5 provides for the embodiment of the present invention.
The block diagram of a kind of device filling in list that Fig. 6 provides for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with accompanying drawing, the detailed description of the invention of the present invention is described in detail.It should be appreciated that this place is retouched The detailed description of the invention stated is merely to illustrate and explains the present invention, is not limited to the present invention.
First correlation technique is illustrated.
Refer to Fig. 1, Fig. 1 is the schematic diagram filling in list in correlation technique.In correlation technique, carry out in units of list Hard coded, therefore, the corresponding code module 1 of list 1, the corresponding code module 2 of list 2.As it is shown in figure 1, list 1 includes: data field 1, data field 2 and data field 3.List 2 includes data field 2, data field 4 and data field 1.Data field 1 in list 1 and list 2 In data field 1 common data table 1, the data field 2 in list 1 and data field 2 common data table 2 in list 2.Pass through code Module 1 and code module 2 it is achieved that the data field 1 in list 1 and the data field 1 in list 2 all can read tables of data 1, with And the data field 2 in list 1 and the data field 2 in list 2 all can read tables of data 2.
Can draw from the example above, there is following defect in correlation technique:
1) different data fields is included due to different lists, so needing to carry out hard coded for each list, correspondingly, The corresponding code module of each list, although multiple list includes the data field sharing same tables of data, also cannot multiplexing many The code module that individual list is the most corresponding.
2) owing to correlation technique carrying out in units of list hard coded, the corresponding code module of each list, if Amendment reads the code of identical data table for multiple data fields, then need to update the code that involved each list is corresponding Module, development cost is higher.
3) each code module is corresponding with list, the data that therefore list is included by the code module in correlation technique There is strong dependency in territory, and in implementation process, if code module completes, the most adaptive list is fixed the most therewith, therefore, and table Single adaptation ability is poor.
For drawbacks described above present in correlation technique, the embodiment of the present invention provides a kind of method filling in list.Please join Examine the flow chart of a kind of method filling in list that Fig. 2, Fig. 2 provide for the embodiment of the present invention.As in figure 2 it is shown, the method includes Following steps:
Step S21: the data field to be filled in included by list to be filled in is bound with target conventional data territory, described target is led to It is contained in conventional data domain list with data field;
Step S22: data to be filled in described in the data in tables of data corresponding for described target conventional data territory are filled up to In territory.
In the embodiment of the present invention, first create conventional data domain list, then perform step S21.If performing step Before S21, conventional data domain list has been created successfully, then can directly perform step S21.
Refer to the flow chart that Fig. 3, Fig. 3 are the method creating conventional data domain list in the embodiment of the present invention.Such as Fig. 3 institute Showing, the method comprises the following steps:
Step S20a: add up multiple lists filled in, determines that occurrence number is more than the data field of predetermined threshold For conventional data territory;
Step S20b: described conventional data territory is added in described conventional data domain list.
In the embodiment of the present invention, conventional data territory is the data field that the data field that the multiple list of confession under directions includes shares.General Data field can determine by the method for statistics.First, conventional data domain list being initialized as sky, i.e. conventional data domain list is not Including any data field.Then, the situation that user manually fills in list is added up, and counts and fills in what each list included The number of times of data field, if the occurrence number of a certain data field is more than predetermined threshold, then it is assumed that this data field belongs to multiple list Share, this data field is added in conventional data domain list.Wherein, predetermined threshold can be user setup, it is also possible to Arranged in a program by programmer.
For example, user manually fills in the ID (identity number) card No. data field in list A, manually fills in the identity in list B Card number data territory, through statistics, has filled in the number of times that in list, ID (identity number) card No. data field occurs and has been more than predetermined threshold, then by body Part card number data territory is added in conventional data domain list.
According to the method described above, conventional data domain list is created successfully.Then step S21 is performed.Will data field be filled in Bind with the target conventional data territory in conventional data domain list.A kind of possible embodiment is: according to the operation of user, really Determine bound object.
Refer to the flow chart of step S21 in the method filling in list that Fig. 4, Fig. 4 provide for the embodiment of the present invention.Such as figure Shown in 4, step S21 comprises the following steps:
Step S211: detecting whether to receive the drag operation that user performs, the beginning and end of described drag operation is divided Data field to be filled in described in not being and described target conventional data territory;
Step S212: when described drag operation being detected, by described data field to be filled in and described target conventional data Territory is bound.
In the embodiment of the present invention, realize binding according to user operation.During user fills in list, if waiting to fill in Data field a certain to be filled in list is identical with a certain conventional data territory in conventional data domain list, then can drag Operation, and then both are bound.
For example, during user fills in list, if list to be filled in includes ID (identity number) card No. data field, and ID (identity number) card No. data field is positioned in conventional data domain list, then can be using the identity card data field in list to be filled in as rising Point, using the ID (identity number) card No. data field in conventional data domain list as terminal, then carries out dragging from starting point to the end direction Dynamic operation.
After this drag operation being detected, can be by the ID (identity number) card No. data field in list to be filled in and conventional data territory ID (identity number) card No. data field binding in list is got up.
After execution of step S21, step S22 can be performed.In actual implementation process, in conventional data domain list Each conventional data territory all possibly as target conventional data territory.Therefore, it can each conventional data territory and tables of data pair Should.A kind of possible embodiment is:
By the way of hard coded, the plurality of conventional data territory is corresponding with a tables of data respectively.
In the embodiment of the present invention, carrying out hard coded in units of conventional data territory, refer to Fig. 5, Fig. 5 is that the present invention implements The schematic diagram of the method filling in list that example provides.As it is shown in figure 5, the data field 1 in list 1 and the data field in list 2 1, all bind with the conventional data territory 1 in conventional data domain list, the data field 2 in list 1 and the data field 2 in list 2, All binding with the conventional data territory 2 in conventional data domain list, the corresponding code module 1 in conventional data territory 1, conventional data territory 2 is right Answer code module 2.Code module 1 corresponding data table 1, code module corresponding data table 2.
List 1 includes: data field 1, data field 2 and data field 3.List 2 includes data field 2, data field 4 and data field 1. Data field 1 in list 1 and data field 1 common data table 1 in list 2, the data field 2 in list 1 and the data in list 2 Territory 2 common data table 2.By code module 1 and code module 2 it is achieved that read tables of data 1 Auto-writing to list 1 In data field 1 and data field 1 in list 2, read tables of data 2 Auto-writing to the data field 1 in list 1 and list 2 In data field 1.
In actual implementation process, the tables of data corresponding with conventional data territory can be in the process determining conventional data territory Middle acquisition.Because during determining conventional data territory, need to add up the number of times that each data field occurs, therefore, it can After determining that a certain data field is conventional data territory, user is filled up to the tables of data corresponding to data in this conventional data territory Also read out.Then, by conventional data territory and tables of data one_to_one corresponding by the way of hard coded.Finally, due to target is led to Bind with data field to be filled in data field, it is possible to the data in tables of data corresponding for target conventional data territory are filled up to In data field to be filled in.Manually fill in data without user, simplify user operation, it is to avoid be manually entered the data caused not Accurately, improve and fill in the accuracy and efficiency of list.
Alternatively, before described step S21, described method also includes:
On the interface of list to be filled in described in display, show described conventional data domain list.
In the embodiment of the present invention, fill in list for the ease of user, can show on the interface showing list to be filled in Conventional data domain list, in order to user is by the data field to be filled in list to be filled in and the general number in general data list Compare according to territory, and then determine target conventional data territory, and perform bindings further, to realize automatic input.
Can be drawn by described above, the adaptation ability of the conventional data domain list that the embodiment of the present invention proposes is strong, is suitable for In various lists.And reusability is high, decouple the relatedness between list and code module, made the conventional data domain list can With rapid multiplexing on multiple lists.Additionally, user can realize Auto-writing data by dragging, simplify user operation.
Based on same inventive concept, the embodiment of the present invention also provides for a kind of device filling in list.Refer to Fig. 6, Fig. 6 is The schematic diagram of a kind of device filling in list that the embodiment of the present invention provides.As it is shown in figure 5, described device 100 includes:
Binding module 121, binds with target conventional data territory for the data field to be filled in included by list to be filled in, institute State target conventional data territory to be contained in conventional data domain list;
Fill in module 122, treat described in the data in tables of data corresponding for described target conventional data territory are filled up to Fill in data field.
Alternatively, described device also includes:
Determine module, for multiple lists filled in are added up, determine that occurrence number is more than the number of predetermined threshold It is conventional data territory according to territory;
Add module, for being added in described conventional data domain list in described conventional data territory.
Alternatively, described binding module 121 includes:
Detection sub-module, for detecting whether receive user perform drag operation, the starting point of described drag operation and Terminal be respectively described in data field to be filled in and described target conventional data territory;
Binding submodule, for when described drag operation being detected, leads to described data field to be filled in described target Bind with data field.
Alternatively, described device also includes:
Hard coded module, for by the way of hard coded, by the plurality of conventional data territory respectively with multiple tables of data One_to_one corresponding.
Alternatively, described device also includes:
Display module, in the described data field to be filled in included by list to be filled in multiple conventional data territories Before the binding of target conventional data territory, on the interface of list to be filled in described in display, show described conventional data domain list.
The preferred embodiment of the present invention is described in detail above in association with accompanying drawing, but, the present invention is not limited to above-mentioned reality Execute the detail in mode, in the technology concept of the present invention, technical scheme can be carried out multiple letter Monotropic type, these simple variant belong to protection scope of the present invention.
It is further to note that each the concrete technical characteristic described in above-mentioned detailed description of the invention, at not lance In the case of shield, can be combined by any suitable means, in order to avoid unnecessary repetition, the present invention to various can The compound mode of energy illustrates the most separately.
Additionally, combination in any can also be carried out between the various different embodiment of the present invention, as long as it is without prejudice to this The thought of invention, it should be considered as content disclosed in this invention equally.

Claims (10)

1. the method filling in list, it is characterised in that described method includes:
The data field to be filled in included by list to be filled in is bound with target conventional data territory, and described target conventional data territory comprises In conventional data domain list;
In data field to be filled in described in data in tables of data corresponding for described target conventional data territory are filled up to.
Method the most according to claim 1, it is characterised in that described method also includes:
Adding up multiple lists filled in, determining that occurrence number is more than the data field of predetermined threshold is conventional data territory;
Described conventional data territory is added in described conventional data domain list.
Method the most according to claim 1, it is characterised in that the described data field to be filled in that list to be filled in is included with Target conventional data territory binding in multiple conventional data territories, including:
Detect whether to receive the drag operation that user performs, the beginning and end of described drag operation be respectively described in wait to fill in Data field and described target conventional data territory;
When described drag operation being detected, described data field to be filled in is bound with described target conventional data territory.
Method the most according to claim 1, it is characterised in that described method also includes:
By the way of hard coded, by the plurality of conventional data territory respectively with multiple tables of data one_to_one corresponding.
Method the most according to claim 1, it is characterised in that at the described data field to be filled in that list to be filled in is included Before binding with the target conventional data territory in multiple conventional data territories, described method also includes:
On the interface of list to be filled in described in display, show described conventional data domain list.
6. the device filling in list, it is characterised in that described device includes:
Binding module, binds with target conventional data territory for the data field to be filled in included by list to be filled in, described target Conventional data territory is contained in conventional data domain list;
Fill in module, data to be filled in described in the data in tables of data corresponding for described target conventional data territory be filled up to In territory.
Device the most according to claim 6, it is characterised in that described device also includes:
Determine module, for multiple lists filled in are added up, determine that occurrence number is more than the data field of predetermined threshold For conventional data territory;
Add module, for being added in described conventional data domain list in described conventional data territory.
Device the most according to claim 6, it is characterised in that described binding module includes:
Detection sub-module, for detecting whether receive the drag operation that user performs, the beginning and end of described drag operation Data field to be filled in described in Fen Bieweiing and described target conventional data territory;
Binding submodule, for when detecting described drag operation, by described data field to be filled in and the general number of described target Bind according to territory.
Device the most according to claim 6, it is characterised in that described device also includes:
Hard coded module, is used for by the way of hard coded, by the plurality of conventional data territory respectively with multiple tables of data one by one Corresponding.
Device the most according to claim 6, it is characterised in that described device also includes:
Display module, for the target in the described data field to be filled in included by list to be filled in multiple conventional data territories Before the binding of conventional data territory, on the interface of list to be filled in described in display, show described conventional data domain list.
CN201610545872.5A 2016-07-12 2016-07-12 Fill in the method and device of list Pending CN106202017A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610545872.5A CN106202017A (en) 2016-07-12 2016-07-12 Fill in the method and device of list

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610545872.5A CN106202017A (en) 2016-07-12 2016-07-12 Fill in the method and device of list

Publications (1)

Publication Number Publication Date
CN106202017A true CN106202017A (en) 2016-12-07

Family

ID=57477456

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610545872.5A Pending CN106202017A (en) 2016-07-12 2016-07-12 Fill in the method and device of list

Country Status (1)

Country Link
CN (1) CN106202017A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107133205A (en) * 2017-05-04 2017-09-05 山东浪潮云服务信息科技有限公司 A kind of cloud form component implementation method and device based on data, services
CN107292396A (en) * 2017-08-14 2017-10-24 南宁学院 A kind of hydroelectric facility reports message treatment method for repairment
CN112612986A (en) * 2020-12-25 2021-04-06 青岛海尔科技有限公司 Data filling method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030061238A1 (en) * 2001-09-25 2003-03-27 Atkinson Shane A. Product configuration method and system
CN101782919A (en) * 2009-12-29 2010-07-21 北京搜狗科技发展有限公司 Web form data output method, device and form processing system
CN102681832A (en) * 2011-03-17 2012-09-19 新奥特(北京)视频技术有限公司 Extensible markup language (XML) based interaction method and interaction device
US8402363B2 (en) * 2006-08-25 2013-03-19 Canon Kabushiki Kaisha Table editing apparatus and method thereof
CN104572131A (en) * 2015-02-04 2015-04-29 浪潮软件股份有限公司 Method and device for configuring business form

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030061238A1 (en) * 2001-09-25 2003-03-27 Atkinson Shane A. Product configuration method and system
US8402363B2 (en) * 2006-08-25 2013-03-19 Canon Kabushiki Kaisha Table editing apparatus and method thereof
CN101782919A (en) * 2009-12-29 2010-07-21 北京搜狗科技发展有限公司 Web form data output method, device and form processing system
CN102681832A (en) * 2011-03-17 2012-09-19 新奥特(北京)视频技术有限公司 Extensible markup language (XML) based interaction method and interaction device
CN104572131A (en) * 2015-02-04 2015-04-29 浪潮软件股份有限公司 Method and device for configuring business form

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107133205A (en) * 2017-05-04 2017-09-05 山东浪潮云服务信息科技有限公司 A kind of cloud form component implementation method and device based on data, services
CN107292396A (en) * 2017-08-14 2017-10-24 南宁学院 A kind of hydroelectric facility reports message treatment method for repairment
CN107292396B (en) * 2017-08-14 2020-05-05 南宁学院 Hydroelectric equipment repair message processing method
CN112612986A (en) * 2020-12-25 2021-04-06 青岛海尔科技有限公司 Data filling method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US10796244B2 (en) Method and apparatus for labeling training samples
CN103095681B (en) A kind of method and device detecting leak
US10333972B2 (en) Method and apparatus for detecting hidden content of web page
KR102280023B1 (en) How to perform service operations between systems, service platforms and target systems
CN106202017A (en) Fill in the method and device of list
US20150007278A1 (en) Authentication for single page web interfaces
CN103714292A (en) Method for detecting exploit codes
CN109683890B (en) Method, device, storage medium and equipment for modularizing cascading style sheet
EP3490323A1 (en) Method, device, and apparatus for selecting user signature vector, and storage medium
CN104484383A (en) JS file processing method and device
CN105630524A (en) Webpage text parsing method and device and mobile terminal
KR102013657B1 (en) Apparatus for statically analyzing assembly code including assoxiated multi files
CN105677561A (en) Mobile product multi-platform testing method and system
CN105354118A (en) Method, apparatus and system for automatically testing intelligent terminal
CN106034113A (en) Data processing method and data processing device
CN104424240A (en) Multi-table correlation method and system, main service node and computing node
CN103345498A (en) Webpage loading method, device and system based on transit server
CN105787750A (en) Information pushing method and information pushing device
WO2015085247A1 (en) System and method for providing client-side address translation in a memory management system
CN104143110A (en) Two-dimensional code generating method with web site information
CN110233715A (en) A kind of method of acquisition of information, terminal, base station and system
CN104834594A (en) Method and apparatus for testing web system
CN107404515A (en) The processing method and processing device of asynchronous http request
EP3110088B1 (en) Packet data processing method, device and system
CN109120731B (en) Universal communication method, system and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20161207

RJ01 Rejection of invention patent application after publication