CN106339361A - Method for flexibly configuring field survey data record form - Google Patents

Method for flexibly configuring field survey data record form Download PDF

Info

Publication number
CN106339361A
CN106339361A CN201610683044.8A CN201610683044A CN106339361A CN 106339361 A CN106339361 A CN 106339361A CN 201610683044 A CN201610683044 A CN 201610683044A CN 106339361 A CN106339361 A CN 106339361A
Authority
CN
China
Prior art keywords
data record
field investigation
investigation data
see
document
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
CN201610683044.8A
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.)
Beijing Tianchuang golden Agricultural Technology Co. Ltd.
Original Assignee
Beijing Chuangxing Map Information Technology 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 Beijing Chuangxing Map Information Technology Co Ltd filed Critical Beijing Chuangxing Map Information Technology Co Ltd
Priority to CN201610683044.8A priority Critical patent/CN106339361A/en
Publication of CN106339361A publication Critical patent/CN106339361A/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/12Use of codes for handling textual entities
    • G06F40/14Tree-structured documents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/151Transformation
    • G06F40/154Tree transformation for tree-structured or markup documents, e.g. XSLT, XSL-FO or stylesheets

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 method for flexibly configuring a field survey data record form. The method is characterized by comprising the following steps: 1) reading information that draws a form file and storing the information as an intermediate file; 2) configuring the intermediate file in the step 1) as an XML file; 3) transferring the XML file in the step 2) onto field survey data record equipment, analyzing the XML file on the field survey data record equipment, and performing UI description, so that the field survey data record equipment presents the form. With the adoption of the method disclosed by the invention, the applicability and the timeliness of user data survey are greatly improved, the software development cost is greatly reduced, and the permanent use by one-time programming is really realized.

Description

A kind of method of the flexible configuration field investigation data record form of What You See Is What You Get
Technical field
The application belongs to outdoor office realm and in particular to a kind of flexible configuration field investigation data of What You See Is What You Get is remembered The method of record form.
Background technology
The data recording fashion of traditional field investigation is that user brings pen and a stacker to open, and print on paper needs well The investigation item (being presented with fixing form, such as word form) filled in, when user specifically does field investigation, using meter The instruments such as calculation, measurement table obtain data to be investigated, and are taken down notes.
Because traditional mode efficiency is too low, and the integrity of data and accuracy are not easy to ensure, then just have Prior art improves to it, i.e. information process-, a app of software design, and the fixed table of user is designed to one The two-dimentional relation form of individual or multiple data base (db), app operates in movement can only be in terminal, when user investigation, directly Operation app is recorded, and investigation after terminating exports to database file on computer, then by digitized Table Printing out, Form paper form.
Although prior art improves the record efficiency of field investigation and enhances completing property of data and reliability, but Lead to a new problem, that is, cannot dynamically adapting user demand change, whenever user demand occur once change, even The little variation of a wee bit, is required for again writing app, leads to use cost high, dumb it is impossible to the problems such as timely respond to.
Therefore, the method how researching and developing a kind of flexible configuration field investigation data record form of What You See Is What You Get, becomes For technical problem urgently to be resolved hurrily.
Content of the invention
The subject matter that the application solves is to provide a kind of flexible configuration field investigation data logger of What You See Is What You Get The method of lattice, with solve cannot realize technical problem.
In order to solve above-mentioned technical problem, the invention discloses a kind of flexible configuration field investigation number of a What You See Is What You Get According to charting method it is characterised in that comprising the steps:
1) read the information being painted with form document, and gained information Store is intermediate file;
2) by step 1) in intermediate file be configured to xml document;
3) by step 2) in xml document transfer on the equipment of field investigation data record, in described field investigation data Xml document is parsed, carrying out ui description makes the equipment of described field investigation data record assume form on the equipment of record.
Further, described step 1) described in information, comprising: in form, relative position between word, described word is closed System.
Further, described step 1) described in reading form document information be to be obtained by api interface.
Further, described form document is word form document.
Further, described intermediate file is exe intermediate file.
Further, its described step 3) in by dom, sax, dom4j or pull parsing to xml document parse.
Further, described step 3) in by pull parsing to xml document parse.
Further, methods described, also comprises the steps:
4) fill in step 3) in present form formed charting, described charting is saved in data base.
Further, described step 4) in charting preservation form be word document.
Compared with prior art, the flexible configuration field investigation data record form of What You See Is What You Get described herein Method, has reached following effect:
1) the present processes are adopted, can be directly by fixed table (the such as word form) file copy of user's request To under assigned catalogue, app automatically parses the form of user and generates the two-dimentional relation table of one or more data bases (db) simultaneously Lattice, fill in survey data in real time for user;
2) the present processes are adopted, when the demand of user changes, he only needs to change the form of form (such as word form), then copies again, easy to use;
3) adopt the present processes, greatly improve the suitability and the promptness of user data investigation, significantly drop The cost of low software development, is truly realized " one-time programming, permanent use ".
Brief description
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the present invention, this Bright schematic description and description is used for explaining the present invention, does not constitute inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the side of the flexible configuration field investigation data record form of the What You See Is What You Get described in the embodiment of the present invention 1 The flow chart of method;
Fig. 2 is the side of the flexible configuration field investigation data record form of the What You See Is What You Get described in the embodiment of the present invention 2 The flow chart of method.
Specific embodiment
To censure specific components as employed some vocabulary in the middle of description and claim.Those skilled in the art should It is understood that hardware manufacturer may call same assembly with different nouns.This specification and claims are not with name The difference claiming is used as distinguishing the mode of assembly, but difference functionally is used as the criterion distinguished with assembly.As logical In the middle of piece description and claim, mentioned "comprising" is an open language, therefore should be construed to " comprise but do not limit In "." substantially " refer in receivable range of error, those skilled in the art can solve described in the range of certain error Technical problem, basically reaches described technique effect.Description subsequent descriptions are to implement the better embodiment of the application, so described Description is for the purpose of the rule that the application is described, is not limited to scope of the present application.The protection domain of the application When being defined depending on the defined person of claims.
Embodiment 1
As shown in figure 1, being the flexible configuration field investigation data record form of What You See Is What You Get described in the present embodiment 1 The flow chart of method, comprises the steps:
1) read the information being painted with form document, and gained information Store is intermediate file;
2) by step 1) in intermediate file be configured to xml document;
3) by step 2) in xml document transfer on the equipment of field investigation data record, in described field investigation data Xml document is parsed, carrying out ui description makes the equipment of described field investigation data record assume form on the equipment of record.
Described form document can be the formal file such as word, excel.Obtained by the interface that the corresponding developer of file provides Take form document information.There is the word document information of form as word passes through the acquisition drafting of api interface, and be saved as centre File.
The form of preferably form document is word document.
Embodiment 2
As shown in Fig. 2 the flexible configuration field investigation data record form for a kind of What You See Is What You Get described in the present embodiment 2 Method flow chart, comprise the steps:
1) read the information being painted with form document, and gained information Store is intermediate file;
2) by step 1) in intermediate file be configured to xml document;
3) by step 2) in xml document transfer on the equipment of field investigation data record, in described field investigation data Xml document is parsed, carrying out ui description makes the equipment of described field investigation data record assume form on the equipment of record.
Preferably, also include step 4): fill in step 3) in present form formed charting, by described charting protect It is stored to data base.Record completes for record information to be uploaded to specified database.Described record information includes Word message and word The relative position relation of information.
Preferably, described charting is saved as word document.Word document can be complete respectively for each record Preserve, recall by required during use.
Preferably, described step 1) described in information, comprising: the relative position relation between word, described word in form.
Preferably, described step 1) described in reading form document information be to be obtained by api interface.By api Interface, obtains the information of the relative position relation between word, word in file.Relative position relation due to information each in form Particularly significant, therefore it is noted that the acquisition of relative position relation information.
Preferably, described form document is word form document.
Preferably, in windows system, preferably carry out described step 1), step 2), described intermediate file be exe in the middle of File.Preferably in windows system, complete step 2), then xml document is transferred to multiple portable field investigation data notes On the equipment of record.So can ensure that the list data unification of each equipment.
Preferably, preferably realize step 3 in Android system), the transfer form of described xml document can be copy, download Deng acquisition form.Preferably described step 3) in pass through dom (DOM Document Object Model (document object model)), sax (for processing, xml is event driven to push away model (simple api for xml)), (dom4j is the xml of a java to dom4j Api, is the upgrades of jdom, for reading and writing xml document) or pull parsing (a kind of xml document resolver) to xml document solution Analysis.
Preferably, described step 3) in by pull parsing to xml document parse.Carry out ui after having parsed xml document to retouch State.Xml document parsing and ui description are realized by app.Namely installing on being provided with Android system equipment can be to specified The app of xml document parsing and ui description can directly show the content of xml document for user.
Compared with prior art, the flexible configuration field investigation data record form of What You See Is What You Get described herein Method, has reached following effect:
1) the present processes are adopted, can be directly by fixed table (the such as word form) file copy of user's request To under assigned catalogue, app automatically parses the form of user and generates the two-dimentional relation table of one or more data bases (db) simultaneously Lattice, fill in survey data in real time for user;
2) the present processes are adopted, when the demand of user changes, he only needs to change the form of form (such as word form), then copies again, easy to use;
3) adopt the present processes, greatly improve the suitability and the promptness of user data investigation, significantly drop The cost of low software development, is truly realized " one-time programming, permanent use ".
Because method part has been described in detail to the embodiment of the present application, here to the system being related in embodiment Expansion description with method corresponding part is omitted, and repeats no more.Description for particular content in system refers to method enforcement The content of example, no longer specifically limits here.
Described above illustrate and describes some preferred embodiments of the application, but as previously mentioned it should be understood that the application Be not limited to form disclosed herein, be not to be taken as the exclusion to other embodiment, and can be used for various other combinations, Modification and environment, and can be in application contemplated scope described herein, by technology or the knowledge of above-mentioned teaching or association area It is modified.And the change that those skilled in the art are carried out and change without departing from spirit and scope, then all should be in this Shen Please be in the protection domain of claims.

