CN104616134A - Statement analysis report pushing method and device - Google Patents

Statement analysis report pushing method and device Download PDF

Info

Publication number
CN104616134A
CN104616134A CN201510035979.0A CN201510035979A CN104616134A CN 104616134 A CN104616134 A CN 104616134A CN 201510035979 A CN201510035979 A CN 201510035979A CN 104616134 A CN104616134 A CN 104616134A
Authority
CN
China
Prior art keywords
mail
report
push task
mail push
statement analysis
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
Application number
CN201510035979.0A
Other languages
Chinese (zh)
Other versions
CN104616134B (en
Inventor
李军涛
吴元平
张鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201510035979.0A priority Critical patent/CN104616134B/en
Publication of CN104616134A publication Critical patent/CN104616134A/en
Application granted granted Critical
Publication of CN104616134B publication Critical patent/CN104616134B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/107Computer-aided management of electronic mailing [e-mailing]

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Data Mining & Analysis (AREA)
  • Economics (AREA)
  • Computer Hardware Design (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

An embodiment of the invention discloses a statement analysis report pushing method and a statement analysis report pushing device. The method comprises the following steps: obtaining the e-mail pushing task to be executed at this time; extracting the report configuration information included in the extracted e-mail pushing task; obtaining the real time report data based on the extracted report configuration information and using the report data to obtain the report; and building the report analyzing report according to the report and pushing the report analyzing report according to the e-mail transmitting mode. According to the technical scheme, the report analyzing report can be intelligently pushed, the pushing speed is faster, the degree of accuracy is high and the flexibility and reusability of the report analyzing report can be improved.

Description

A kind of statement analysis report method for pushing and device
Technical field
The embodiment of the present invention relates to field of computer technology, particularly relates to a kind of statement analysis report method for pushing and device.
Background technology
In today of internet high speed development, no matter be government, enterprise, even social every aspect, at every moment all huge change occurring.And the data formation report of catching these changes seems particularly important.Especially enterprise, various report data discloses the financial position of enterprise's regular period, management performance and cash flow, be conducive to the performance that managerial personnel understand each task index of unit, the operation result of evaluation management personnel, so that Timeliness coverage problem, adjustment management direction, work out measures the level of improving management and administration, increase economic efficiency, for economy and decision-making provide foundation.
At present, in the prior art, the analysis report formed containing a series of form is all generally analyzed according to demand in advance by programmer, staticly one by one to design, there is corresponding business personnel to carry out processing typesetting again and form analysis report, send to relevant people by mailing system is manual afterwards.
But there is following defect in above-mentioned prior art: need manually regularly to participate in, can personnel time be taken, waste of manpower resource, and easy situation statement analysis occurring and reports that leakage is sent out or mistake is sent out; The analysis report generated is all generally disposable, can not accomplish to reuse and real-time exhibition; Workload is large, and the duplication of labour, is just equivalent to the most ancient typography the same, often forms a analysis report, must again customize (again cutting blocks for printing), for very loaded down with trivial details concerning business personnel; Very flexible, if client in use needs amendment, programmer must revise source code.
Summary of the invention
The embodiment of the present invention provides a kind of statement analysis to report method for pushing and device, and can realize the intelligently pushing to statement analysis report, its pushing speed is very fast, and accuracy is high, and can improve dirigibility and the reusability of statement analysis report.
On the one hand, embodiments provide a kind of statement analysis report method for pushing, the method comprises:
Obtain the mail push task that this is pending;
Extract the form configuration information comprised in the mail push task obtained;
Based on the form configuration information extracted, Real-time Obtaining report data, and utilize described report data to obtain form;
Create statement analysis report according to the form obtained, and carried out the propelling movement of described statement analysis report by the mode of mail sending.
Preferably, before this pending mail push task of acquisition, also comprise:
Display mail push task configuration interface, obtains the first input instruction acted on described mail push task configuration interface, generates mail push task according to described first input instruction;
Wherein, the mail push task of generation comprises: mail push task identification, propelling movement time, the form configuration information inserted and addressee information.
Preferably, before display mail push task configuration interface, also comprise:
Display form configuration interface, obtains the second input instruction acted on described form configuration interface, according to described second input instruction generating report forms configuration information; Wherein, the form configuration information of generation comprises: report mark, report form type and report data source access interface;
Based on the form configuration information extracted, Real-time Obtaining report data, and utilize described report data to obtain form, comprising:
Based on the report data source access interface in the form configuration information extracted, Real-time Obtaining report data;
According to the report form type in the form configuration information extracted, convert described report data to form.
Preferably, after generation mail push task, before this pending mail push task of acquisition, also comprise:
Search in generated all mail push tasks, the propelling movement time comprises the mail push task identification of current time; By all mail push task identifications found, form an array;
Obtain the mail push task that this is pending, comprising:
Travel through described array, by the current mail push task identification traversed, push task identification as targeted mails;
Obtain in all mail push tasks generated, be designated the mail push task that described targeted mails pushes task identification, as the mail push task that this is pending.
Preferably, after this pending mail push task of acquisition, also comprise:
Detect the executive condition comprised in this pending mail push task whether to be satisfied;
If so, the operation of the form configuration information comprised in the mail push task extracted and obtain is performed.
Preferably, after the mode by mail sending carries out the propelling movement of described statement analysis report, also comprise:
If push unsuccessfully, then detect failure cause;
When described failure cause is the default reason be associated with Mail Contents, push the exception mail preset;
When described failure cause is the default reason be associated with communication network, again carried out the retry propelling movement of described statement analysis report by the mode of mail sending.
On the other hand, the embodiment of the present invention additionally provides a kind of statement analysis report pusher, and this device comprises:
Mail push task acquiring unit, for obtaining this pending mail push task;
Form configuration information extraction unit, for extracting the form configuration information comprised in obtained mail push task;
Statement analysis report obtains unit, for based on the form configuration information extracted, and Real-time Obtaining report data, and utilize described report data to obtain form;
Statement analysis report push unit, for creating statement analysis report according to the form obtained, and carries out the propelling movement of described statement analysis report by the mode of mail sending.
Further, described device also comprises: mail push task generation unit, for showing mail push task configuration interface, obtaining the first input instruction acted on described mail push task configuration interface, generating mail push task according to described first input instruction;
Wherein, the mail push task of generation comprises: mail push task identification, propelling movement time, the form configuration information inserted and addressee information.
Further, described device also comprises:
Form configuration information generation unit, for showing form configuration interface, obtains the second input instruction acted on described form configuration interface, according to described second input instruction generating report forms configuration information; Wherein, the form configuration information of generation comprises: report mark, report form type and report data source access interface;
Described statement analysis report obtains unit, specifically for:
Based on the report data source access interface in the form configuration information extracted, Real-time Obtaining report data;
According to the report form type in the form configuration information extracted, convert described report data to form.
Further, described device also comprises:
Array generation unit, for searching in all mail push tasks that described mail push task generation unit generates, the propelling movement time comprises the mail push task identification of current time; By all mail push task identifications found, form an array;
Described mail push task acquiring unit, specifically for:
Travel through the array that described array generation unit obtains, by the current mail push task identification traversed, push task identification as targeted mails;
Obtain in all mail push tasks that described mail push task generation unit generates, be designated the mail push task that described targeted mails pushes task identification, as the mail push task that this is pending.
Further, described device also comprises:
Whether executive condition detecting unit, be satisfied for detecting the executive condition comprised in this pending mail push task of described mail push task acquiring unit acquisition;
Described form configuration information extraction unit, specifically for: be satisfied if the testing result that described executive condition detecting unit obtains is executive condition, then extract the form configuration information comprised in the mail push task obtained.
Further, described statement analysis report push unit, also for:
After the mode by mail sending carries out the propelling movement of described statement analysis report, if push unsuccessfully, then detect failure cause;
When described failure cause is the default reason be associated with Mail Contents, push the exception mail preset;
When described failure cause is the default reason be associated with communication network, again carried out the retry propelling movement of described statement analysis report by the mode of mail sending.
The technical scheme that the embodiment of the present invention provides, by obtaining report data, this report data is utilized to obtain form, and then create statement analysis report according to the form obtained, corresponding recipient is sent in the mode of mail sending, achieve the intelligently pushing to statement analysis report, its pushing speed is very fast, and accuracy is high.And, the mail push task of the embodiment of the present invention by generating in advance, automatically obtain current up-to-date report data, obtain statement analysis report, thus make user when wanting to revise the statement analysis report generated or the statement analysis report that customization is a new again, only mail push task be need reset, dirigibility and the reusability of statement analysis report therefore can well be improved.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of a kind of statement analysis report method for pushing that the embodiment of the present invention one provides;
Fig. 2 A is the schematic flow sheet of a kind of statement analysis report method for pushing that the embodiment of the present invention two provides;
Fig. 2 B is a kind of form configuration interface schematic diagram that the embodiment of the present invention two provides;
Fig. 2 C is a kind of mail push task configuration interface schematic diagram that the embodiment of the present invention two provides;
Fig. 3 is the schematic flow sheet of a kind of statement analysis report method for pushing that the embodiment of the present invention three provides;
Figure 4 shows that the structural representation of a kind of statement analysis report pusher that the embodiment of the present invention four provides.
Embodiment
Below in conjunction with drawings and Examples, the present invention is described in further detail.Be understandable that, specific embodiment described herein is only for explaining the present invention, but not limitation of the invention.It also should be noted that, for convenience of description, illustrate only part related to the present invention in accompanying drawing but not entire infrastructure.
Embodiment one
Fig. 1 is the schematic flow sheet of a kind of statement analysis report method for pushing that the embodiment of the present invention one provides.By statement analysis, the statement analysis report method for pushing that the present embodiment provides can report that pusher performs, described device can by software and/or hardware implementing.See Fig. 1, the statement analysis report method for pushing that the present embodiment provides specifically comprises following operation:
Operate 110, obtain this pending mail push task.
The form configuration information comprised in the mail push task that operation 120, extraction obtain.
Operation 130, based on the form configuration information extracted, Real-time Obtaining report data, and utilize report data to obtain form.
The form that operation 140, basis obtain creates statement analysis report, and is carried out the propelling movement of statement analysis report by the mode of mail sending.
In the present embodiment, multiple mail push task can be generated in advance.Each mail push task comprises: mail push task identification, propelling movement time, the form configuration information inserted and addressee information.Concrete, the propelling movement time can be a temporary time, and being such as 12:00 on January 1st, 2015, also can be the one-period time, such as every day 8:00,9:00 or monthly No. 10 etc. on every Mondays; The form configuration information inserted can be many form configuration informations, the corresponding form of every bar form configuration information.Exemplary, any bar form configuration information can specifically comprise: report mark, report form type and report data source access interface.
Wherein, report form type is the information describing report style, and such as report style can be line chart, histogram, dynamic table, common form, pie chart, radar map, bar figure, meter diagram, monitoring form or source whereabouts figure etc.; Report data source access interface is the access interface for obtaining report data, can be the access interface of database access interface or other application servers.For example, report data source access interface is the access interface of DUBBO service (Alibaba's independent research based on distributed service), the access interface of SAF service (the business datum interface service of Jingdone district independent research) or hbase access interface.
Obtain the mail push task that this is pending, can specifically comprise: travel through all mail push tasks generated in advance, search and wherein push the mail push task that the time comprises current time, as the mail push task that this is pending.Exemplary, if it is multiple for finding the mail push task that the propelling movement time comprises current time, can optional one of them mail push task, as the mail push task that this is pending; Or, choose the mail push task that multiple mail push task medium priorities of finding are the highest, as the mail push task that this is pending, in the case, when generating mail push task, the descriptor to priority can be included in mail push task, be such as high, in or low.
In the present embodiment, if the form configuration information extracted comprises: report mark, report form type and report data source access interface, then based on the form configuration information extracted, Real-time Obtaining report data, and utilize described report data to obtain form, can be specially: based on the report data source access interface in the form configuration information extracted, Real-time Obtaining report data; According to the report form type in the form configuration information extracted, convert described report data to form.Exemplary, report tableau format can be picture format.
After obtaining form, create statement analysis report according to this form, and by the mode of mail sending, carry out the propelling movement of statement analysis report.Exemplary, some additional configuration information (such as introducing the text descriptor of form) also can be comprised in this pending mail push task, based on these additional configuration information, portion can be created out and include the form statement analysis that both pictures and texts are excellent report, and then according to the addressee information in this pending mail push task, in the mode of mail, statement analysis report can be pushed to addressee.Certainly, those of ordinary skill in the art should be understood that and also can directly be reported as statement analysis by form.
The technical scheme that the present embodiment provides, by obtaining report data, this report data is utilized to obtain form, and then create statement analysis report according to the form obtained, corresponding recipient is sent in the mode of mail sending, achieve the intelligently pushing to statement analysis report, its pushing speed is very fast, and accuracy is high.And, the mail push task of the present embodiment by generating in advance, automatically obtain current up-to-date report data, obtain statement analysis report, thus make user when wanting to revise the statement analysis report generated or the statement analysis report that customization is a new again, only mail push task be need reset, dirigibility and the reusability of statement analysis report therefore can well be improved.
Embodiment two
Fig. 2 A is the schematic flow sheet of a kind of statement analysis report method for pushing that the embodiment of the present invention two provides.The present embodiment, on the basis of above-described embodiment one, further increases the operation of generating report forms configuration information and mail push task.See Fig. 2 A, the statement analysis report method for pushing that the present embodiment provides specifically comprises following operation:
Operation 210, display form configuration interface, obtain the second input instruction acted on form configuration interface, according to the second input instruction generating report forms configuration information.
In the present embodiment, by the mode of man-machine interaction, obtain form configuration information.Concrete, can be pre-created a form configuration interface, this interface is human-computer interaction interface, wherein includes the configuration item of report mark (being such as report name), report form type and report data source access interface.After the request triggered form configuration being detected, show the form configuration interface be pre-created, configure form accordingly for user; Receive effect on the surface namely the user of configuration item is arranged to instruction (also second input instruction) after, a form configuration information can be obtained according to this instruction.Wherein, the form configuration information of generation comprises: report mark, report form type and report data source access interface.If user wants to configure multiple form, can repeated trigger request that form is configured, then by multiple exercise operation 210, generate many form configuration informations.
Fig. 2 B is a kind of form configuration interface schematic diagram that the embodiment of the present invention two provides.See Fig. 2 B, the form configuration interface that the present embodiment provides, also can comprise further: display form (as form arranges displaying column information, figure arranges X, Y-axis exhibition information) of the configuration information of form expired time, data buffer storage, position (memory location of the report data also namely got), business demand side, form general introduction, report query conditions and form etc.
Operation 220, display mail push task configuration interface, obtain the first input instruction acted on mail push task configuration interface, generate mail push task according to the first input instruction, wherein mail push task agent is containing the form configuration information inserted to some extent.
Accordingly, the present embodiment, still by the mode of man-machine interaction, configures mail push task.Concrete, a mail push task configuration interface can be pre-created, this interface is human-computer interaction interface, wherein includes the configuration item of mail push task identification (being such as mail push task names), propelling movement time, the form configuration information inserted and addressee information.After the request triggered the configuration of mail push task being detected, show the mail push task configuration interface be pre-created, configure mail push task accordingly for user; Receive effect on the surface namely the user of configuration item is arranged to instruction (also first input instruction) after, a mail push task can be obtained according to this instruction.Wherein, the mail push task of generation comprises: mail push task identification, propelling movement time, the form configuration information inserted and addressee information.If user wants to configure multiple mail push task, can repeated trigger request that mail push task is configured, then by multiple exercise operation 220, generate multiple mail push task.
Fig. 2 C is a kind of mail push task configuration interface schematic diagram that the embodiment of the present invention two provides.See Fig. 2 C, namely the mail push task configuration interface that the present embodiment provides, also can comprise further: priority, executive condition (also task scheduling), whether attach the configuration item of annex, mail imposition layout, mail matter topics, the text descriptor of form inserted for place of matchmakers, people's information of making a copy for and close information etc. of making a gift to someone.And then, by the configuration information to these configuration items, can be added into as the part in mail push task.
Exemplary, executive condition can specifically comprise: other Processing tasks mark of the mail push Task Dependent configured.Before performing the mail push task configured, only detect that the task of other Processing tasks mark correspondence comprised in executive condition is in the state of being finished, this executive condition is just satisfied.Certainly, also can the time-out time corresponding with executive condition be set further.Before performing the mail push task configured, if detect that the task of other Processing tasks mark correspondence comprised in executive condition is not in the state of being finished completely, then can wait for described time-out time, and then detect, again detect task corresponding to other Processing tasks mark of comprising in executive condition be in be finished state time, this executive condition also can be regarded as meeting.
In the present embodiment, rich text completely can be adopted to carry out the configuration of mail push task, the imposition layout of mail can be configured.If when the form configuration information inserted is many, also configurable Report layouts.Exemplary, receive the imposition layout to mail, mail matter topics, the text descriptor of form inserted for place of matchmakers, the form configuration information inserted, Report layouts, addressee information, people's information of making a copy for and close information of making a gift to someone configuration item instruction is set after, instruction can be set generate a mail sending template according to this.
Concrete, this mail sending template comprises: addressee information, people's information of making a copy for and close information of making a gift to someone, mail matter topics, message body (comprising the report mark in inserted form configuration information and the text descriptor for the form of place of matchmakers's insertion).In addition, the exhibition position symbol etc. of some times can also be configured in message body.Wherein, the full content that message body comprises can be regarded as a statement analysis report template.It should be noted that, the report mark in the form configuration information that message body inserts is exhibition position template, and when mail push time, the report mark of insertion can be utilized the form that Real-time Obtaining report data obtains and replaced.
All mail push tasks that operation 230, traversal generate, obtain the mail push task that this is pending.
The present embodiment one preferred embodiment in, mail push task comprises executive condition, accordingly, acquisition this pending mail push task after, also comprise:
Detect the executive condition comprised in this pending mail push task whether to be satisfied;
If so, the operation of the form configuration information comprised in the mail push task extracted and obtain is performed.
If not, search in mail push task whether the time-out time corresponding with executive condition comprised is zero, if, process ends, otherwise after the described time-out time of wait, again detect the executive condition comprised in this pending mail push task whether to be satisfied, if so, perform the operation of the form configuration information comprised in the mail push task extracted and obtain.
The form configuration information comprised in the mail push task that operation 240, extraction obtain.
Operation 250, based on the report data source access interface in the form configuration information extracted, Real-time Obtaining report data.
Operate 260, according to the report form type in the form configuration information extracted, convert report data to form.
The form that operation 270, basis obtain creates statement analysis report, and is carried out the propelling movement of statement analysis report by the mode of mail sending.
In the present embodiment, after obtaining form, described form can be replaced corresponding report mark in the statement analysis report template generated according to this pending mail push task in advance, thus will the mail sending template instances of statement analysis report template be included, obtain an envelope mail, push.
The technical scheme of the present embodiment, in the mode of man-machine interaction, create the multiple mail push tasks including form configuration information, user can be made when wanting to revise the statement analysis report generated or the statement analysis report that customization is a new again, only need reconfigure mail push task, without the need to developer again modeling, therefore simple and convenient easy-to-use, dirigibility and the reusability of statement analysis report can well be improved.
Embodiment three
Fig. 3 is the schematic flow sheet of a kind of statement analysis report method for pushing that the embodiment of the present invention three provides.The present embodiment, based on above-described embodiment, provides a kind of preferred embodiment.The present embodiment, when performing statement analysis report and pushing, adopts quartz management and dispatching, repeats to push to prevent mail.See Fig. 3, the statement analysis report method for pushing that the present embodiment provides specifically comprises following operation:
Operate 300, judge whether the switch of mail push is opened.
If so, then executable operations 301, otherwise process ends.
Operation 301, search in all mail push tasks of generating in advance, the propelling movement time comprises the mail push task identification of current time, by all mail push task identifications found, forms an array.
Operate 302, travel through described array, judge whether that traversal is complete.If so, process ends, otherwise executable operations 303.
Operate 303, by the current mail push task identification traversed, push task identification as targeted mails.
In the present embodiment, if include the configuration information of priority in mail push task, then the storage order of each mail push task identification in array, can be priority order from high to low, or is order from low to high.When traveling through array, first travel through from the mail push task identification that priority is the highest.
In all mail push tasks that operation 304, acquisition generate in advance, be designated the mail push task that targeted mails pushes task identification.
Operation 305, judgement obtain success or not.If so, then executable operations 306; Otherwise, return operation 302 and continue traversal array.
Operation 306, the mail push task that will get, as the mail push task that this is pending, and the executing state recording this mail push task in the daily record be pre-created is for be performed state.
Operate 307, identify whether this pending mail push task can be performed.
Exemplary, operation 307 is specially:
Judge whether the executive condition of this pending mail push task is satisfied;
If so, then identify that this pending mail push task can be performed;
If not, then judge whether mail push task comprises the time-out time be associated with executive condition further;
If judge that mail push task comprises the time-out time be associated with executive condition, then the wait timeout time, again judge whether the executive condition of this pending mail push task is satisfied; If, then identify that this pending mail push task can be performed, otherwise identify that this pending mail push task can not be performed, this recognition result is recorded in the daily record be pre-created, and the 3rd thread pool by presetting, according to the addressee information in the mail push task that this is pending, push exception mail;
If judge that mail push task does not comprise the time-out time be associated with executive condition, then identify that this pending mail push task can not be performed, the executing state recording this mail push task in the daily record be pre-created is non-executing state, this the pending mail push task got is put back in all mail push tasks generated in advance, after sleep setting duration (being such as 6 seconds), wait for next time to the search operation of all mail push tasks generated in advance.
Wherein, executive condition can specifically comprise: other Processing tasks mark that mail push task relies on.Judge whether the executive condition of this pending mail push task is satisfied, and is specially: extract other Processing tasks mark comprised in the executive condition of this pending mail push task; Detect and get other Processing tasks and identify corresponding Processing tasks and whether be all finished.
If operation 308 identifies that this pending mail push task can be performed, extract the form configuration information comprised in the mail push task obtained.
Operation 309, based on the form configuration information extracted, Real-time Obtaining report data, and utilize report data to obtain form.
The form that operation 310, basis obtain creates statement analysis report.
In the present embodiment, when executable operations 308, if also comprise the configuration information of whether attaching annex in this pending mail push task, then need to extract this configuration information, to make when executable operations 309, can when this configuration information be for being accompanied with annex, the report generation annex will obtained further.Then, according to the statement analysis report created and the annex generated, an envelope mail is obtained.
Operate 311, according to the addressee information in this pending mail push task, carried out the propelling movement of statement analysis report by the mode of mail sending.
In a kind of preferred implementation of the present embodiment, after the mail of establishment is pushed, also comprise:
If push successfully, the executing state recording this mail push task in the daily record be pre-created, for be performed state, to return operation 302 and continues traversal array.
If push unsuccessfully, then detect failure cause;
When described failure cause is default reason (such as the Mail Contents mistake or abnormal) that is associated with Mail Contents, push the exception mail preset, and in the daily record be pre-created, record this mail push task push unsuccessfully, return operation 302 and continue traversal array;
When described failure cause is default reason (such as communication network breaks down) that is associated with communication network, again carry out trial to the mail created to push, if push successfully, the executing state of this mail push task is recorded for be performed state in the daily record be pre-created, return operation 302 and continue traversal array, otherwise recording this mail push task in the daily record be pre-created pushes unsuccessfully, and push the exception mail preset, return operation 302 and continue traversal array.
In the present embodiment, carry out executable operations 304-operation 308 by the first thread pool (being also mission thread pond) preset, and operation 310; Executable operations 309 is carried out by the second thread pool (being also form thread pool) preset; Executable operations 311 is carried out by the 3rd thread pool (being also mail push thread pool) preset.
On the basis of technique scheme, also can be the configuration item that arbitrary mail push task generates an initiate mode or closed condition, when the initiate mode in this configuration item is set to be, or when closed condition is set to no, just perform the automatic push function to this mail push task that the present embodiment provides.
The technical scheme that the present embodiment provides, statement analysis public lecture is pushed to user by real-time, just as daily paper, thus makes user can see up-to-date report data every day; The generation of statement analysis report becomes very simple, only needs simple mail push task to configure and can generate the statement analysis report that both pictures and texts are excellent; Eliminate programmer or a series of customized treatment process of business personnel; The statement analysis report generated can be revised flexibly, only needs the configuration item that amendment is corresponding; The mail sending mode of high flexible is adopted to carry out the propelling movement of statement analysis report; Not only support the generation of statement analysis report, also attach e-mail transmitting function flexibly simultaneously, simplify the workflow of client, greatly increase the work efficiency of client.
Embodiment four
Figure 4 shows that the structural representation of a kind of statement analysis report pusher that the embodiment of the present invention four provides.See Fig. 4, the concrete structure of this device is as follows:
Mail push task acquiring unit 410, for obtaining this pending mail push task;
Form configuration information extraction unit 420, for extracting the form configuration information comprised in obtained mail push task;
Statement analysis report obtains unit 430, for based on the form configuration information extracted, and Real-time Obtaining report data, and utilize described report data to obtain form;
Statement analysis report push unit 440, for creating statement analysis report according to the form obtained, and carries out the propelling movement of described statement analysis report by the mode of mail sending.
Exemplary, the device that the present embodiment provides also comprises: mail push task generation unit 404, for showing mail push task configuration interface, obtaining the first input instruction acted on described mail push task configuration interface, generating mail push task according to described first input instruction;
Wherein, the mail push task of generation comprises: mail push task identification, propelling movement time, the form configuration information inserted and addressee information.
Exemplary, the device that the present embodiment provides also comprises:
Form configuration information generation unit 400, for showing form configuration interface, obtains the second input instruction acted on described form configuration interface, according to described second input instruction generating report forms configuration information; Wherein, the form configuration information of generation comprises: report mark, report form type and report data source access interface;
Described statement analysis report obtains unit 430, specifically for:
Based on the report data source access interface in the form configuration information extracted, Real-time Obtaining report data;
According to the report form type in the form configuration information extracted, convert described report data to form.
Exemplary, the device that the present embodiment provides also comprises:
Array generation unit 408, for searching in all mail push tasks that described mail push task generation unit 404 generates, the propelling movement time comprises the mail push task identification of current time; By all mail push task identifications found, form an array;
Described mail push task acquiring unit 410, specifically for:
Travel through the array that described array generation unit 408 obtains, by the current mail push task identification traversed, push task identification as targeted mails;
Obtain in all mail push tasks that described mail push task generation unit 404 generates, be designated described targeted mails and push task identification, as the mail push task that this is pending.
Exemplary, the device that the present embodiment provides also comprises:
Whether executive condition detecting unit 415, be satisfied for detecting the executive condition comprised in this pending mail push task of described mail push task acquiring unit 410 acquisition;
Described form configuration information extraction unit 420, specifically for: be satisfied if the testing result that described executive condition detecting unit 415 obtains is executive condition, then extract the form configuration information comprised in the mail push task obtained.
On the basis of technique scheme, described statement analysis report push unit 440, also for:
After the mode by mail sending carries out the propelling movement of described statement analysis report, if push unsuccessfully, then detect failure cause;
When described failure cause is the default reason be associated with Mail Contents, push the exception mail preset;
When described failure cause is the default reason be associated with communication network, again carried out the retry propelling movement of described statement analysis report by the mode of mail sending.
The said goods can perform the method that any embodiment of the present invention provides, and possesses the corresponding functional module of manner of execution and beneficial effect.The not ins and outs of detailed description in the present embodiment, the method that can provide see any embodiment of the present invention.
Note, above are only preferred embodiment of the present invention and institute's application technology principle.Skilled person in the art will appreciate that and the invention is not restricted to specific embodiment described here, various obvious change can be carried out for a person skilled in the art, readjust and substitute and can not protection scope of the present invention be departed from.Therefore, although be described in further detail invention has been by above embodiment, the present invention is not limited only to above embodiment, when not departing from the present invention's design, can also comprise other Equivalent embodiments more, and scope of the present invention is determined by appended right.

Claims (12)

1. a statement analysis report method for pushing, is characterized in that, comprising:
Obtain the mail push task that this is pending;
Extract the form configuration information comprised in the mail push task obtained;
Based on the form configuration information extracted, Real-time Obtaining report data, and utilize described report data to obtain form;
Create statement analysis report according to the form obtained, and carried out the propelling movement of described statement analysis report by the mode of mail sending.
2. statement analysis report method for pushing according to claim 1, is characterized in that, before this pending mail push task of acquisition, also comprise:
Display mail push task configuration interface, obtains the first input instruction acted on described mail push task configuration interface, generates mail push task according to described first input instruction;
Wherein, the mail push task of generation comprises: mail push task identification, propelling movement time, the form configuration information inserted and addressee information.
3. statement analysis report method for pushing according to claim 2, is characterized in that, before display mail push task configuration interface, also comprises:
Display form configuration interface, obtains the second input instruction acted on described form configuration interface, according to described second input instruction generating report forms configuration information; Wherein, the form configuration information of generation comprises: report mark, report form type and report data source access interface;
Based on the form configuration information extracted, Real-time Obtaining report data, and utilize described report data to obtain form, comprising:
Based on the report data source access interface in the form configuration information extracted, Real-time Obtaining report data;
According to the report form type in the form configuration information extracted, convert described report data to form.
4. statement analysis report method for pushing according to claim 2, is characterized in that, after generation mail push task, before this pending mail push task of acquisition, also comprises:
Search in generated all mail push tasks, the propelling movement time comprises the mail push task identification of current time; By all mail push task identifications found, form an array;
Obtain the mail push task that this is pending, comprising:
Travel through described array, by the current mail push task identification traversed, push task identification as targeted mails;
Obtain in all mail push tasks generated, be designated the mail push task that described targeted mails pushes task identification, as the mail push task that this is pending.
5. the statement analysis report method for pushing according to any one of claim 1-4, is characterized in that, after this pending mail push task of acquisition, also comprise:
Detect the executive condition comprised in this pending mail push task whether to be satisfied;
If so, the operation of the form configuration information comprised in the mail push task extracted and obtain is performed.
6., according to the statement analysis report method for pushing described in claim 1-4, it is characterized in that, after the mode by mail sending carries out the propelling movement of described statement analysis report, also comprise:
If push unsuccessfully, then detect failure cause;
When described failure cause is the default reason be associated with Mail Contents, push the exception mail preset;
When described failure cause is the default reason be associated with communication network, again carried out the retry propelling movement of described statement analysis report by the mode of mail sending.
7. a statement analysis report pusher, is characterized in that, comprising:
Mail push task acquiring unit, for obtaining this pending mail push task;
Form configuration information extraction unit, for extracting the form configuration information comprised in obtained mail push task;
Statement analysis report obtains unit, for based on the form configuration information extracted, and Real-time Obtaining report data, and utilize described report data to obtain form;
Statement analysis report push unit, for creating statement analysis report according to the form obtained, and carries out the propelling movement of described statement analysis report by the mode of mail sending.
8. statement analysis report pusher according to claim 7, it is characterized in that, also comprise: mail push task generation unit, for showing mail push task configuration interface, obtain the first input instruction acted on described mail push task configuration interface, generate mail push task according to described first input instruction;
Wherein, the mail push task of generation comprises: mail push task identification, propelling movement time, the form configuration information inserted and addressee information.
9. statement analysis report pusher according to claim 8, is characterized in that, also comprise:
Form configuration information generation unit, for showing form configuration interface, obtains the second input instruction acted on described form configuration interface, according to described second input instruction generating report forms configuration information; Wherein, the form configuration information of generation comprises: report mark, report form type and report data source access interface;
Described statement analysis report obtains unit, specifically for:
Based on the report data source access interface in the form configuration information extracted, Real-time Obtaining report data;
According to the report form type in the form configuration information extracted, convert described report data to form.
10. statement analysis report pusher according to claim 8, is characterized in that, also comprise:
Array generation unit, for searching in all mail push tasks that described mail push task generation unit generates, the propelling movement time comprises the mail push task identification of current time; By all mail push task identifications found, form an array;
Described mail push task acquiring unit, specifically for:
Travel through the array that described array generation unit obtains, by the current mail push task identification traversed, push task identification as targeted mails;
Obtain in all mail push tasks that described mail push task generation unit generates, be designated the mail push task that described targeted mails pushes task identification, as the mail push task that this is pending.
11. according to any one of claim 7-10 statement analysis report pusher, it is characterized in that, also comprise:
Whether executive condition detecting unit, be satisfied for detecting the executive condition comprised in this pending mail push task of described mail push task acquiring unit acquisition;
Described form configuration information extraction unit, specifically for: be satisfied if the testing result that described executive condition detecting unit obtains is executive condition, then extract the form configuration information comprised in the mail push task obtained.
12. statement analysis report pushers according to any one of claim 7-10, is characterized in that, described statement analysis report push unit, also for:
After the mode by mail sending carries out the propelling movement of described statement analysis report, if push unsuccessfully, then detect failure cause;
When described failure cause is the default reason be associated with Mail Contents, push the exception mail preset;
When described failure cause is the default reason be associated with communication network, again carried out the retry propelling movement of described statement analysis report by the mode of mail sending.
CN201510035979.0A 2015-01-23 2015-01-23 A kind of statement analysis report method for pushing and device Active CN104616134B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510035979.0A CN104616134B (en) 2015-01-23 2015-01-23 A kind of statement analysis report method for pushing and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510035979.0A CN104616134B (en) 2015-01-23 2015-01-23 A kind of statement analysis report method for pushing and device

Publications (2)

Publication Number Publication Date
CN104616134A true CN104616134A (en) 2015-05-13
CN104616134B CN104616134B (en) 2019-07-02

Family

ID=53150569

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510035979.0A Active CN104616134B (en) 2015-01-23 2015-01-23 A kind of statement analysis report method for pushing and device

Country Status (1)

Country Link
CN (1) CN104616134B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106209576A (en) * 2016-06-23 2016-12-07 平安科技(深圳)有限公司 Mail sends method and the report server of report data
CN107277171A (en) * 2017-07-28 2017-10-20 山东浪潮商用系统有限公司 A kind of customizable message method based on quartz
CN108494668A (en) * 2018-04-03 2018-09-04 北京京东尚科信息技术有限公司 A kind of method and apparatus executing email processing jobs
CN108595394A (en) * 2018-03-21 2018-09-28 上海蔚界信息科技有限公司 A kind of rapid build scheme of text analyzing report
CN108920154A (en) * 2018-06-22 2018-11-30 深圳云之家网络有限公司 A kind of software layout method and system
CN110188099A (en) * 2019-05-17 2019-08-30 深圳前海微众银行股份有限公司 A kind of data managing method and device
CN113779950A (en) * 2021-09-17 2021-12-10 国网北京市电力公司 Report generation method and device, computer readable storage medium and processor

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1305168A (en) * 2000-12-28 2001-07-25 英业达集团(南京)电子技术有限公司 Method for automatic timing transmission of e-mails
CN102571371A (en) * 2010-12-23 2012-07-11 腾讯科技(深圳)有限公司 Network information pushing method and system
CN103064689A (en) * 2013-01-04 2013-04-24 大唐软件技术股份有限公司 Implementation method and system for dynamically generating report pages
CN103906013A (en) * 2014-04-14 2014-07-02 夷希数码科技(上海)有限公司 Message pushing method and device based on mobile device
EP2816513A1 (en) * 2013-03-14 2014-12-24 Palantir Technologies, Inc. Mobile reports
CN104252443A (en) * 2013-06-28 2014-12-31 腾讯科技(深圳)有限公司 Report generation method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1305168A (en) * 2000-12-28 2001-07-25 英业达集团(南京)电子技术有限公司 Method for automatic timing transmission of e-mails
CN102571371A (en) * 2010-12-23 2012-07-11 腾讯科技(深圳)有限公司 Network information pushing method and system
CN103064689A (en) * 2013-01-04 2013-04-24 大唐软件技术股份有限公司 Implementation method and system for dynamically generating report pages
EP2816513A1 (en) * 2013-03-14 2014-12-24 Palantir Technologies, Inc. Mobile reports
CN104252443A (en) * 2013-06-28 2014-12-31 腾讯科技(深圳)有限公司 Report generation method and device
CN103906013A (en) * 2014-04-14 2014-07-02 夷希数码科技(上海)有限公司 Message pushing method and device based on mobile device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106209576A (en) * 2016-06-23 2016-12-07 平安科技(深圳)有限公司 Mail sends method and the report server of report data
CN107277171A (en) * 2017-07-28 2017-10-20 山东浪潮商用系统有限公司 A kind of customizable message method based on quartz
CN108595394A (en) * 2018-03-21 2018-09-28 上海蔚界信息科技有限公司 A kind of rapid build scheme of text analyzing report
CN108494668A (en) * 2018-04-03 2018-09-04 北京京东尚科信息技术有限公司 A kind of method and apparatus executing email processing jobs
CN108920154A (en) * 2018-06-22 2018-11-30 深圳云之家网络有限公司 A kind of software layout method and system
CN110188099A (en) * 2019-05-17 2019-08-30 深圳前海微众银行股份有限公司 A kind of data managing method and device
WO2020233251A1 (en) * 2019-05-17 2020-11-26 深圳前海微众银行股份有限公司 Data management method and device
CN113779950A (en) * 2021-09-17 2021-12-10 国网北京市电力公司 Report generation method and device, computer readable storage medium and processor

Also Published As

Publication number Publication date
CN104616134B (en) 2019-07-02

Similar Documents

Publication Publication Date Title
CN104616134A (en) Statement analysis report pushing method and device
US8683324B2 (en) Dynamic generation of target files from template files and tracking of the processing of target files
CN112183036B (en) Format document generation method, device, equipment and storage medium
CN110245112A (en) Intelligent archive management method, system, terminal and storage medium based on AI
Cox et al. A geologic timescale ontology and service
US11087409B1 (en) Systems and methods for generating accurate transaction data and manipulation
CN101710274A (en) Method and system for generating help information of application software
CN102043796A (en) Information collecting method and device based on Internet
CN101540022A (en) Knowledge transfer in a project environment
Van der Aalst et al. Getting the data
CN109101519A (en) Information acquisition system and Heterogeneous Information emerging system
CN108733635A (en) A kind of text message methods of exhibiting and device
CN104268346A (en) Implementation method for simulation application of visual integrated environment on basis of object class interaction diagrams
US8091016B2 (en) Visually manipulating instance collections
CN106599216A (en) Computer based training courseware publishing system
CN103258021A (en) Character terminal feature data extraction method based on behavioral analysis
Al-Msie'deen Requirements traceability: Recovering and visualizing traceability links between requirements and source code of object-oriented software systems
CN113900629A (en) Automatic engine implementation system of computer process
Almomani et al. Software process improvement initiatives in small and medium firms: a systematic review
CN111311461A (en) B-S based editor and generation method for structured dynamic medical record form
CN107643968A (en) Crash log processing method and processing device
JP3879810B2 (en) Reading support device
Pretorius Lexon visualization: visualizing binary fact types in ontology bases
CN100504849C (en) Data conversion method and device
CN106021209B (en) The source data management system for tracking of technical publications and comprehensive establishment management system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant