CN106570118A - Report data processing system and method based on electric power material distribution mobile platform - Google Patents
Report data processing system and method based on electric power material distribution mobile platform Download PDFInfo
- Publication number
- CN106570118A CN106570118A CN201610945911.0A CN201610945911A CN106570118A CN 106570118 A CN106570118 A CN 106570118A CN 201610945911 A CN201610945911 A CN 201610945911A CN 106570118 A CN106570118 A CN 106570118A
- Authority
- CN
- China
- Prior art keywords
- data
- chart
- processing system
- mobile terminal
- data processing
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/80—Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a report data processing system and method based on an electric power material distribution mobile platform. The report data processing system based on an electric power material distribution mobile platform includes a mobile terminal and a server terminal, wherein both-way communication is carried out between the mobile terminal and the server terminal; the mobile terminal includes a data adapter layer, an Achartngine chart engine library, and a chart presentation layer; the data adapter layer is used for screening the data returned from the server and carrying out data distribution, and transmitting the data downward to the Achartngine chart engine library; the Achartngine chart engine library is used for carrying out classified drawing according to the received data, and transmitting a drawing result to the chart presentation layer; and the chart presentation layer is used for displaying the received drawing result. The report data processing system and method based on an electric power material distribution mobile platform have the advantages that the report data processing method is flexible in chart configuration, and can match different display modes with the same group of data; the background data configuration is simple; all the form data uses the same set of template to assembly data, so that a developer can pay more attention to business logic development.
Description
Technical field
The present invention relates to report data processing technology field, more particularly to it is a kind of based on the mobile operation horizontal of Power Material allotment
The report data processing system of platform and method.
Background technology
Power system resources area is responsible for tracking project of transmitting and converting electricity construction speed, is responsible for calling engineering material development production
Fortune, dispensing tracking are urged, examination, Site Service is transferred, the work such as evaluation of honouring an agreement are participated in.Need to project monitoring, plan of needs, adopt
The key business numbers such as purchase (bid), contract, storage dispensing, quality monitoring, emergency command, waste and old material disposal, relationship with customer
According to needing to carry out statistical analysiss process, such as:To project process situation, contract signing situation, material supply, supply plan and conjunction
Process with the statistical analysiss of the related datas such as clearing.
It is mostly, based on windows platform, the OS platforms at PC ends etc., to be not suitable for that current report data processes plug-in unit
The exploitation of the mobile terminal project such as Android platform.And for mobile-terminal platform, the reality of the not corresponding class of form one
It is existing.Therefore, current report data processing platform is single, it is impossible to realize data resource under the mobile-terminal platforms such as android
Effectively integrate.
The content of the invention
The purpose of the present invention is exactly to solve above-mentioned technical problem, there is provided one kind is mobile flat based on Power Material allotment
The report data processing system of platform and method, the system and method back-end data configuration is simple, and all of form data is using same
A set of template carrys out fabrication data, simplifies configuration flow.
To achieve these goals, the present invention is adopted the following technical scheme that:
A kind of report data processing system that mobile platform is allocated based on Power Material, including:
Mobile terminal:For initiating data inquiry request to server end;
Server end:For providing service-seeking operation, and the data that inquiry comes up are back to into mobile terminal;
The mobile terminal carries out two-way communication with server end;
The mobile terminal includes:
Data adapter unit layer:For being screened to the data that server end is returned and carried out data distribution, by data to
Under transmit to Achartngine schema engines storehouse;
Achartngine schema engines storehouse:For carrying out classification drafting according to the data for receiving, and drawing result is transmitted
To chart presentation layer;
Chart presentation layer:For showing to the drawing result for receiving.
Server end is communicated with data adapter unit layer, and data adapter unit layer enters with Achartngine schema engines storehouse
Row communication, Achartngine schema engines storehouse is communicated with chart presentation layer.
The subtype that the chart presentation layer shows includes:Broken line graph, block diagram, form, scatterplot, matrix diagram, face
Product figure, pie chart, bubble diagram.
A kind of method of the report data processing system that mobile platform is allocated based on Power Material, including:
(1) mobile terminal is initiated request and goes the corresponding business datum of server end inquiry;
(2) server end inquires about data base and the form according to agreement and carries out returning mobile terminal after data assembling;
(3) mobile terminal receives and parsed and transferred data to through data adapter unit layer after data
Achartengine schema engine layers are drawn;
(4) drawing result is sent to chart presentation layer and is shown by Achartengine schema engines layer.
The data type that Achartengine schema engines can be recognized all adopts the Model of Dynamic-assembled, chart it is aobvious
Show that type, pattern are all controlled in server end.
In the step (2),
The data form of server end transmission according to can the standard syntax of mark language XML be packaged;In XML data bag
In define chart shows type, display data item.
In the step (3),
Mobile terminal receives the SAX analysis modes for calling the API of its operating system to provide after data and is parsed, according to
Different type inside XML data bag calls corresponding chart display engine to carry out the display of chart.
Server end only needs transmission primaries data to can be realized as the display of various subtypes.
Beneficial effect of the present invention:
The inventive method realizes effectively integrating for mobile-terminal platform data resource, and background server only needs to transmission one
Secondary data can just be presented various charts.
The inventive method realizes the chart variation in single data number source and shows.According to different service requests, service
Device end only needs to once encapsulate data according to stipulations.Mobile terminal, can by this method after parsing to data
To represent the chart data of various patterns, need to show different types of form and ask the mode of different data sources than conventional,
Improve data resource utilization rate and network transmission efficiency.
The inventive method chart flexible configuration, for same group of data can be adapted to different ways of presentation.Back-end data
Configuration is simple, and all of form data, come fabrication data, makes developer more be absorbed in service logic using same set of template
Exploitation.The different ways of presentation of adaptation, is controlled by the data type of XML data bag the inside configuration;Data dress said herein
With being exactly XML data bag.
The invention provides the api function that XML data package definition format description document and chart are called required for showing, real
The secondary encapsulation to Achartengine schema engines is showed, Achartengine charts need not be concerned about during use
Engine implementation mode, it is only necessary to which the XML data package definition form and packaged api function that we provide just can be realized.
Description of the drawings
Fig. 1 is the report data processing system structural representation that the present invention allocates mobile job platform based on Power Material.
Specific embodiment
With reference to the accompanying drawings and examples, the specific embodiment of the present invention is described in further detail.
The several terms being related in the present invention are explained as follows:
API is exactly the calling interface that operating system leaves application program for, and application program is by call operation system
API and make operating system go perform application program order (action)
SAX, full name Simple API for XML, are both a kind of interface, are also a kind of software kit.It is a kind of XML solutions
The alternative method of analysis.SAX is parsed different from DOM, and it progressively scans document, scans while parsing.Due to application program only
It is to check data when data are read, therefore need not stores data in internal memory, this is individual for the parsing of large-scale document
Huge advantage.
A kind of report data processing system that mobile job platform is allocated based on Power Material, as shown in figure 1, including:
Mobile terminal:For initiating data inquiry request to server end;
Server end:For providing service-seeking operation, and the data that inquiry comes up are back to into mobile terminal;
The mobile terminal carries out two-way communication with server end;
The mobile terminal includes:
Data adapter unit layer:For being screened to the data that server end is returned and carried out data distribution, by data to
Under transmit to Achartngine schema engines storehouse;
Achartngine schema engines storehouse:Through depth custom encapsulation, classification drafting is carried out according to the data for receiving, and
Drawing result is sent to into chart presentation layer;
Chart presentation layer:For showing to the drawing result for receiving.The subtype bag that chart presentation layer shows
Include:Broken line graph, block diagram, form, scatterplot, matrix diagram, area graph, pie chart, bubble diagram.
Server end is communicated with data adapter unit layer, and data adapter unit layer enters with Achartngine schema engines storehouse
Row communication, Achartngine schema engines storehouse is communicated with chart presentation layer.
Complete use process is that mobile terminal initiation request goes server end to inquire about corresponding business datum, server end
Inquiry data base simultaneously carries out returning mobile terminal after data assembling according to the form arranged.Mobile terminal terminal receives Jing after data
Cross adapter layer and parsed and transferred data to Achartengine schema engine layers and drawn.Here will
The data type that Achartengine schema engines can be recognized all adopts the Model of Dynamic-assembled, the display type of chart, sample
Formula is all controlled in server end.
Mobile terminal is only responsible for the data parsing of response and is adapted to display function, so as to increased the flexible of terminal development
Property.
The method that the report data processing system of mobile job platform is allocated based on Power Material, is comprised the following steps:
(1) mobile terminal is initiated request and goes the corresponding business datum of server end inquiry;
(2) server end inquires about data base and the form according to agreement and carries out returning mobile terminal after data assembling;Service
The data form of device end transmission be fully according to can the standard syntax of mark language XML be packaged.The data form of definition
Follow it is expansible, can dynamic encapsulation principle, the contents such as the chart type, the data item that show are defined inside XML data bag.Move
Dynamic terminal is received the SAX analysis modes provided using Android API after data and is parsed, so according to XML data bag
The different type of the inside calls corresponding chart display engine to carry out the display of chart.
(3) mobile terminal receives and parsed and transferred data to through data adapter unit layer after data
Achartengine schema engine layers are drawn;Parsing is XML data bag;The class of the chart defined according to packet the inside
Type carries out showing the chart of what pattern;Data are to send the result that request is returned to server end eventually by mobile.
Achartengine schema engines are the projects that third party increases income, it is also possible to regard a graph tool as.According to
Certain constraint, there is provided input and the realization for exporting.
Input:Schema engine is called to carry api function, inside incoming XML data bag.
Output:XML data bag parses drafting and realizes that chart is presented by engine.Here for the presentation of different forms is needed
Call different functions, incoming different packet.
This programme realizes a resource consolidation, and background server only needs to transmission primaries data and various figures can be just presented
Table.
(4) drawing result is sent to chart presentation layer and is shown by Achartengine schema engines layer.
The data type that Achartengine schema engines can be recognized all adopts the Model of Dynamic-assembled, chart it is aobvious
Show that type, pattern are all controlled in server end.The Model of Dynamic-assembled is that one kind of java language Object-Oriented Designs is real
Existing mechanism.Bound according to the type of concrete object when compiler runs.The type of object can be judged in run duration, and
Appropriate method is called respectively.
That is, compiler does not now still know the type of object, but method call mechanism oneself can go investigation, look for
To correct method main body;The type and data item of chart is all encapsulated in XML data bag the inside, and packet is carried by server end
For.Here by broken line graph for, the such as X-axis Y-axis scale of chart, the number such as folding number of lines, the color of broken line, broken line point display scale
Configured according to there is data item.
Although the above-mentioned accompanying drawing that combines is described to the specific embodiment of the present invention, not to present invention protection model
The restriction enclosed, one of ordinary skill in the art should be understood that on the basis of technical scheme those skilled in the art are not
Need the various modifications made by paying creative work or deformation still within protection scope of the present invention.
Claims (8)
1. a kind of report data processing system that mobile platform is allocated based on Power Material, is characterized in that, including:
Mobile terminal:For initiating data inquiry request to server end;
Server end:For providing service-seeking operation, and the data that inquiry comes up are back to into mobile terminal;
The mobile terminal carries out two-way communication with server end;
The mobile terminal includes:
Data adapter unit layer:For being screened to the data that server end is returned and data distribution is carried out, data are passed downwards
Transport to Achartngine schema engines storehouse;
Achartngine schema engines storehouse:For carrying out classification drafting according to the data for receiving, and drawing result is sent to into figure
Table presentation layer;
Chart presentation layer:For showing to the drawing result for receiving.
2. a kind of report data processing system that mobile platform is allocated based on Power Material as claimed in claim 1, its feature
It is that server end is communicated with data adapter unit layer, data adapter unit layer is led to Achartngine schema engines storehouse
Letter, Achartngine schema engines storehouse is communicated with chart presentation layer.
3. a kind of report data processing system that mobile platform is allocated based on Power Material as claimed in claim 1, its feature
It is that the subtype that the chart presentation layer shows includes:Broken line graph, block diagram, form, scatterplot, matrix diagram, area graph,
Pie chart, bubble diagram.
It is 4. a kind of to be based on the method that Power Material allocates the report data processing system of mobile platform as claimed in claim 1,
It is characterized in that, including:
(1) mobile terminal is initiated request and goes the corresponding business datum of server end inquiry;
(2) server end inquires about data base and the form according to agreement and carries out returning mobile terminal after data assembling;
(3) mobile terminal to be received and parsed and transferred data to Achartengine figures through data adapter unit layer after data
Table engine layers are drawn;
(4) drawing result is sent to chart presentation layer and is shown by Achartengine schema engines layer.
5. the method for a kind of report data processing system that mobile platform is allocated based on Power Material as claimed in claim 4,
It is characterized in that, the data type that Achartengine schema engines can be recognized all adopts the Model of Dynamic-assembled, chart
Display type, pattern are all controlled in server end.
6. the method for a kind of report data processing system that mobile platform is allocated based on Power Material as claimed in claim 4,
It is characterized in that, in the step (2),
The data form of server end transmission according to can the standard syntax of mark language XML be packaged;In XML data Bao Liding
Type, the data item of display that adopted chart shows.
7. the method for a kind of report data processing system that mobile platform is allocated based on Power Material as claimed in claim 4,
It is characterized in that, in the step (3),
Mobile terminal receives the SAX analysis modes for calling the API of its operating system to provide after data and is parsed, according to XML
Different type inside packet calls corresponding chart display engine to carry out the display of chart.
8. the method for a kind of report data processing system that mobile platform is allocated based on Power Material as claimed in claim 4,
It is characterized in that, server end only needs transmission primaries data to can be realized as the display of various subtypes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610945911.0A CN106570118B (en) | 2016-11-02 | 2016-11-02 | Report data processing system and method based on electric power material allocation mobile platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610945911.0A CN106570118B (en) | 2016-11-02 | 2016-11-02 | Report data processing system and method based on electric power material allocation mobile platform |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106570118A true CN106570118A (en) | 2017-04-19 |
CN106570118B CN106570118B (en) | 2020-08-07 |
Family
ID=58535821
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610945911.0A Active CN106570118B (en) | 2016-11-02 | 2016-11-02 | Report data processing system and method based on electric power material allocation mobile platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106570118B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107066614A (en) * | 2017-05-09 | 2017-08-18 | 北京京东尚科信息技术有限公司 | Data creation method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060112123A1 (en) * | 2004-11-24 | 2006-05-25 | Macnica, Inc. | Spreadsheet user-interfaced business data visualization and publishing system |
CN101908056A (en) * | 2009-06-03 | 2010-12-08 | 商业对象软件有限公司 | Equipment and method from identification of random two-dimensional data centralization and abstract visualization point |
CN103530401A (en) * | 2013-10-23 | 2014-01-22 | 山东大学 | Method for obtaining data and drawing graph based on web service |
CN104484353A (en) * | 2014-11-28 | 2015-04-01 | 华为技术有限公司 | Data imaging method, data imaging device and database server |
CN104965868A (en) * | 2015-06-09 | 2015-10-07 | 广西中烟工业有限责任公司 | Data inquiring and analyzing system and method based on WeChat public platform |
CN105843945A (en) * | 2016-04-08 | 2016-08-10 | 联动优势科技有限公司 | Report generation method and system |
-
2016
- 2016-11-02 CN CN201610945911.0A patent/CN106570118B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060112123A1 (en) * | 2004-11-24 | 2006-05-25 | Macnica, Inc. | Spreadsheet user-interfaced business data visualization and publishing system |
CN101908056A (en) * | 2009-06-03 | 2010-12-08 | 商业对象软件有限公司 | Equipment and method from identification of random two-dimensional data centralization and abstract visualization point |
CN103530401A (en) * | 2013-10-23 | 2014-01-22 | 山东大学 | Method for obtaining data and drawing graph based on web service |
CN104484353A (en) * | 2014-11-28 | 2015-04-01 | 华为技术有限公司 | Data imaging method, data imaging device and database server |
CN104965868A (en) * | 2015-06-09 | 2015-10-07 | 广西中烟工业有限责任公司 | Data inquiring and analyzing system and method based on WeChat public platform |
CN105843945A (en) * | 2016-04-08 | 2016-08-10 | 联动优势科技有限公司 | Report generation method and system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107066614A (en) * | 2017-05-09 | 2017-08-18 | 北京京东尚科信息技术有限公司 | Data creation method and device |
Also Published As
Publication number | Publication date |
---|---|
CN106570118B (en) | 2020-08-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101834845B (en) | SOAP client protocol encapsulating method based on TCP short connection | |
CN102968307B (en) | A kind of web based on java develops middleware | |
CN102567026B (en) | Mobile solution constructing system and Mobile solution construction method | |
CN106445484A (en) | Method and system for realizing data tracking through software development kit | |
CN105049304A (en) | Internet-of-thing terminal access gateway supporting multi-heterogeneous transmission module and application system | |
CN101645013A (en) | Plug-in type service management system and method of integrated service management platform | |
CN104317661A (en) | Intersystem communication method and device of dual embedded systems | |
CN104539656A (en) | Development and usage method of internet of things system | |
CN101976199A (en) | Object-oriented middleware distributed system development platform | |
CN106776964A (en) | A kind of WEB page management system and its implementation based on HC CELL | |
CN103577568A (en) | Cross-platform mobile safety comprehensive information aggregation system and method adopting same | |
CN103399735A (en) | Method for developing intermediate layer of remote function call interface | |
CN103802509A (en) | Remote implementation method based on industrial inkjet printer control system | |
CN104135536A (en) | Data interaction method of Web management system based on Json data protocols | |
CN107450993A (en) | A kind of data interactive method of distributed IEC61850 communication components | |
CN105718601A (en) | Dynamic business integrating model and application method thereof | |
CN103064786B (en) | A kind of logical layer automatization test system supported based on multi-protocols | |
CN109861998A (en) | A kind of plug-in type dynamic analysis system and method based on Big Dipper short message agreement | |
CN106570118A (en) | Report data processing system and method based on electric power material distribution mobile platform | |
CN1314225C (en) | System for realizing open telecommunication business based on XML file and thereof | |
CN103051728A (en) | Remote-procedure calling method | |
CN101043648B (en) | Business service switching system | |
CN102567066A (en) | Business system development method, business system development platform and business system development system | |
CN103164199B (en) | Application model generating apparatus and method based on hierarchy | |
CN109413181A (en) | A kind of double architecture mode methods for realizing application program |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |