A kind of generation method of data report, device and electronic equipment
Technical field
This specification is related to software technology field, and the more particularly to a kind of generation method of data report, device and electronics are set
It is standby.
Background technology
With the continuous development of scientific technology, more and more thinner, the mutual contact such as platform, company, department of the division of labor
Increasingly closer, mutual contact is generally realized by the form of report.Such as:One network company can be periodically to it
Cooperative institution (such as bank) provides the report of flexible, quick, powerful business, mechanism, channel, to show the operation of its project
Situation.
The report of object platform, company, department generally has complexity and uncertainty, every time the work by being proficient in professional work
Carry out being manually entered data, formatting as personnel, exhibition method etc. is set, whole manufacturing process takes time and effort, makes effect
Rate is low, also, it is also uneven to make the report quality obtained every time.As the demand that various reports make is increasing,
Need a kind of preparation method of new data report badly, the problem of producing efficiency is low is reported in the prior art to improve.
The content of the invention
This specification embodiment provides a kind of generation method of data report, device and electronic equipment, existing for solving
Report producing efficiency low technical problem in technology, improve the efficiency that report makes.
In a first aspect, this specification embodiment provides a kind of generation method of data report, methods described includes:
Report generation instruction is responded, obtains report template corresponding to the instruction, and obtain in the report template
Reporting tag and global parameter;
The reporting tag is parsed, obtains tag processor corresponding to the reporting tag;
The tag processor is performed, based on tag parameter corresponding to the reporting tag and the global parameter, is obtained
Business datum simultaneously carries out processing acquisition result to the business datum;
Target reporting is generated according to the result and exported.
Optionally, it is described to perform the tag processor, based on tag parameter corresponding to the reporting tag and described complete
Office's parameter, obtain business datum and processing acquisition result is carried out to the business datum, including:
The tag processor is performed, is obtained based on data acquisition address corresponding to the reporting tag and data acquisition type
Take the business datum;
The business processing logic according to corresponding to the reporting tag obtains the reporting tag;
Based on the tag parameter and the global parameter, the business datum is carried out according to the business processing logic
Processing obtains result.
Optionally, the tag parameter based in the reporting tag and the global parameter, at the business
Reason logic carries out processing to the business datum and obtains result, including:
Judge the target component whether being configured with the tag parameter in the global parameter;
If so, using the value of the target component according to the business processing during the tag processor is performed
Logic carries out processing to the business datum and obtains result.
Optionally, the business processing logic includes:The processing logic of pie chart, the processing logic of line chart and
The processing logic of statistical graph.
Optionally, the reporting tag is the placeholder of variable element in the report template;
It is described that target reporting is generated according to the result and exported, including:
The reporting tag in the report template is replaced with into the result, generates the target reporting and defeated
Go out.
Optionally, the reporting tag by the report template replaces with the result, described in generation
Target reporting simultaneously exports, including:
Obtain the position related information between reporting tag in the report template;
The reporting tag in the report template is replaced with into the result, and is associated and believed according to the position
Breath generates the target reporting and exported.
Optionally, it is described to perform the tag processor, based on tag parameter corresponding to the reporting tag and described complete
Office's parameter, obtain business datum and processing acquisition result is carried out to the business datum, including:
The tag processor is performed, judge to whether there is in the report template has processing to associate with the reporting tag
Correlation tag;
If so, obtain the result of the correlation tag;
Based on the result of the tag parameter, the global parameter and the correlation tag, the business is obtained
Data simultaneously carry out processing acquisition result to the business datum.
Optionally, methods described also includes:
Configuration operation of the user to report template is responded, obtains and shows in report template corresponding to the configuration operation
Reporting tag;
First configuration of the user to the reporting tag is obtained to operate;
Respond the first configuration operation to configure the reporting tag, and the report is updated based on configuration result
Label.
Optionally, methods described also includes:
Configuration operation of the user to report template is responded, obtains and shows global parameter corresponding to the configuration operation;
Second configuration of the user to the global parameter is obtained to operate;
The second configuration operation is responded to configure the global parameter in the reporting objectives.
Second aspect, this specification embodiment also provide a kind of generating means of data report, and described device includes:
Acquiring unit, for responding report generation instruction, report template corresponding to the instruction is obtained, and described in acquisition
Reporting tag and global parameter in report template;
Resolution unit, for parsing the reporting tag, obtain tag processor corresponding to the reporting tag;
Processing unit, for performing the tag processor, based on tag parameter corresponding to the reporting tag and described
Global parameter, obtain business datum and processing acquisition result is carried out to the business datum;
Generation unit, for generating target reporting according to the result and exporting.
Optionally, the processing unit, is used for:
The tag processor is performed, is obtained based on data acquisition address corresponding to the reporting tag and data acquisition type
Take the business datum;
The business processing logic according to corresponding to the reporting tag obtains the reporting tag;
Based on the tag parameter and the global parameter, the business datum is carried out according to the business processing logic
Processing obtains result.
Optionally, the processing unit is used for, including:
Judge the target component whether being configured with the tag parameter in the global parameter;
If so, using the value of the target component according to the business processing during the tag processor is performed
Logic carries out processing to the business datum and obtains result.
Optionally, the business processing logic includes:The processing logic of pie chart, the processing logic of line chart and
The processing logic of statistical graph.
Optionally, the reporting tag is the placeholder of variable element in the report template;
The generation unit is used for:The reporting tag in the report template is replaced with into the result, it is raw
Into the target reporting and export.
Optionally, the generation unit is used for:Obtain the position related information between reporting tag in the report template;
The reporting tag in the report template is replaced with into the result, and institute is generated according to the position related information
State target reporting and export.
Optionally, the processing unit is used for:The tag processor is performed, judges to whether there is in the report template
Have with the reporting tag and handle the correlation tag associated;If so, obtain the result of the correlation tag;Based on the mark
The result of parameter, the global parameter and the correlation tag is signed, obtains the business datum and to the business number
Result is obtained according to processing is carried out.
Optionally, described device also includes:
Label dispensing unit, for responding configuration operation of the user to report template, obtain and show the configuration operation
Reporting tag in corresponding report template;First configuration of the user to the reporting tag is obtained to operate;Respond described first
Configuration operation configures to the reporting tag, and updates the reporting tag based on configuration result.
Optionally, described device also includes:
Global parameter dispensing unit, for responding configuration operation of the user to report template, obtain and show the configuration
Global parameter corresponding to operation;Second configuration of the user to the global parameter is obtained to operate;Respond the second configuration operation
The global parameter in the reporting objectives is configured.
The third aspect, this specification embodiment also provide a kind of computer-readable recording medium, are stored thereon with computer
Program, the program realize following steps when being executed by processor:
Report generation instruction is responded, obtains report template corresponding to the instruction, and obtain in the report template
Reporting tag and global parameter;
The reporting tag is parsed, obtains tag processor corresponding to the reporting tag;
The tag processor is performed, based on tag parameter corresponding to the reporting tag and the global parameter, is obtained
Business datum simultaneously carries out processing acquisition result to the business datum;
Target reporting is generated according to the result and exported.
Fourth aspect, this specification embodiment also provide a kind of electronic equipment, include memory, and one or one
Program more than individual, one of them or more than one program storage are configured to by one or one in memory
Above computing device is one or more than one program bag contains the instruction for being used for being operated below:
Report generation instruction is responded, obtains report template corresponding to the instruction, and obtain in the report template
Reporting tag and global parameter;
The reporting tag is parsed, obtains tag processor corresponding to the reporting tag;
The tag processor is performed, based on tag parameter corresponding to the reporting tag and the global parameter, is obtained
Business datum simultaneously carries out processing acquisition result to the business datum;
Target reporting is generated according to the result and exported.
Said one or multiple technical schemes in this specification embodiment, at least have the following technical effect that:
This specification embodiment provides a kind of generation method of data report, response report generation instruction, obtains report life
Into report template corresponding to instruction, and obtain the reporting tag and global parameter in report template;The reporting tag is parsed,
Obtain tag processor corresponding to the reporting tag;The tag processor is performed, based on mark corresponding to the reporting tag
Parameter and the global parameter are signed, business datum is obtained and processing acquisition result is carried out to the business datum;According to institute
State result generation target reporting and export.Business is obtained by electronic equipment by way of report template and reporting tag
Data, business datum is handled and generates final report according to the form of template, substantially increase the making of report
Efficiency, improve the quality that report makes.
Brief description of the drawings
In order to illustrate more clearly of the technical scheme in this specification embodiment, embodiment or prior art will be retouched below
The required accompanying drawing used is briefly described in stating, it should be apparent that, drawings in the following description are the one of this specification
A little embodiments, for those of ordinary skill in the art, without having to pay creative labor, can also be according to this
A little accompanying drawings obtain other accompanying drawings.
Fig. 1 is a kind of configuration flow figure for report template that this specification embodiment provides;
Fig. 2 is a kind of flow chart of the generation method for data report that this specification embodiment provides;
Fig. 3 is the structural representation for the tag processor that this specification embodiment provides;
Fig. 4 provides a kind of schematic diagram of the generating means of data report for this specification embodiment;
Fig. 5 is the schematic diagram for a kind of electronic equipment that this specification embodiment provides.
Embodiment
It is real below in conjunction with this specification to make the purpose, technical scheme and advantage of this specification embodiment clearer
The accompanying drawing in example is applied, the technical scheme in this specification embodiment is clearly and completely described, it is clear that described reality
It is this specification part of the embodiment to apply example, rather than whole embodiments.It is general based on the embodiment in this specification, this area
The every other embodiment that logical technical staff is obtained under the premise of creative work is not made, belong to this specification protection
Scope.
A kind of generation method of data report, device and electronic equipment are provided in this specification embodiment, it is existing for solving
Have and report producing efficiency low technical problem in technology, improve the efficiency that report makes.
In order to facilitate understanding, this specification embodiment is first said to the everyday expressions being related in this specification embodiment
It is bright:
Report:A kind of set of the contents such as data, word, form, figure, reflect the synthesis of a special scenes or work
Situation.
Report template:Form, content, the element of mark and solidification report composition, report can be converted to after template parsing.
Reporting tag:Represent that variable element (includes but is not limited in report template:Data, word, form, figure etc.)
Placeholder.These placeholders are read when parsing report template, call the tag processor (being introduced below) of label to carry out at content
Reason (includes but is not limited to:Data calculating, picture and text conversion, chart production etc.), the result of processing (includes but is not limited to:Data, text
Word, form, figure etc.) placeholder is replaced, turn into a part for report.
Tag definition:The processing logic of a kind of reporting tag is characterized, at abstract name, label comprising a kind of label example
Parameter, output result type required for reason device, tag processor.Generally there are multiple similar label examples in one report,
For example can have multiple pie charts, the processing logic of these pie charts is probably similar, then input, the output of these label examples
It is exactly similar, a type of label is defined as this, is easy to manage and uses.
Template parameter:Also known as global parameter, sphere of action are labels all in report template, and reporting tag can use
The tag parameter (being introduced below) of itself, template parameter can also be used.
Tag parameter:The parameter that i.e. reporting tag uses.The sphere of action of tag parameter is only in this label, if reporting mould
Template parameter is configured with plate, label can also preferentially use template parameter, otherwise using tag parameter.
Tag processor:The corresponding tag processor of one tag definition, the effect of this processor is according to input
Parameter, computing is carried out according to specific processing logic, is obtained a result.Tag processor is the core of tag definition.
Below in conjunction with the accompanying drawings to the main realization principle of this specification embodiment technical scheme, embodiment and its right
The beneficial effect that should be able to reach is explained in detail.
This specification embodiment provides a kind of new report template, and this report template is by reporting tag and solidification element group
Into.Solidify the contents such as the overall style, segment word, picture, form that element can be report template, being can not in report template
The element of change.For element variable in report template, this specification embodiment is by reporting tag come to each variable element
Carry out occupy-place.The corresponding tag definition of one reporting tag is business processing logic and performs the mark of the business processing logic
Sign processor.Wherein, this specification embodiment is not intended to limit the specific presentation mode of tag definition, can by method function,
The forms such as class are presented.Tag definition is that business processing logic can include:The processing logic of pie chart (pei chart), line
The processing logic of shape chart (line chart) and the processing logic of statistical graph (table chart) etc..User is making
When making data report, it is only necessary to carry out reporting tag, global parameter configuration, the typing of business datum, calculating, conversion etc. by
Tag processor is completed, and greatly improves producing efficiency.
Fig. 1 is refer to, the configuration process configured for user to report template:
S11:The report template that parsing user chooses.When parsing report template, mainly variable element in report template is entered
Row parses and obtains these variable elements, including:Reporting tag, tag parameter, global parameter etc..
S12:Reporting tag is configured.The configuration of reporting tag includes:Configuration to tag parameter, delete report mark
Label, the position replaced reporting tag, adjust reporting tag, association reporting tag etc..Wherein, association reporting tag includes position
Association associates with processing.Position is associated as position of the reporting tag in report template and existed to specify on such as adjacent, at a distance of N
Individual label etc..Processing is associated as the place of tag processor label when handling business datum corresponding to two labels
It is related to another result to manage result.
Specifically, it can respond user configuration operation when user performs configuration operation to report template, obtain and open up
In existing report template reporting tag (can with all reporting tags in report template or one or more
Reporting tag), a reporting tag configured for user to needs configures.Further, user is obtained to reporting tag
First configuration operation, the including but not limited to operation such as deletion, addition, replacement, association.After getting the first configuration operation, response
The first configuration operation configures to reporting tag corresponding to the operation, and then based on configuration result updating record template.
In specific implementation process, user may configure respectively to multiple reporting tags, now need to only repeat S12.
S13:The global parameter of report template is configured.The global parameter of global report's template includes but is not limited to report
Accuse the color of background, picture, form etc..
Specifically, configuration operation of the response user to report template, obtains and shows global parameter corresponding to configuration operation;
Second configuration of the user to global parameter is obtained to operate;The configuration operation of response second configures to its corresponding global parameter.
When being configured to global parameter, the occurrence of global parameter can be changed, the rgb value X1 of background color is such as revised as X2.
Likewise, global parameter may also include multiple parameters, user can configure to multiple global parameter branches, electronic equipment
The global parameter configured to needs repeats S13.
Specification is needed, in no particular order, user first can configure to reporting tag for S12 and S13 execution,
First global parameter can be configured.Global parameter can be quoted during tag parameter in configuration report label.
In completion report template with postponing, user can be to perform generation operation to report template, and electronic equipment can ring
Using report generation instruction corresponding to the generation operation generation at family.Certainly, user can also configure without report template, directly
Generation operation is performed, the corresponding volume report generation instruction of now electronic equipment generation, based on the initial parameter next life in report template
Into report.
Fig. 2 is refer to, the embodiment of the present application provides a kind of generation method of data report, including:
S21:Report generation instruction is responded, obtains report template corresponding to the instruction, and obtain the report template
In reporting tag and global parameter;
S22:The reporting tag is parsed, obtains tag processor corresponding to the reporting tag;
S23:The tag processor is performed, based on tag parameter corresponding to the reporting tag and the global parameter,
Obtain business datum and processing is carried out to the business datum and obtain result;
S24:Target reporting is generated according to the result and exported.
In specific implementation process, report template can be realized by html language, can also by java language come
Realize, this specification embodiment is not intended to limit the programming language of report template.Report template can be stored in data after editting
In order to calling in the table of storehouse.As shown in following table one, the table structure of the report template to be stored in database table defines example:
Table one
Template content template_content in report template includes multiple reporting tags and global parameter.Each report
Accusing label can be directly stored in report template, can also store and report template in database table and corresponding reporting tag
Id (identity, identity) is associated, as label id is included in template_content:377、387、389、392
Etc..The mode associated using report template with reporting tag id, the flexibility of report template can be effectively improved, to reporting mould
When reporting tag in plate carries out the operation such as deletion addition, replacement, directly reporting tag id can be operated, it is simple fast
It is prompt.Reporting tag is directly stored in database table, and the definition of its table result can be as shown in following table two:
Table two
Likewise, global parameter is stored in report template or database table.Global parameter is stored in database
When in table, the definition of its table structure can be as shown in following table three:
Table three
The reporting tag and global parameter in report template corresponding to S21 acquisition report generation instructions are performed, from report mould
Reporting tag and global parameter are directly obtained in plate, or, the id of reporting tag and global parameter in report template from
Reporting tag and global parameter are obtained in database table.
Further, S22 parsing reporting tags are performed, obtain tag processor corresponding to reporting tag.Tag processor
It is stored in tag definition, such as the table structure of four tag definitions of following table.When reporting tag is parsed for this, first parsing is reported
Tag definition corresponding to label, then obtains tag processor from tag definition.
Table four
Tag processor uses standard interface, encapsulates the business processing logic code of reporting tag, for handling engine calling
Finishing service data processing.The structure of tag processor is as shown in figure 3, tag processor uses standard interface
ReportTagProcessor and business processing logic doBusiness mode realize that specific business processing logic method exists
Realized in doBusiness.According to the demand of data reporting, define different tag definitions and handle logic, also just have different
Tag processor, the implementation of tag processor is simplified, improve the execution efficiency of tag processor.
After S22 gets tag processor, S23 is performed:Tag processor is performed, is joined based on label corresponding to reporting tag
Number and global parameter, obtain business datum and processing acquisition result is carried out to business datum.Label corresponding to reporting tag
Parameter can obtain when parsing reporting tag, can also be obtained when performing tag processor, the table structure of tag parameter is determined
Justice is as shown in following table five:
Table five
When performing tag processor, first obtained based on data acquisition address corresponding to reporting tag and data acquisition type
Business datum;Then, the business processing logic according to corresponding to reporting tag obtains reporting tag is tag definition;Marked based on report
The global parameter of tag parameter corresponding to label and report template, it is business processing logic to perform tag processor according to tag definition
Processing is carried out to the business datum got and obtains result.Industry is realized based on data acquisition address and data acquisition type
The automatic acquisition for data of being engaged in, realize the automatic input of business datum, it is no longer necessary to which user is manually entered, and is greatly reduced
The time cost of data report is made, improves production effect.Data acquisition address can point to database, can also point to it
Some server on the specified folder of its storage location, such as electronic equipment, internet.
In specific implementation process, the processing to business network data needs to refer to following factor:The value of tag parameter, association mark
The interrelational form of label.Tag parameter can quote global parameter, and whether the value of tag parameter can then have using global parameter with it
Close.When being handled according to tag definition business datum, the target whether being configured with tag parameter in global parameter is judged
Parameter;If so, using the value of target component according to business processing corresponding to reporting tag during tag processor is performed
Logic carries out processing to business datum and obtains result.If it is not, then using the value of tag parameter come to business datum
Reason obtains result.
The interrelational form of correlation tag includes position association and associated with processing.Shadow will be produced to result by handling association
Ring, because when handling business datum, it is necessary to which judge to whether there is in report template has processing to associate with reporting tag
Correlation tag;If so, obtain the result of correlation tag;Place based on tag parameter, global parameter and correlation tag
Result is managed, processing is carried out to business datum corresponding to reporting tag and obtains result.Such as:By the result of correlation tag
Input parameter when being handled as associated tagged traffic is handled together with business datum.The energy by way of handling and associating
The enough repeatability for effectively reducing business data processing so that when the tag processor of associated reporting tag performs, eliminate
The implementation procedure of the tag processor of correlation tag, and then improve treatment effeciency.
After S23 obtains result, perform S24 and target reporting is generated according to the result of acquisition and exported.This theory
The reporting tag that bright book embodiment provides is the placeholder of variable element in report template, marks report when generating target reporting
Label replace with the result of corresponding label processor.When having performed the replacement of all absolute altitude labels, that is, complete mesh
Mark the making of report.The reporting tag included in report template there is likely to be position association, during target reporting is exported,
First obtain the position related information in report template between reporting tag;According to its position related information output target reporting, make
Position in the target reporting that must be exported between each result meets the position incidence relation between reporting tag.Target report
The output of announcement can be shown by electronic equipment, can also be shown by browser.
In the above-described embodiments, by way of template+label, allow the form of report, the access of data and processing logic
All it is fixed up, only need to once configures, subsequently only need to trigger, can just generates complete report, substitute manual mode completely,
Substantially increase producing efficiency.Also, the above-mentioned unlimited application scenarios of data report generation method that this specification embodiment provides,
Also unlimited data source, realize simply, repeat using the report made particularly with periodicity, substantially increase and make effect
Rate.Further, in above-described embodiment by way of tag processor, by standard interface and tag definition come finishing service number
According to processing, no matter user want to make the report of what pattern, can be by simply with postponing life using what kind of data
Into flexibility is strong.
Fig. 4 is refer to, a kind of generation method for data report that this specification embodiment is provided based on above-described embodiment, is gone back
Corresponding to provide a kind of generating means of data report, the device includes:
Acquiring unit 41, for responding report generation instruction, report template corresponding to the instruction is obtained, and obtain institute
State the reporting tag and global parameter in report template;
Resolution unit 42, for parsing the reporting tag, obtain tag processor corresponding to the reporting tag;
Processing unit 43, for performing the tag processor, based on tag parameter corresponding to the reporting tag and institute
Global parameter is stated, business datum is obtained and processing acquisition result is carried out to the business datum;
Generation unit 44, for generating target reporting according to the result and exporting.
As an alternative embodiment, the process that the processing unit 43 carries out business data processing can be:Hold
The row tag processor, the business is obtained based on data acquisition address corresponding to the reporting tag and data acquisition type
Data;The business processing logic according to corresponding to the reporting tag obtains the reporting tag;Based on the tag parameter and institute
Global parameter is stated, processing is carried out to the business datum according to the business processing logic and obtains result.
As an alternative embodiment, the processing unit 43 carries out the process of business data processing, it can be determined that
The target component whether being configured with the tag parameter in the global parameter;If so, performing the tag processor
During the business datum handled according to the business processing logic using the value of the target component
As a result.Wherein, the business processing logic includes:The processing logic of pie chart, the processing logic of line chart and statistics
The processing logic of chart.
The reporting tag that this specification embodiment provides is the placeholder of variable element in the report template.Generation
Unit 44 can generate target reporting in the following way and export:The reporting tag in the report template is replaced with
The result, generate the target reporting and export.
As an alternative embodiment, the generation unit 44 can also obtain reporting tag in the report template
Between position related information;The reporting tag in the report template is replaced with into the result, and according to institute
Rheme puts related information and generates the target reporting and export.
As an alternative embodiment, the processing unit 43 is used for:The tag processor is performed, described in judgement
It whether there is the correlation tag for thering is processing to associate with the reporting tag in report template;If so, obtain the correlation tag
Result;Based on the result of the tag parameter, the global parameter and the correlation tag, the business is obtained
Data simultaneously carry out processing acquisition result to the business datum.
As an alternative embodiment, described device also includes:Label dispensing unit 45, global parameter dispensing unit
46.Label dispensing unit 45 is used for:Configuration operation of the user to report template is responded, obtains and shows that the configuration operation is corresponding
Report template in reporting tag;First configuration of the user to the reporting tag is obtained to operate;Respond first configuration
Operation configures to the reporting tag, and updates the reporting tag based on configuration result.Global parameter dispensing unit 46
For:Configuration operation of the user to report template is responded, obtains and shows global parameter corresponding to the configuration operation;Obtain and use
Second configuration of the family to the global parameter operates;The second configuration operation is responded to the overall situation in the reporting objectives
Parameter is configured.
On the device in above-described embodiment, wherein unit performs the concrete mode of operation in method
It is described in detail in embodiment, no longer elaborates herein.
Fig. 5 is refer to, is a kind of generation method for being used to realize data report according to an exemplary embodiment
The block diagram of electronic equipment 500.For example, electronic equipment 500 can be computer, and database console, tablet device, individual digital
Assistant etc..
Reference picture 5, electronic equipment 500 can include following one or more assemblies:Processing component 502, memory 504,
Power supply module 506, multimedia groupware 508, the interface 510 of input/output (I/O), and communication component 512.
The integrated operation of the usual control electronics 500 of processing component 502, such as grasped with display, data communication, and record
Make associated operation.Treatment element 502 can carry out execute instruction including one or more processors 520, above-mentioned to complete
The all or part of step of method.In addition, processing component 502 can include one or more modules, it is easy to the He of processing component 502
Interaction between other assemblies.
Memory 504 is configured as storing various types of data to support the operation in equipment 500.These data are shown
Example includes the instruction of any application program or method for being operated on electronic equipment 500, contact data, telephone directory number
According to, message, picture, video etc..Memory 504 can by any kind of volatibility or non-volatile memory device or they
Combination realize, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) are erasable
Programmable read only memory (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, quick flashing
Memory, disk or CD.
Power supply module 506 provides electric power for the various assemblies of electronic equipment 500.Power supply module 506 can include power supply pipe
Reason system, one or more power supplys, and other components associated with generating, managing and distributing electric power for electronic equipment 500.
I/O interfaces 510 provide interface between processing component 502 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock
Determine button.
Communication component 512 is configured to facilitate the communication of wired or wireless way between electronic equipment 500 and other equipment.
Electronic equipment 500 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.Show at one
In example property embodiment, communication component 512 receives broadcast singal or broadcast from external broadcasting management system via broadcast channel
Relevant information.In one exemplary embodiment, the communication component 512 also includes near-field communication (NFC) module, short to promote
Cheng Tongxin.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module
(UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, electronic equipment 500 can be by one or more application specific integrated circuits (ASIC), number
Word signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided
Such as include the memory 504 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 520 of electronic equipment 500.Example
Such as, the non-transitorycomputer readable storage medium can be ROM, it is random access memory (RAM), CD-ROM, tape, soft
Disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal
When device performs so that electronic equipment is able to carry out a kind of generation method of data report, and methods described includes:
Report generation instruction is responded, obtains report template corresponding to the instruction, and obtain in the report template
Reporting tag and global parameter;The reporting tag is parsed, obtains tag processor corresponding to the reporting tag;Described in execution
Tag processor, based on tag parameter corresponding to the reporting tag and the global parameter, obtain business datum and to described
Business datum carries out processing and obtains result;Target reporting is generated according to the result and exported.
It should be appreciated that the invention is not limited in the precision architecture for being described above and being shown in the drawings, and
And various modifications and changes can be being carried out without departing from the scope.The scope of the present invention is only limited by appended claim
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent substitution and improvements made etc., it should be included in the scope of the protection.