CN103399934A - Form data transmission and storage method - Google Patents

Form data transmission and storage method Download PDF

Info

Publication number
CN103399934A
CN103399934A CN2013103448532A CN201310344853A CN103399934A CN 103399934 A CN103399934 A CN 103399934A CN 2013103448532 A CN2013103448532 A CN 2013103448532A CN 201310344853 A CN201310344853 A CN 201310344853A CN 103399934 A CN103399934 A CN 103399934A
Authority
CN
China
Prior art keywords
form data
data
transmission
java object
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
Application number
CN2013103448532A
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.)
Shenzhen Shenzhou Huizhong Technology Co., Ltd.
Original Assignee
SHENZHOU DIGITAL CODE (CHINA) 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 SHENZHOU DIGITAL CODE (CHINA) CO Ltd filed Critical SHENZHOU DIGITAL CODE (CHINA) CO Ltd
Priority to CN2013103448532A priority Critical patent/CN103399934A/en
Publication of CN103399934A publication Critical patent/CN103399934A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention belongs to the technical field of data bases, and provides a form data transmission and storage method. The form data transmission and storage method is characterized by including the steps of receiving form data submitted by a client terminal, transmitting the form data to a data conversion module, converting the form data into a JAVA object through the data conversion module, then transmitting the JAVA object to an application open source project XStream, serializing the JAVA object to an XML character string, further compressing the XML character string into a byte array, storing the byte array into a data base, automatically starting a maintenance function module once data in the form data change, using the maintenance function module to change the form data, and sequentially repeating the steps on the changed form data. The form data transmission and storage method effectively solves the problems that the software development workload is large, the storage process difficulty is high, and the follow-up updating maintenance cost is high.

Description

A kind of transmission of form data and storage means
Technical field
The invention belongs to database technical field, particularly a kind of transmission of form data and storage means.
Background technology
In present software information system, the most common is typing, the hold function of user to the miscellaneous service list, has related to the problem how form data transmits and store.Traditional browser/server framework software normally transmission mode by form, submission of sheet realizes, the storage of form data is to realize by the mode that database table is set up field one by one to each data item.Bring thus problems, for different business forms, software needs independent code to carry out database preservation operation, namely needs to set up the different structure list and stores list, and the storage difficulty is large; If user's list changes, need the list structure in synchronous Update Table storehouse to carry out the modification of field, the development amount of software is increased, increased on the other hand the follow-up updating maintenance cost of software.
Therefore, database technical field is badly in need of a kind of development amount that reduces software, reduces simultaneously transmission and the storage means of the form data of the follow-up updating maintenance cost of storage difficulty, software.
Summary of the invention
The invention provides a kind of transmission and storage means of form data, technical scheme is as follows:
A kind of transmission of form data and storage means, is characterized in that, comprises the following steps:
Step 1: receiver module receives the form data that client is submitted to, and the form data transmission that will receive is to data conversion module;
Step 2: the form data that data conversion module will receive is converted to the JAVA object, and the JAVA object transfer after changing is to the application project XStream that increases income;
Step 3: apply the project XStream that increases income the JAVA object sequence is changed into to the expandable mark language XML character string, and the expandable mark language XML character string is transferred to the character compression module;
Step 4: the character compression module is compressed into byte arrays by the expandable mark language XML character string;
Step 5: the character compression module is transferred to database by byte arrays, and stores in database;
Step 6: when the data in form data changed, the maintenance function module was opened automatically, form data changed, and the step of repeating step one to five successively of the form data after changing.
The transmission of a kind of form data as above and storage means, wherein, step 5 stores byte arrays in data base procedure into, also byte arrays is provided with to key word, and client can be inquired about, revise, delete and read byte arrays according to key word.
The transmission of a kind of form data as above and storage means, wherein, generate 2 kinds of forms in the database of step 5, a kind of is the configuration information storage list of list, and another kind is the storage list of form data.
The transmission of a kind of form data as above and storage means, wherein, generate form more than 2 kinds in the database of step 5.
advantage of the present invention: after employing is converted to the JAVA object by form data, apply the project XStream that increases income the JAVA object sequence is changed into to the XML character string, the XML character string is supported the storage of multitype database, storage is simple, do not need to set up the different structure list and store list, and methodology is adopted in transmission and storage, reduced the development amount of software, reduce simultaneously the storage difficulty, after the business form data change, code does not need to modify yet, only need the working service functional module, the data item of list is safeguarded and got final product, saved the follow-up updating maintenance cost of software.
The accompanying drawing explanation
Below in conjunction with the drawings and specific embodiments, describe the present invention in detail:
Fig. 1 is the transmission of a kind of form data of the present invention and the process flow diagram of storage means.
Embodiment
For measure, creation characteristic that the technology of the present invention is realized, reach purpose and effect is easy to understand, below in conjunction with concrete diagram, further set forth the present invention.
Fig. 1 is the transmission of a kind of form data of the present invention and the process flow diagram of storage means.At first receiver module receives the form data 101 that client is submitted to, and the form data transmission that will receive is to data conversion module; Then the data conversion module form data that will receive is converted to JAVA object 102, and the JAVA object transfer after changing is to the application project XStream that increases income; Apply the project XStream that increases income and again the JAVA object sequence is changed into to expandable mark language XML character string 103, and the expandable mark language XML character string is transferred to the character compression module; Further, the character compression module is compressed into byte arrays 104 by the expandable mark language XML character string; The character compression module is transferred to database by byte arrays, and stores database interior 105 into; In case when the data in form data changed, the maintenance function module was opened automatically, and form data is changed to 106, and the form data after changing repeats said process successively.
Byte arrays is stored in database 105 processes, also byte arrays is provided with to key word, client can be inquired about, revise, delete and read byte arrays according to key word.
In one embodiment, in the database of step 5, generate 2 kinds of forms, a kind of is the configuration information storage list of list, and another kind is the storage list of form data.
In another example, in the database of step 5, generate form more than 2 kinds.
Advantage of the present invention is:
after employing is converted to the JAVA object by form data, apply the project XStream that increases income the JAVA object sequence is changed into to the XML character string, the XML character string is supported the storage of multitype database, storage is simple, do not need to set up the different structure list and store list, and methodology is adopted in transmission and storage, reduced the development amount of software, reduce simultaneously the storage difficulty, after the business form data change, code does not need to modify yet, only need the working service functional module, the data item of list is safeguarded and got final product, saved the follow-up updating maintenance cost of software.
Above demonstration and described ultimate principle of the present invention, principal character and advantage of the present invention.The technician of the industry should understand; the present invention is not restricted to the described embodiments; that in above-described embodiment and instructions, describes just illustrates principle of the present invention; the present invention also has various changes and modifications without departing from the spirit and scope of the present invention, and these changes and improvements all fall in the claimed scope of the invention.The claimed scope of the present invention is defined by appending claims and equivalent thereof.

