CN104112004A - Method for intelligently copying data on user interface - Google Patents

Method for intelligently copying data on user interface Download PDF

Info

Publication number
CN104112004A
CN104112004A CN201410334995.5A CN201410334995A CN104112004A CN 104112004 A CN104112004 A CN 104112004A CN 201410334995 A CN201410334995 A CN 201410334995A CN 104112004 A CN104112004 A CN 104112004A
Authority
CN
China
Prior art keywords
data
template
copy
variable
user interface
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
CN201410334995.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.)
Inspur General Software Co Ltd
Original Assignee
Inspur General Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur General Software Co Ltd filed Critical Inspur General Software Co Ltd
Priority to CN201410334995.5A priority Critical patent/CN104112004A/en
Publication of CN104112004A publication Critical patent/CN104112004A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/80Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems

Abstract

The invention discloses a method for intelligently copying data on a user interface and belongs to the technical field of data input. The method comprises the steps that (1), a data copying template is set, and comprises the following information items including the template number, the template name, the template description and the set of template fields, and the template number is used for identifying one template uniquely; (2), based on the data copying template, reusable data can be copied to form one data copy; (3), data copies of the data copying template are selected, and the data are automatically written to the user interface. Compared with the prior art, the method for intelligently copying the data is applied to the form developing process, a user can conveniently reuse the common data repeatedly input in the form inputting process, the efficiency of inputting service by the user is improved, and the triviality is reduced; meanwhile, errors caused by manual inputting can also be avoided, and the method has the high application and popularization value.

Description

A kind of method of intelligent copies data in user interface
 
Technical field
The present invention relates to a kind of data input technology, specifically a kind of method of intelligent copies data in user interface that relates to .NET Winforms list.
Background technology
In the form interface of realizing in .NET Winforms technology, .NET the built-in interface binding technology that provides in Framework, can be by the data of a data entity object, be tied on user interface controls, the data binding of unidirectional (entity is to control) or two-way (entity is to control, control to entity) can be provided.
In the software systems based on .NET Winforms technology, between many data of a list (user interface), there is identical data ingredient, in business procession, during user's typing, often need artificial typing repeatedly.Purchase order for example, for repeatedly between buying of same supplier, the information such as the supplier of buying, material (product) are basically identical, are mainly that the quantity, unit price etc. of each buying are different.The typing that user tends to repetition so repeatedly.If the data of typing before can copying automatically, by improving user's business processing efficiency, reduce fussy degree, and avoid artificial maloperation.
In addition, a solid data that document represents, can be comprised of a principal and a plurality of fructification, forms host-guest architecture, and each entity is a bivariate table structure.Concrete structure as shown in Figure 1.For example, a sales order comprises order essential information (principal) and sell goods managing detailed catalogue (fructification).
Summary of the invention
Technical assignment of the present invention is for above-mentioned the deficiencies in the prior art, provide a kind of can be according to User Defined rule, the method for intelligent copies data in the user interface of the data of typing before automatically copying.
Technical assignment of the present invention is realized in the following manner: a kind of method of intelligent copies data in user interface, comprises the steps:
(1) data copy template is set
Described data copy template comprises following item of information: the set of template numbering, template name, template description and template field,
Described template numbering is for template of sign of uniqueness;
(2) based on data copy template, copy reusable data, form a data copy;
(3) select the data copy of data copy template, automatically data are filled up in user interface.
In order further facilitating, to carry out repeated typing, template data copy storage organization can be set, conventional data entry in user's selecting data copy template, is copied out, and deposits in template data copy storage organization, for repeated typing.
Described template data copy storage organization comprises following item of information: template numbering, data number, data description, data copy, and wherein, which data copy template is described template numbering be based on for recording the data of current copy; Described data number identifies current data copy for uniqueness; Described data description, for the descriptive information of current data copy, is convenient to identify different pieces of information copy.
The data copy of described template data copy storage organization, for the data of storage copy, adopts the file layout of XML data layout.
XML packet, containing a root element " Data ", can comprise one to a plurality of " Entity " daughter element under " Data " element.
" Entity " daughter element comprises following information: " EntityName " attribute, one or more " Row " daughter element.Wherein, " EntityName " attribute is used to specify physical name.Wherein, " Row " daughter element, for describing data line wherein, comprises one or more " Field " daughter element." Field " daughter element is for describing the value of a plurality of fields of a line.Wherein, " Field " element comprises two attributes: " FieldName ", " Value ".Wherein, " FiledName " is used to specify field name, and " Value " is for memory word segment value.
Described in step (), template field comprises following item of information: numbering, title, fructification name, entities field name and data value type, wherein,
Described numbering is for representing a template field in template uniqueness; Described fructification name is for identifying the fructification of current field subordinate; Corresponding field name in the data entity of described entities field interface by name binding; Described data value type is divided into two types: data value or variable, and data value refers to when front template copies data, directly stores the numerical value of this field; Variable refers to when front template copies data, variable name of this field store.
When the data value type of template field is types of variables, its data value is a variable expression, and expression-form is the form of "@variable name@", and variable expression is wherein for when copies data, variable in specific context is resolved, obtain corresponding data value.
In step (three), when user selects masterplate data copy, Auto-writing during to form interface, needs list to realize a data stickup routine interface.
Data are pasted routine interface provides an interface method: void PastEntityData(string xmlData), parameter x mlData wherein, is the solid data of storage in data copy.
Before calling concrete PastEntityData interface method, the field that need to copy the types of variables of storing in template to data is carried out the parsing of variable, variable is converted to actual data value, and variable is resolved also needs concrete list to realize a variable analysis program interface.
Variable analysis program interface comprises interface method a: Dictionary<string, object> GetVariableList (), for the list of context variable is provided, wherein rreturn value is the data dictionary set type that a .NET realizes.
By apply the method for intelligent copies data of the present invention in list performance history, can be convenient to use the data of family multiplexing conventional typing repeatedly in list Input Process, efficiency and the triviality of customer service typing have been improved, the error that also can avoid manual entry to bring simultaneously.
 
Accompanying drawing explanation
Accompanying drawing 1 is the interface entity basic structure schematic diagram in the inventive method;
Accompanying drawing 2 is the data copy template Data Structures figure that define in the inventive method;
Accompanying drawing 3 is purchase order interface schematic diagram of describing in embodiment.
Embodiment
With reference to Figure of description, with specific embodiment, the method for intelligent copies data in user interface of the present invention is described in detail below.
Embodiment:
In user interface of the present invention, the method for intelligent copies data comprises the following steps:
(1) data copy template is set
As shown in Figure 2, described data copy template comprises following item of information: the set of template numbering, template name, template description and template field, and described template numbering is for template of sign of uniqueness;
Described template field comprises following item of information: numbering, title, fructification name, entities field name and data value type, and wherein, described numbering is for representing a template field in template uniqueness; Described fructification name is for identifying the fructification of current field subordinate; Corresponding field name in the data entity of described entities field interface by name binding; Described data value type is divided into two types: data value or variable, and data value refers to when front template copies data, directly stores the numerical value of this field; Variable refers to when front template copies data, variable name of this field store.
When the data value type of template field is types of variables, its data value is a variable expression, and expression-form is the form of "@variable name@", and variable expression is wherein for when copies data, variable in specific context is resolved, obtain corresponding data value.
In order further facilitating, to carry out repeated typing, template data copy storage organization can be set, conventional data entry in user's selecting data copy template, is copied out, and deposits in template data copy storage organization, for repeated typing.
Described template data copy storage organization comprises following item of information: template numbering, data number, data description, data copy, and wherein, which data copy template is described template numbering be based on for recording the data of current copy; Described data number identifies current data copy for uniqueness; Described data description, for the descriptive information of current data copy, is convenient to identify different pieces of information copy.
The data copy of described template data copy storage organization, for the data of storage copy, adopts the file layout of XML data layout.XML packet, containing a root element " Data ", can comprise one to a plurality of " Entity " daughter element under " Data " element.
" Entity " daughter element comprises following information: " EntityName " attribute, one or more " Row " daughter element.Wherein, " EntityName " attribute is used to specify physical name.Wherein, " Row " daughter element, for describing data line wherein, comprises one or more " Field " daughter element." Field " daughter element is for describing the value of a plurality of fields of a line.Wherein, " Field " element comprises two attributes: " FieldName ", " Value ", and " FiledName " is used to specify field name, and " Value " is for memory word segment value.
(2) based on data copy template, copy reusable data, form a data copy;
(3) select the data copy of data copy template, automatically data are filled up in user interface
When user selects masterplate data copy, Auto-writing during to form interface, needs list to realize a data stickup routine interface.
Data are pasted routine interface provides an interface method: void PastEntityData(string xmlData), parameter x mlData wherein, is the solid data of storage in data copy.
Before calling concrete PastEntityData interface method, the field that need to copy the types of variables of storing in template to data is carried out the parsing of variable, variable is converted to actual data value, and variable is resolved also needs concrete list to realize a variable analysis program interface.
Variable analysis program interface comprises interface method a: Dictionary<string, object> GetVariableList (), for the list of context variable is provided, wherein rreturn value is the data dictionary set type that a .NET realizes.
The purchase order of Yi Mou unit is example, and office monthly all will purchase relevant Office Consumables.Wherein recent months is all to purchase same multiple consumptive material from certain specific supplier, as shown in Figure 3.
User clicks " configuration copy template " button, first defining one " data copy template ", is masterplate by field store such as " material type ", " material ", " specification " in the fields such as " supplier " in main document information, " area ", " making single ", " phase in odd-numbered day processed " and the detailed fructification of buying, " unit prices ".
Wherein, " make single ", " phase in odd-numbered day processed " be variable, the procurement staff of every month may be different, and the phase in odd-numbered day processed should select to make the date on single same day, therefore the data value type of these two fields is set to variable, and respectively variable expression is set :@creator@,@today@.
Then, user, after the complete document of typing, clicks " saving as data copy ", and before choice for use " the data copy template " of definition, optionally the data message of typing is saved in a data copy repeatedly.
In the time of will purchasing Office Consumables next month, user opens purchase order, click " from data copy, pasting ", select the data copy of preserving last month, system will " be made single " automatically and " phase in odd-numbered day processed " field resolves to single and phase in odd-numbered day processed of current system from variable, and data have been filled out on interface automatically.Then user revises the purchase quantity of this month, clicks and preserves, and can complete the typing operation of current purchasing documents.

