CN106776522A - A kind of hybrid-type user-defined mobile phone end reporting system and method - Google Patents

A kind of hybrid-type user-defined mobile phone end reporting system and method Download PDF

Info

Publication number
CN106776522A
CN106776522A CN201710025316.XA CN201710025316A CN106776522A CN 106776522 A CN106776522 A CN 106776522A CN 201710025316 A CN201710025316 A CN 201710025316A CN 106776522 A CN106776522 A CN 106776522A
Authority
CN
China
Prior art keywords
report
mobile terminal
data
menu
report data
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
CN201710025316.XA
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.)
Shandong Inspur Business System Co Ltd
Original Assignee
Shandong Inspur Business System 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 Shandong Inspur Business System Co Ltd filed Critical Shandong Inspur Business System Co Ltd
Priority to CN201710025316.XA priority Critical patent/CN106776522A/en
Publication of CN106776522A publication Critical patent/CN106776522A/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/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
    • 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/26Visual data mining; Browsing structured data
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a kind of hybrid-type user-defined mobile phone end reporting system and method, its structure includes service end, including report model module, data source configuration module, report data definition module, report data interface, form menu definition module, form menu interface, wherein report model module is used to define report messages;Data source is used to define the database linkage information of form connection;Report data definition module realizes the definition of data in form by writing SQL statement;Report data interface is used to connect mobile terminal;Form menu definition module is used to realize the binding of menu and report data;Form menu interface is used to connect mobile terminal and be called by the mobile terminal;Mobile terminal, refers to intelligent terminal.A kind of hybrid-type user-defined mobile phone end reporting system of the invention and method compared with prior art, improve development efficiency and have saved development cost and later maintenance cost, practical, applied widely, with good application value.

Description

A kind of hybrid-type user-defined mobile phone end reporting system and method
Technical field
The present invention relates to mobile communication Report technique field, specifically a kind of hybrid-type user-defined mobile phone end form System and method.
Background technology
With continuing to develop for mobile Internet, the application demand in mobile terminal of enterprise application system is more and more, special It is not the realization in mobile office, workflow examination and approval, report form statistics etc. in mobile terminal.It is existing in the development process of mobile terminal software It is mainly the primary exploitation of Android and IOS in the research and development technology of main flow, causes the application of a mobile terminal to need to develop respectively Two exploitations of version of Android and IOS, in R&D work amount and later maintenance, all cause the double of workload to be incremented by.
Based on above present situation, the present invention proposes a kind of hybrid-type user-defined mobile phone end reporting system and method.The present invention It is intended to realize the hybrid exploitation of mobile terminal form by HTML5+Bootstrap+kendoUI technologies, by configuration mode, realizes Mobile terminal form is presented.
The content of the invention
Technical assignment of the invention is directed to above weak point, there is provided a kind of hybrid-type user-defined mobile phone end form system System and method.
A kind of hybrid-type user-defined mobile phone end reporting system, its structure includes mobile terminal and service end, wherein,
The service end include report model module, data source configuration module, report data definition module, report data interface, Form menu definition module, form menu interface, wherein report model module are used to define report messages;Data source is used to define The database linkage information of form connection;Report data definition module realizes the definition of data in form by writing SQL statement, And the information for defining the report data generates xml document and preserves;Report data interface is used to connect mobile terminal;Form menu Definition module is used to realize the binding of menu and report data;Form menu interface is used to connect mobile terminal and be adjusted by the mobile terminal With;
Mobile terminal refers to then intelligent terminal.
The report messages of the report model module definition include form Chinese name, form English name, report data definition File.
The database linkage information of the data source definitions includes type of database, Java DataBase Connection program, connection Address, connection user name, connection password, data source include the database of oracle, Mysql by JDBC drive connections.
Report data definition module writes SQL statement and realizes report by the database for calling data source configuration module to define Table data statistics, by DSD, defines the Chinese of the column information selected in SQL, row display width, including word Symbol, numeral, the display type attribute on date, the information generation xml document that report data is defined are stored in file directory, most The xml document address that will be generated afterwards defines file association with report data in report model module.
Report data interface interchange report model module definition information, generates report data interface, is provided in JSON modes Report data is called to mobile terminal.
Form menu definition module definition form father form, subreport Chinese name, English name, menu display icon, by dish Single English name is associated with form English name, realizes the binding of menu and report data.
Form menu interface generates form menu data interface according to menu definition information, and form is provided in JSON modes Data are called to mobile terminal.
A kind of hybrid-type user-defined mobile phone end report method, its implementation process is, first by the service of reporting system End configures Report Forms Service and data, and then mobile terminal automatically generates statistical report form automatically according to the configuration of service end.
The process of implementing is:Based on the mobile terminal reporting system including mobile terminal and service end, enter in service end first Row form background service, i.e., carry out configurable definition to statistical report form attribute meta-model and the configurable service interface of report data is determined Justice, front end report style is defined;
Then form presentation is carried out in mobile terminal, mobile terminal form is issued as Android and ios release form.
Mobile terminal form obtains form menu data and form number by calling form menu interface, report data interface According to, menu page, report page are defined using html5, pattern is defined using bootstrap, and the display of form form is used KendoUI render representing, and last APP is directly issued as Android version and IOS editions application by strapping tool.
A kind of hybrid-type user-defined mobile phone end reporting system of the invention and method compared to the prior art, with following Beneficial effect:
A kind of hybrid-type user-defined mobile phone end reporting system of the invention and method, configuration definition report is made by oneself by background service Table data and form menu, are capable of achieving the configuration of multi-data source form, and mobile terminal represents form automatically according to back office interface data, reports Table exploitation carries out code development and to be changed into be capable of achieving by configuring by traditional mobile terminal form is single, improves opening for form Hair efficiency;The invention realizes the configurable exploitation of mobile terminal form, realizes the hybrid exploitation of Android, ios release, exploitation A set of code can issue Android, IOS edition, improve and development efficiency and saved development cost and later maintenance cost, practicality Property it is strong, it is applied widely, with good application value.
Brief description of the drawings
Accompanying drawing 1 is the structural representation of reporting system of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawings and specific embodiment the invention will be further described.
As shown in Figure 1, a kind of hybrid-type user-defined mobile phone end reporting system, it is possible to achieve the configurable report in mobile terminal Table, is configured and data configuration by form backstage meta-model, realizes that multi-data source Database Report is counted, and uses html5+ Bootstrap+kendoUI technological frames, realize the hybrid realization of mobile terminal form, can be opened up in Android and IOS It is existing.
Its structure includes mobile terminal and service end, wherein,
The service end include report model module, data source configuration module, report data definition module, report data interface, Form menu definition module, form menu interface, wherein report model module are used to define report messages;Data source is used to define The database linkage information of form connection;Report data definition module realizes the definition of data in form by writing SQL statement, And the information for defining the report data generates xml document and preserves;Report data interface is used to connect mobile terminal;Form menu Definition module is used to realize the binding of menu and report data;Form menu interface is used to connect mobile terminal and be adjusted by the mobile terminal With;
Mobile terminal refers to then intelligent terminal.
The report messages of the report model module definition include form Chinese name, form English name, report data definition File.
The database linkage information of the data source definitions includes type of database, Java DataBase Connection program, connection Address, connection user name, connection password, data source include the database of oracle, Mysql by JDBC drive connections.
Report data definition module writes SQL statement and realizes report by the database for calling data source configuration module to define Table data statistics, by DSD, defines the Chinese of the column information selected in SQL, row display width, including word Symbol, numeral, the display type attribute on date, the information generation xml document that report data is defined are stored in file directory, most The xml document address that will be generated afterwards defines file association with report data in report model module.
Report data interface interchange report model module definition information, generates report data interface, is provided in JSON modes Report data is called to mobile terminal.
Form menu definition module definition form father form, subreport Chinese name, English name, menu display icon, by dish Single English name is associated with form English name, realizes the binding of menu and report data.
Form menu interface generates form menu data interface according to menu definition information, and form is provided in JSON modes Data are called to mobile terminal.
A kind of hybrid-type user-defined mobile phone end report method, by the background service of above-mentioned mobile terminal reporting system, i.e., Service end realizes that configurable definition and the configurable service interface of report data are carried out to statistical report form attribute meta-model determines meaning, makes Front end report style is defined with Bootstrap, HMTL5+KendoUI represents to front end form, reports mobile terminal Table can be issued as Android and ios release form, realize the cross-platform exploitation that can configure mobile terminal form.The invention is realized The configurable exploitation of mobile terminal form, realizes the hybrid exploitation of Android, ios release, improves mobile terminal form exploitation Efficiency.
Its implementation process is, configures Report Forms Service and data by the service end of reporting system first, then mobile terminal from It is dynamic that statistical report form is automatically generated according to the configuration of service end.
The process of implementing is:Based on the mobile terminal reporting system including mobile terminal and service end, enter in service end first Row form background service, i.e., carry out configurable definition to statistical report form attribute meta-model and the configurable service interface of report data is determined Justice, front end report style is defined;
Then form presentation is carried out in mobile terminal, mobile terminal form is issued as Android and ios release form.
Mobile terminal form obtains form menu data and form number by calling form menu interface, report data interface According to, menu page, report page are defined using html5, pattern is defined using bootstrap, and the display of form form is used KendoUI render representing, and last APP is directly issued as Android version and IOS editions application by strapping tool.
The invention makes configuration definition report data and form menu by oneself by background service, is capable of achieving multi-data source form and matches somebody with somebody Put, mobile terminal represents form automatically according to back office interface data, form exploitation by traditional mobile terminal form it is single enter line code Exploitation be changed into by configure i.e. be capable of achieving, improve the development efficiency of form.
The invention realizes the configurable exploitation of mobile terminal form, realizes the hybrid exploitation of Android, ios release, opens Send out code a set of can issue Android, IOS edition, improve development efficiency and saved development cost and later maintenance cost.
By specific embodiment above, the those skilled in the art can readily realize the present invention.But should Work as understanding, the present invention is not limited to above-mentioned specific embodiment.On the basis of disclosed embodiment, the technical field Technical staff can be combined different technical characteristics, so as to realize different technical schemes.
In addition to the technical characteristic described in specification, the known technology of those skilled in the art is.