Claims (4)

1. the transmission of a form data and storage means, is characterized in that, comprises the following steps:
Step 1: receiver module receives the form data that client is submitted to, and the form data transmission that will receive is to data conversion module;
Step 2: the form data that data conversion module will receive is converted to the JAVA object, and the JAVA object transfer after changing is to the application project XStream that increases income;
Step 3: apply the project XStream that increases income the JAVA object sequence is changed into to the expandable mark language XML character string, and the expandable mark language XML character string is transferred to the character compression module;
Step 4: the character compression module is compressed into byte arrays by the expandable mark language XML character string;
Step 5: the character compression module is transferred to database by byte arrays, and stores in database;
Step 6: when the data in form data changed, the maintenance function module was opened automatically, form data changed, and the step of repeating step one to five successively of the form data after changing.
2. the transmission of a kind of form data as claimed in claim 1 and storage means, it is characterized in that, in step 5, byte arrays is stored in data base procedure, also byte arrays is provided with to key word, client can be inquired about, revise, delete and read byte arrays according to key word.
3. the transmission of a kind of form data as claimed in claim 1 and storage means, is characterized in that, in the database of step 5, generates 2 kinds of forms, and a kind of is the configuration information storage list of list, and another kind is the storage list of form data.
4. the transmission of a kind of form data as claimed in claim 1 and storage means, is characterized in that, in the database of step 5, generates form more than 2 kinds.
CN2013103448532A 2013-08-09 2013-08-09 Form data transmission and storage method Pending CN103399934A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013103448532A CN103399934A (en) 2013-08-09 2013-08-09 Form data transmission and storage method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013103448532A CN103399934A (en) 2013-08-09 2013-08-09 Form data transmission and storage method

Publications (1)

Publication Number Publication Date
CN103399934A true CN103399934A (en) 2013-11-20

Family

ID=49563562

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013103448532A Pending CN103399934A (en) 2013-08-09 2013-08-09 Form data transmission and storage method

Country Status (1)

Country Link
CN (1) CN103399934A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104699811A (en) * 2015-03-23 2015-06-10 重庆广播电视大学 Method and device for recording and backtracking variation of form data in non-invasion manner
CN104899018A (en) * 2015-03-31 2015-09-09 江苏卓易信息科技股份有限公司 Design method of business process application software
CN105224319A (en) * 2015-09-24 2016-01-06 四川长虹电器股份有限公司 The method of XBRL instance document preview is realized based on dom4j
CN105786529A (en) * 2016-04-22 2016-07-20 浙江工业大学 Parameter design method for calling C/C++ style function by class management code
CN106844312A (en) * 2017-02-14 2017-06-13 济南浪潮高新科技投资发展有限公司 A kind of data table transmition method, device, computer-readable recording medium and storage control
CN108156194A (en) * 2016-12-02 2018-06-12 航天星图科技(北京)有限公司 A kind of form data processing method
CN108959411A (en) * 2018-06-07 2018-12-07 新华三大数据技术有限公司 Processing method, device and the equipment of ETL task
CN110647348A (en) * 2019-09-20 2020-01-03 浪潮思科网络科技有限公司 Method and system for solving problem of difficult code maintenance caused by version differentiation

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104699811B (en) * 2015-03-23 2018-02-23 重庆广播电视大学 A kind of no intrusive mood form data change record and the method and device of backtracking
CN104699811A (en) * 2015-03-23 2015-06-10 重庆广播电视大学 Method and device for recording and backtracking variation of form data in non-invasion manner
CN104899018A (en) * 2015-03-31 2015-09-09 江苏卓易信息科技股份有限公司 Design method of business process application software
CN105224319B (en) * 2015-09-24 2018-10-02 四川长虹电器股份有限公司 The method for realizing XBRL instance document previews based on dom4j
CN105224319A (en) * 2015-09-24 2016-01-06 四川长虹电器股份有限公司 The method of XBRL instance document preview is realized based on dom4j
CN105786529A (en) * 2016-04-22 2016-07-20 浙江工业大学 Parameter design method for calling C/C++ style function by class management code
CN105786529B (en) * 2016-04-22 2018-11-20 浙江工业大学 One type Managed Code calls the Parameters design of the labyrinth of C/C++ style function
CN108156194A (en) * 2016-12-02 2018-06-12 航天星图科技(北京)有限公司 A kind of form data processing method
CN108156194B (en) * 2016-12-02 2019-10-08 中科星图股份有限公司 A kind of form data processing method
CN106844312A (en) * 2017-02-14 2017-06-13 济南浪潮高新科技投资发展有限公司 A kind of data table transmition method, device, computer-readable recording medium and storage control
CN106844312B (en) * 2017-02-14 2019-12-10 浪潮集团有限公司 data table conversion method and device, readable medium and storage controller
CN108959411A (en) * 2018-06-07 2018-12-07 新华三大数据技术有限公司 Processing method, device and the equipment of ETL task
CN108959411B (en) * 2018-06-07 2020-12-08 新华三大数据技术有限公司 Processing method, device and equipment of ETL (extract transform and load) task
CN110647348A (en) * 2019-09-20 2020-01-03 浪潮思科网络科技有限公司 Method and system for solving problem of difficult code maintenance caused by version differentiation
CN110647348B (en) * 2019-09-20 2022-11-22 浪潮思科网络科技有限公司 Method and system for solving problem of difficult code maintenance caused by version differentiation

Similar Documents

Publication Publication Date Title
CN103399934A (en) Form data transmission and storage method
CN103942287B (en) Mass data processing method, database server and application server
CN101661509B (en) Method for generating major key field of database table and device thereof
CN102917020A (en) Mobile terminal based on data packet and method for synchronizing business system data
CN109241184B (en) Data synchronization method, device, computer equipment and storage medium
CN106599104A (en) Mass data association method based on redis cluster
CN102542002A (en) Satellite telemetry data treatment system and realization method thereof
CN106339498A (en) Method, device and system for synchronizing data
CN111061678B (en) Service data processing method, device, computer equipment and storage medium
CN111683066A (en) Heterogeneous system integration method and device, computer equipment and storage medium
US20130191332A1 (en) Synchronizing endpoint data stores having disparate schemas
WO2015171916A1 (en) System and method for managing data transactions between applications
CN101888393A (en) Non-uniform cooperative system and method based on component middleware platforms under network environment
CN112671734A (en) Message processing method facing multiple data sources and related equipment thereof
CN102315930A (en) Be used for reducing the method and system of volume of transmitted data in data sync
CN101645073A (en) Method for guiding prior database file into embedded type database
CN102487353A (en) Data transmission method
CN116595101B (en) Data synchronization method, device, equipment and computer readable storage medium
CN105094787B (en) Method and device for processing enterprise internet application
CN110297945A (en) Data information processing method and system based on XBRL
CN101516086B (en) Service matching method for mobile communication
CN116738954A (en) Report export method, report template configuration device and computer equipment
CN105656694A (en) Device log processing method
CN105224319A (en) The method of XBRL instance document preview is realized based on dom4j
WO2015052967A1 (en) Server device, client device, information processing method, and recording medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
ASS Succession or assignment of patent right

Owner name: SHENZHEN SHENZHOU HUIZHONG TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: SHENZHOU DIGITAL CODE (CHINA) CO., LTD.

Effective date: 20150702

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20150702

Address after: 518052 Guangdong city of Shenzhen province Qianhai Shenzhen Hong Kong cooperation zone before Bay Road No. 1 building 201 room A (located in Shenzhen Qianhai business secretary Co. Ltd.)

Applicant after: Shenzhen Shenzhou Huizhong Technology Co., Ltd.

Address before: 100085, Beijing, Haidian District on the nine Street 9 digital science and Technology Plaza, a section of the 7 A District

Applicant before: Shenzhou Digital Code (China) Co., Ltd.

WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20131120