Claims (9)

1. a kind of method of the flexible configuration field investigation data record form of What You See Is What You Get is it is characterised in that include as follows Step:
1) read the information being painted with form document, and gained information Store is intermediate file;
2) by step 1) in intermediate file be configured to xml document;
3) by step 2) in xml document transfer on the equipment of field investigation data record, in described field investigation data record Equipment on parse xml document, carry out ui description make the equipment of described field investigation data record assume form.
2. the method for the flexible configuration field investigation data record form of What You See Is What You Get according to claim 1, it is special Levy and be, described step 1) described in information, comprising: the relative position relation between word, described word in form.
3. the method for the flexible configuration field investigation data record form of What You See Is What You Get according to claim 1, it is special Levy and be, described step 1) described in the information of reading form document be to be obtained by api interface.
4. the method for the flexible configuration field investigation data record form of What You See Is What You Get according to claim 3, it is special Levy and be, described form document is word form document.
5. the method for the flexible configuration field investigation data record form of What You See Is What You Get according to claim 1, it is special Levy and be, described intermediate file is exe intermediate file.
6. the method for the flexible configuration field investigation data record form of What You See Is What You Get according to claim 1, it is special Levy and be, described step 3) in by dom, sax, dom4j or pull parsing, xml document is parsed.
7. the method for the flexible configuration field investigation data record form of What You See Is What You Get according to claim 6, it is special Levy and be, described step 3) in by pull parsing, xml document is parsed.
8. the method for the flexible configuration field investigation data record form of What You See Is What You Get according to claim 1, it is special Levy and be, also comprise the steps:
4) fill in step 3) in present form formed charting, described charting is saved in data base.
9. the method for the flexible configuration field investigation data record form of What You See Is What You Get according to claim 8, it is special Levy and be, described step 4) in the preservation form of charting be word document.
CN201610683044.8A 2016-08-18 2016-08-18 Method for flexibly configuring field survey data record form Pending CN106339361A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610683044.8A CN106339361A (en) 2016-08-18 2016-08-18 Method for flexibly configuring field survey data record form

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610683044.8A CN106339361A (en) 2016-08-18 2016-08-18 Method for flexibly configuring field survey data record form