Claims (10)

1. a kind of hybrid-type user-defined mobile phone end reporting system, it is characterised in that its structure includes mobile terminal and service end, its In,
The service end include report model module, data source configuration module, report data definition module, report data interface, Form menu definition module, form menu interface, wherein report model module are used to define report messages;Data source is used to define The database linkage information of form connection;Report data definition module realizes the definition of data in form by writing SQL statement, And the information for defining the report data generates xml document and preserves;Report data interface is used to connect mobile terminal;Form menu Definition module is used to realize the binding of menu and report data;Form menu interface is used to connect mobile terminal and be adjusted by the mobile terminal With;
Mobile terminal refers to then intelligent terminal.
2. a kind of hybrid-type user-defined mobile phone end reporting system according to claim 1, it is characterised in that the form The report messages of model module definition include that form Chinese name, form English name, report data define file.
3. a kind of hybrid-type user-defined mobile phone end reporting system according to claim 1, it is characterised in that the data Source definition database linkage information include type of database, Java DataBase Connection program, link address, connection user name, Connection password, data source includes the database of oracle, Mysql by JDBC drive connections.
4. a kind of hybrid-type user-defined mobile phone end reporting system according to claim 1, it is characterised in that report data Definition module writes SQL statement and realizes that report data is counted, by number by the database for calling data source configuration module to define Defined according to collection, define selected in SQL the Chinese of column information, row display width, including character, numeral, the display on date Type attribute, the information generation xml document that report data is defined is stored in file directory, the xml document that will finally generate Address defines file association with report data in report model module.
5. a kind of hybrid-type user-defined mobile phone end reporting system according to claim 1, it is characterised in that report data Interface interchange report model module definition information, generates report data interface, and report data is provided to mobile terminal in JSON modes Call.
6. a kind of hybrid-type user-defined mobile phone end reporting system according to claim 1, it is characterised in that form menu Definition module defines form father form, subreport Chinese name, English name, menu display icon, by menu English name and form English Literary fame is associated, and realizes the binding of menu and report data.
7. a kind of hybrid-type user-defined mobile phone end reporting system according to claim 1, it is characterised in that form menu Interface generates form menu data interface according to menu definition information, provides report data in JSON modes and is called to mobile terminal.
8. a kind of hybrid-type user-defined mobile phone end report method, it is characterised in that its implementation process is, first by form system The service end of system configures Report Forms Service and data, and then mobile terminal automatically generates statistical report form automatically according to the configuration of service end.
9. a kind of hybrid-type user-defined mobile phone end report method according to claim 8, it is characterised in that implement Process is:Based on the mobile terminal reporting system including mobile terminal and service end, form background service is carried out in service end first, i.e., Configurable definition and the configurable Service interface definition of report data are carried out to statistical report form attribute meta-model, to front end report style It is defined;
Then form presentation is carried out in mobile terminal, mobile terminal form is issued as Android and ios release form.
10. a kind of hybrid-type user-defined mobile phone end report method according to claim 8, it is characterised in that mobile terminal Form obtains form menu data and report data by calling form menu interface, report data interface, fixed using html5 Adopted menu page, report page, pattern are defined using bootstrap, and form form is shown and rendered using kendoUI Represent, last APP is directly issued as Android version and IOS editions application by strapping tool.
CN201710025316.XA 2017-01-13 2017-01-13 A kind of hybrid-type user-defined mobile phone end reporting system and method Pending CN106776522A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710025316.XA CN106776522A (en) 2017-01-13 2017-01-13 A kind of hybrid-type user-defined mobile phone end reporting system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710025316.XA CN106776522A (en) 2017-01-13 2017-01-13 A kind of hybrid-type user-defined mobile phone end reporting system and method