Claims (10)

1. a method for intelligent copies data in user interface, is characterized in that comprising the steps:
(1) data copy template is set
Described data copy template comprises following item of information: the set of template numbering, template name, template description and template field,
Described template numbering is for template of sign of uniqueness;
(2) based on data copy template, copy reusable data, form a data copy;
(3) select the data copy of data copy template, automatically data are filled up in user interface.
2. the method for intelligent copies data in user interface according to claim 1, it is characterized in that being provided with template data copy storage organization, conventional data entry in user's selecting data copy template, copied out, deposit in template data copy storage organization, for repeated typing.
3. the method for intelligent copies data in user interface according to claim 2, it is characterized in that: described template data copy storage organization comprises following item of information: template numbering, data number, data description, data copy, wherein, which data copy template is described template numbering be based on for recording the data of current copy; Described data number identifies current data copy for uniqueness; Described data description, for the descriptive information of current data copy, is convenient to identify different pieces of information copy.
4. the method for intelligent copies data in user interface according to claim 3, is characterized in that: the data copy of template data copy storage organization, for the data of storage copy, adopts the file layout of XML data layout.
5. the method for intelligent copies data in user interface according to claim 1 and 2, is characterized in that described in step (), template field comprises following item of information: numbering, title, fructification name, entities field name and data value type, wherein,
Described numbering is for representing a template field in template uniqueness; Described fructification name is for identifying the fructification of current field subordinate; Corresponding field name in the data entity of described entities field interface by name binding; Described data value type is divided into two types: data value or variable, and data value refers to when front template copies data, directly stores the numerical value of this field; Variable refers to when front template copies data, variable name of this field store.
6. the method for intelligent copies data in user interface according to claim 5, it is characterized in that: when the data value type of template field is types of variables, its data value is a variable expression, expression-form is the form of "@variable name@", variable expression is wherein for when copies data, variable in specific context is resolved, obtain corresponding data value.
7. the method for intelligent copies data in user interface according to claim 1, is characterized in that in step (three), and when user selects masterplate data copy, Auto-writing during to form interface, needs list to realize a data stickup routine interface.
8. the method for intelligent copies data in user interface according to claim 7, it is characterized in that data stickup routine interface provides an interface method: void PastEntityData(string xmlData), parameter x mlData is wherein the solid data of storage in data copy.
9. the method for intelligent copies data in user interface according to claim 8, it is characterized in that before calling concrete PastEntityData interface method, the field that need to copy the types of variables of storing in template to data is carried out the parsing of variable, variable is converted to actual data value, and variable is resolved also needs concrete list to realize a variable analysis program interface.
10. the method for intelligent copies data in user interface according to claim 9, it is characterized in that variable analysis program interface comprises interface method a: Dictionary<string, object> GetVariableList (), for the list of context variable is provided, wherein rreturn value is the data dictionary set type that a .NET realizes.
CN201410334995.5A 2014-07-15 2014-07-15 Method for intelligently copying data on user interface Pending CN104112004A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410334995.5A CN104112004A (en) 2014-07-15 2014-07-15 Method for intelligently copying data on user interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410334995.5A CN104112004A (en) 2014-07-15 2014-07-15 Method for intelligently copying data on user interface