Publications (1)

Publication Number Publication Date
CN106339361A true CN106339361A (en) 2017-01-18

Family

ID=57824258

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610683044.8A Pending CN106339361A (en) 2016-08-18 2016-08-18 Method for flexibly configuring field survey data record form

Country Status (1)

Country Link
CN (1) CN106339361A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112445936A (en) * 2019-08-28 2021-03-05 北京国双科技有限公司 Method and device for extracting content of xlsx file

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567287A (en) * 2003-06-11 2005-01-19 中兴通讯股份有限公司 Centralized broad spectrum report generation method based on expandable sign language
CN103150298A (en) * 2013-03-13 2013-06-12 河海大学 Customizable complicated form generation method for river basin water diversion business based on Web
CN105426480A (en) * 2015-11-19 2016-03-23 中国地质大学(武汉) Method and apparatus for converting HTML into Word document

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567287A (en) * 2003-06-11 2005-01-19 中兴通讯股份有限公司 Centralized broad spectrum report generation method based on expandable sign language
CN103150298A (en) * 2013-03-13 2013-06-12 河海大学 Customizable complicated form generation method for river basin water diversion business based on Web
CN105426480A (en) * 2015-11-19 2016-03-23 中国地质大学(武汉) Method and apparatus for converting HTML into Word document

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
JUSSI MYLLYMAKI: "Effective Web data extraction with standard XML technologies", 《ACM》 *
李瑞花: "基于Android的XML解析技术的分析", 《计算机时代》 *
王作启 等: "《Java程序设计完全学习手册》", 31 July 2014, 清华大学出版社 *
黄利斌 等: "核普查辐射监测智能数据管理及移动监测数据采集系统", 《中国核科学技术进展报告》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112445936A (en) * 2019-08-28 2021-03-05 北京国双科技有限公司 Method and device for extracting content of xlsx file

Similar Documents

Publication Publication Date Title
US8572556B2 (en) Graphically based method for developing connectivity drivers
US9081412B2 (en) System and method for using paper as an interface to computer applications
Attali et al. Automated essay scoring with e-rater [r] v. 2
CN107329890A (en) Test method and device based on Mock and server
CN104951508B (en) Temporal information recognition methods and device
CN101611397A (en) Copy and paste operation based on application program
CN104575143A (en) Information entry method and device
CN113625683B (en) Vehicle diagnosis method, vehicle diagnosis device, electronic device, and storage medium
US20170371763A1 (en) Automated globalization enablement on development operations
CN109684219A (en) System performance testing method, apparatus and storage medium
CN106326129A (en) Program abnormity information generating method and device
CN109446092A (en) The method, apparatus and electronic equipment be identified to user interface UI element
WO2015165078A1 (en) Performing mirror test for localization testing
US9183117B2 (en) Method for developing and testing a connectivity driver for an instrument
CN108111929A (en) A kind of method based on Python automatic tests, system and test terminal
CN100472560C (en) System and method for personalization of handwriting recognition
CN106339361A (en) Method for flexibly configuring field survey data record form
CN109885290A (en) Application program service description information generates and dissemination method, device and storage medium
CN112541373B (en) Judicial text recognition method, text recognition model obtaining method and related equipment
US9799326B2 (en) Training a cognitive agent using document output generated from a recorded process
WO2020031845A1 (en) Api specification generation device, api specification generation method, and program
CN111581098A (en) Interface data transfer storage method, device, server and storage medium
CN110502258A (en) A kind of method, equipment and readable medium upgrading network interface card
CN104572145B (en) File edition management method and system
CN107077365A (en) Selectively load the head and/or its part of precompile

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20180326

Address after: 100000, No. 69, building No. 69, No. 1, Chaoyang Road, Beijing, 5. 5

Applicant after: Beijing Tianchuang golden Agricultural Technology Co. Ltd.

Address before: 100083 Bai Yan mansion 502B, No. 238 North Fourth Ring Road, Haidian District, Beijing

Applicant before: Beijing Chuangxing map information technology Co. Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20170118

RJ01 Rejection of invention patent application after publication