Publications (1)

Publication Number Publication Date
CN106776522A true CN106776522A (en) 2017-05-31

Family

ID=58945424

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710025316.XA Pending CN106776522A (en) 2017-01-13 2017-01-13 A kind of hybrid-type user-defined mobile phone end reporting system and method

Country Status (1)

Country Link
CN (1) CN106776522A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107562825A (en) * 2017-08-21 2018-01-09 北京锐安科技有限公司 A kind of system and method for generating data display interface
CN107943983A (en) * 2017-11-30 2018-04-20 北京酷我科技有限公司 A kind of method that multiple database manipulations are managed on Android
CN110750738A (en) * 2018-07-06 2020-02-04 武汉斗鱼网络科技有限公司 Method for adding label to anchor and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105224631A (en) * 2015-09-24 2016-01-06 四川长虹电器股份有限公司 Build the system of the open cloud of industry and the method for establishment XBRL financial statement
CN105426394A (en) * 2015-10-18 2016-03-23 广州赛意信息科技股份有限公司 Mobile report generation method and system based on cross-platform
CN106155674A (en) * 2015-04-22 2016-11-23 阿里巴巴集团控股有限公司 The method and device that report page represents

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106155674A (en) * 2015-04-22 2016-11-23 阿里巴巴集团控股有限公司 The method and device that report page represents
CN105224631A (en) * 2015-09-24 2016-01-06 四川长虹电器股份有限公司 Build the system of the open cloud of industry and the method for establishment XBRL financial statement
CN105426394A (en) * 2015-10-18 2016-03-23 广州赛意信息科技股份有限公司 Mobile report generation method and system based on cross-platform

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107562825A (en) * 2017-08-21 2018-01-09 北京锐安科技有限公司 A kind of system and method for generating data display interface
CN107943983A (en) * 2017-11-30 2018-04-20 北京酷我科技有限公司 A kind of method that multiple database manipulations are managed on Android
CN107943983B (en) * 2017-11-30 2022-04-15 北京酷我科技有限公司 Method for managing operation of multiple databases on Android
CN110750738A (en) * 2018-07-06 2020-02-04 武汉斗鱼网络科技有限公司 Method for adding label to anchor and electronic equipment
CN110750738B (en) * 2018-07-06 2023-11-24 乐万家财富(北京)科技有限公司 Method for adding tag to anchor and electronic equipment

Similar Documents

Publication Publication Date Title
CN105138501A (en) Configurable dynamic report generating method and system
WO2019095424A1 (en) Data acquisition method and device, storage medium and terminal
CN104239073B (en) Data maintenance system rapid prototyping development system and method
CN107391652B (en) Template report interface definition system and method
CN105487864A (en) Method and device for automatically generating code
CN106776522A (en) A kind of hybrid-type user-defined mobile phone end reporting system and method
CN105373469A (en) Interface based software automation test method
CN102819767A (en) Complaining and suggesting system and method based on intelligent mobile communication equipment
CN101599067A (en) A kind of method of self-customizing report forms
CN104317576A (en) Code automatic generation method and system based on eclipse
CN104750472B (en) The resource package management method and device of a kind of terminal applies
CN104615699A (en) Family net pedigree system and data acquisition method thereof
CN103853543A (en) Method used for quickly constructing forms in enterprise information system development process
CN106873974A (en) Smart code generates automotive engine system and method
CN110728123B (en) Report generation method, system and related equipment
CN103336805A (en) Method and device for automatic customized report form generation based on graphical mapping relationship
CN102819609A (en) Modeling method for persisting data model
CN108959230B (en) Method and device for generating report template
CN102662651A (en) Generation method and generation modules for visual component
CN104536768A (en) Method for improving user-friendly operation of software user interface
CN104794203A (en) System and method for alga enumeration data voice rapid inputting and report generation
CN101699396A (en) Method for generating wireless terminal menu and device thereof
CN102426612A (en) Condition object query method and system
CN109445794A (en) A kind of page building method and device
CN111831282A (en) Low-code form development method and system based on VUE technology

Legal Events

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

Application publication date: 20170531