Publications (1)

Publication Number Publication Date
CN104112004A true CN104112004A (en) 2014-10-22

Family

ID=51708795

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410334995.5A Pending CN104112004A (en) 2014-07-15 2014-07-15 Method for intelligently copying data on user interface

Country Status (1)

Country Link
CN (1) CN104112004A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105138505A (en) * 2015-10-22 2015-12-09 携程计算机技术(上海)有限公司 Automatic writing device and automatic writing device of visa application form
CN105608122A (en) * 2015-12-15 2016-05-25 浪潮软件股份有限公司 Method and apparatus for storing electronic form data
CN106021207A (en) * 2016-05-06 2016-10-12 长沙市麓智信息科技有限公司 A patent writing system and method
CN107273113A (en) * 2017-05-05 2017-10-20 广东网金控股股份有限公司 The binding of page control and entity, to entity assignment and the method for page control assignment
CN107644298A (en) * 2017-09-29 2018-01-30 深圳市瑞福登信息技术服务有限公司 A kind of method, apparatus of data processing, storage device and terminal device
CN108170759A (en) * 2017-12-22 2018-06-15 平安养老保险股份有限公司 Method, apparatus, computer equipment and the storage medium of tip-offs about environmental issues processing
CN109902280A (en) * 2019-01-21 2019-06-18 新疆恒致达信息技术有限公司 Input method, device, computer equipment and the storage medium of student information
CN110415066A (en) * 2019-05-28 2019-11-05 软通智慧科技有限公司 Cross-border clearance document generation method, device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1954312A (en) * 2004-05-14 2007-04-25 金荣根 Method of creating an xml document on a web browser
US20070124339A1 (en) * 2003-10-24 2007-05-31 Microsoft Corporation System and Method for Managing Data Using Static Lists
CN101122899A (en) * 2007-09-18 2008-02-13 杭州华三通信技术有限公司 Report generation method and device
CN102360290A (en) * 2011-09-29 2012-02-22 用友软件股份有限公司 Form building device and form building method
CN102779040A (en) * 2012-06-21 2012-11-14 东莞市微模式软件有限公司 Method and device for generating user-defined form

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070124339A1 (en) * 2003-10-24 2007-05-31 Microsoft Corporation System and Method for Managing Data Using Static Lists
CN1954312A (en) * 2004-05-14 2007-04-25 金荣根 Method of creating an xml document on a web browser
CN101122899A (en) * 2007-09-18 2008-02-13 杭州华三通信技术有限公司 Report generation method and device
CN102360290A (en) * 2011-09-29 2012-02-22 用友软件股份有限公司 Form building device and form building method
CN102779040A (en) * 2012-06-21 2012-11-14 东莞市微模式软件有限公司 Method and device for generating user-defined form

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105138505A (en) * 2015-10-22 2015-12-09 携程计算机技术(上海)有限公司 Automatic writing device and automatic writing device of visa application form
CN105138505B (en) * 2015-10-22 2018-11-13 携程计算机技术(上海)有限公司 The Auto-writing method and device of visa application form
CN105608122A (en) * 2015-12-15 2016-05-25 浪潮软件股份有限公司 Method and apparatus for storing electronic form data
CN105608122B (en) * 2015-12-15 2019-02-15 浪潮软件股份有限公司 A kind of method and apparatus storing electronic spreadsheet data
CN106021207A (en) * 2016-05-06 2016-10-12 长沙市麓智信息科技有限公司 A patent writing system and method
CN107273113A (en) * 2017-05-05 2017-10-20 广东网金控股股份有限公司 The binding of page control and entity, to entity assignment and the method for page control assignment
CN107644298A (en) * 2017-09-29 2018-01-30 深圳市瑞福登信息技术服务有限公司 A kind of method, apparatus of data processing, storage device and terminal device
CN107644298B (en) * 2017-09-29 2021-06-25 深圳市瑞福登信息技术服务有限公司 Data processing method and device, storage device and terminal equipment
CN108170759A (en) * 2017-12-22 2018-06-15 平安养老保险股份有限公司 Method, apparatus, computer equipment and the storage medium of tip-offs about environmental issues processing
CN108170759B (en) * 2017-12-22 2020-10-23 平安养老保险股份有限公司 Complaint case processing method and device, computer equipment and storage medium
CN109902280A (en) * 2019-01-21 2019-06-18 新疆恒致达信息技术有限公司 Input method, device, computer equipment and the storage medium of student information
CN110415066A (en) * 2019-05-28 2019-11-05 软通智慧科技有限公司 Cross-border clearance document generation method, device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN104112004A (en) Method for intelligently copying data on user interface
EP4046033A1 (en) Data model transformation
CN107273122A (en) Based on decoupling mechanism can iteration set up operation system method and its terminal
CN110472207A (en) List generation method and device
KR20060061790A (en) An automated publishing system that facilitates collaborative editing and accountability through virtual document architecture
CN105740368A (en) Method and device for generating report form
CN102567204A (en) Method for managing automatic testing data
WO2016095737A1 (en) Method for dynamically displaying client interface and system thereof
CN111639480A (en) Text labeling method based on artificial intelligence, electronic device and storage medium
US20140136472A1 (en) Methodology supported business intelligence (BI) software and system
JP2015531126A (en) Method and apparatus for realizing product characteristic navigation
US8972848B2 (en) Document renewal and translation
US11556702B2 (en) Orchestration of crud operations for a hierarchical web service data model in a spreadsheet
US8504425B2 (en) Process of advertisements
Boehr et al. Preparing for the future: National Library of Medicine's® project to add MeSH® RDF URIs to its bibliographic and authority records
CN102043627A (en) Development method and system of comparable data showing program of browser server architecture
CN105468570B (en) A kind of document synthesis methods of exhibiting and device
CN111522840A (en) Label configuration method, device, equipment and computer readable storage medium
CN115409014A (en) Document template generation method and device, computer equipment and storage medium
CN107301211B (en) Online data processing method
CN104881740A (en) Method and device for generating multiple bills of material (BOM) of same type in ERP (Enterprise Resource Planning) via paper grid color matching
Nöbauer et al. Feature-based reuse in the ERP domain: An industrial case study
CN101635059A (en) Data management system and picture inserting method thereof
AU2008335109A1 (en) Report generation in an intellectual property database
CN104301398B (en) Number of entry acquisition methods, system and server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20141022