CN104270303A - Automatic data information sending method and system - Google Patents

Automatic data information sending method and system Download PDF

Info

Publication number
CN104270303A
CN104270303A CN201410515020.2A CN201410515020A CN104270303A CN 104270303 A CN104270303 A CN 104270303A CN 201410515020 A CN201410515020 A CN 201410515020A CN 104270303 A CN104270303 A CN 104270303A
Authority
CN
China
Prior art keywords
data
historical
current period
current
comparing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410515020.2A
Other languages
Chinese (zh)
Inventor
房立喜
陈敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Agricultural Bank of China Suqian Branch
Original Assignee
Agricultural Bank of China Suqian Branch
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 Agricultural Bank of China Suqian Branch filed Critical Agricultural Bank of China Suqian Branch
Priority to CN201410515020.2A priority Critical patent/CN104270303A/en
Publication of CN104270303A publication Critical patent/CN104270303A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses an automatic data information sending method and system and relates to the technical field of data processing. According to the automatic data information sending method and system, an original data package is obtained and decompressed, decompressed data are determined as current period data, the current period data and historical data are compared to generate comparison data, and finally the comparison data are sent through the three modes of short messages, multimedia messages and emails. Thus, the data processing efficiency is improved, and the error rate is lowered. In addition, due to the fact that comparison data are sent through the three modes of the short messages, the multimedia messages and the emails, receivers can receive the comparison data.

Description

Data message automatic sending method and system
Technical field
The present invention relates to technical field of data processing, particularly a kind of data message automatic sending method and system.
Background technology
Along with the development of business, information real-time, flexibility, particularly important by all kinds of means, method conventional at present first manually downloads or obtains data from IE Web system, then manual handle is carried out to data, data processing is complete generates the text that will send later, and the platform then provided by operator or other system are sent.
The very flexible of the method for current employing, in time occurring to change, need larger adjustment, cannot automatically adjust, need manual process more, first to know whether data arrive, whether data process, and manual process easily mistake occurs, and then send mail one by one by hand, send note, and the SMS platform that operator provides generally cannot supporting document and network data flow process simultaneously simultaneously, such inefficiency, and error rate is very high.
Summary of the invention
In order to improve data-handling efficiency, and reducing error rate, the invention provides a kind of data message automatic sending method, said method comprising the steps of:
S1: every minor tick predetermined period obtains raw data packets, and decompresses to described raw data packets, to obtain each section of all units object current value;
S2: determine current period data according to each section of described all units object current data, and according to each section of described all units object historical values determination historical data, described current period data are included in the numerical value of each unit preset term in this cycle, described historical data be included in this cycle before the numerical value of each unit preset term;
S3: described current period data and historical data are compared, to generate comparing data, and is stored in result database by described comparing data;
S4: read described comparing data from described result database, and described comparing data is sent by note, multimedia message and mail three kinds of modes.
Wherein, before step S1, also comprise:
Obtain current time information, described current time information comprises: current solar term, week, the Gregorian calendar and the lunar calendar;
Step S3 specifically comprises:
Described current period data and historical data are compared, and the comparing data of generation and described current time information are stored in result database;
Step S4 specifically comprises:
From described result database, read described comparing data and current time information, and described comparing data and current time information are sent by note, multimedia message and mail three kinds of modes.
Wherein, in step S3, described current period data and historical data are compared and specifically comprise:
Generate Excel table according to preset format, first described current period data are placed in described Excel and show corresponding cell;
The current period data and historical data that belong to same project are subtracted each other, if subtracting each other result is negative, is then placed in subtracting each other result the cell that described Excel shows correspondence, and represents with green font; If subtracting each other result is positive number, is then placed in described Excel shows should the cell of project by subtracting each other result, and represent by red font;
Using described Excel table as comparing data.
Wherein, in step S4, described comparing data sent by note, multimedia message and mail three kinds of modes according to default personal information table, described default personal information table comprises: the phone number of personnel to be received and email address.
Wherein, step S1 also comprises:
S0: judge whether described daily record and historical data exceed default memory space, if so, then clear up daily record and historical data.
The invention also discloses a kind of data message automatic dispatch system, described system comprises:
Data capture unit, obtains raw data packets for every minor tick predetermined period, and decompresses to described raw data packets, to obtain each section of all units object current value;
Data determination unit, for determining current period data according to each section of described all units object current data, and according to each section of described all units object historical values determination historical data, described current period data are included in the numerical value of each unit preset term in this cycle, described historical data be included in this cycle before the numerical value of each unit preset term;
Relatively memory cell, for described current period data and historical data being compared, to generate comparing data, and is stored in result database by described comparing data;
Reading transmitting element, for reading described comparing data from described result database, and described comparing data being sent by note, multimedia message and mail three kinds of modes.
Wherein, described system also comprises:
Time reading unit, for obtaining current time information, described current time information comprises: current solar term, week, the Gregorian calendar and the lunar calendar;
Relatively memory cell, also for described current period data and historical data being compared, and is stored in result database by the comparing data of generation and described current time information;
Reading transmitting element, also for reading described comparing data and current time information from described result database, and described comparing data and current time information being sent by note, multimedia message and mail three kinds of modes.
Wherein, described current period data and historical data are compared by following steps by the described memory cell that compares:
Generate and generate Excel table according to preset format, first described current period data are placed in described Excel and show corresponding cell;
The current period data and historical data that belong to same project are subtracted each other, if subtracting each other result is negative, is then placed in subtracting each other result the cell that described Excel shows correspondence, and represents with green font; If subtracting each other result is positive number, is then placed in described Excel shows should the cell of project by subtracting each other result, and represent by red font;
Using described Excel table as comparing data.
Wherein, described reading transmitting element, also for described comparing data being sent by note, multimedia message and mail three kinds of modes according to presetting personal information table, described default personal information table comprises: the phone number of personnel to be received and email address.
Wherein, described system also comprises:
Data scrubbing unit, for judging whether described daily record and historical data exceed default memory space, if so, then clear up daily record and historical data.
The present invention conciliates compress bag by obtaining, and the data after decompressing are determined current period data, again described current period data and historical data are compared, to generate comparing data, send comparing data finally by note, multimedia message and mail three kinds of modes, thus improve data-handling efficiency, and reduce error rate, in addition, owing to sending comparing data by note, multimedia message and mail three kinds of modes, the personnel that can be received received.
Accompanying drawing explanation
Fig. 1 is the flow chart of the data message automatic sending method of one embodiment of the present invention;
Fig. 2 is the structured flowchart of the data message automatic dispatch system of one embodiment of the present invention.
Embodiment
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described in further detail.Following examples for illustration of the present invention, but are not used for limiting the scope of the invention.
Fig. 1 is the flow chart of the data message automatic sending method of one embodiment of the present invention; With reference to Fig. 1, said method comprising the steps of:
S1: every minor tick predetermined period obtains raw data packets, and decompresses to described raw data packets, to obtain each section of all units object current value;
In this step, before acquisition raw data packets, need to detect described raw data packets (suffix form is .gz) whether to exist, if do not exist, then repeatedly detect, detection time is made up of detection times and probe interval, can define flexibly, if get data at the appointed time to reach after 4 hours, then by SMS notification raw data packets treatment people at the appointed time in obtain less than data, can in next cycle synchronisation process;
S2: determine current period data according to each section of described all units object current data, and according to each section of described all units object historical values determination historical data, described current period data are included in the numerical value of each unit preset term in this cycle, described historical data be included in this cycle before the numerical value of each unit preset term;
Described project comprises some subjects, and such as, when project is savings account, it subject comprised is individual current deposit, individual fixed deposit etc.;
In this step, described historical data can be the numerical value of each unit preset term of upper one day, upper January and upper one year.
S3: described current period data and historical data are compared, to generate comparing data, and is stored in result database by described comparing data;
S4: read described comparing data from described result database, and described comparing data is sent by note, multimedia message and mail three kinds of modes.
In this step, described note realizes sending by short message server, and described multimedia message realizes sending by multimedia message server, and described mail is sent by IBM LOTUS mailing system Interface realization.Send to realize data better, described data send to adopt and periodically transmit: if transmission times is in predetermined number of times, then repeat process above, until terminate, then wait for next predetermined period.If be not sent completely in predetermined number of times, method may be affected because of continuing to send and perform, so start to start front stopping in next predetermined period.
For realizing that current time information is put into note, multimedia message and mail, so that reception staff can know temporal information, preferably, before step S1, also comprise:
Obtain current time information, described current time information comprises: the information such as current solar term, week, the Gregorian calendar and the lunar calendar;
Step S3 specifically comprises:
Described current period data and historical data are compared, and the comparing data of generation and described current time information are stored in result database;
Step S4 specifically comprises:
From described result database, read described comparing data and current time information, and described comparing data and current time information are sent by note, multimedia message and mail three kinds of modes.
For ease of generating comparing data, preferably, in step S3, described current period data and historical data being compared and specifically comprise:
Generate Excel table according to preset format, first described current period data are placed in described Excel and show corresponding cell;
The current period data and historical data that belong to same project are subtracted each other, if subtracting each other result is negative, is then placed in subtracting each other result the cell that described Excel shows correspondence, and represents with green font; If subtracting each other result is positive number, is then placed in described Excel shows should the cell of project by subtracting each other result, and represent by red font;
The Excel table generated in this step (owing to not allowing to adopt color in application documents, so following table color, but represent positive number with triangle upwards, downward triangle represents negative) as shown in the table:
Using described Excel table as comparing data.
Comparing data for ease of sending can be guaranteed received by personnel to be received, preferably, in step S4, described comparing data sent by note, multimedia message and mail three kinds of modes according to default personal information table, described default personal information table comprises: the phone number of personnel to be received and email address.
For ease of checking daily record and historical data, ensure write daily record efficiency and effectively remove hard drive space, prevent the infinite extension of device resource, preferably, step S1 also comprises simultaneously:
S0: judge whether described daily record and historical data exceed default memory space, if so, then clear up daily record and historical data.
The invention also discloses a kind of data message automatic dispatch system, with reference to Fig. 2, described system comprises:
Data capture unit, obtains raw data packets for every minor tick predetermined period, and decompresses to described raw data packets, to obtain each section of all units object current value;
Data determination unit, for determining current period data according to each section of described all units object current data, and according to each section of described all units object historical values determination historical data, described current period data are included in the numerical value of each unit preset term in this cycle, described historical data be included in this cycle before the numerical value of each unit preset term;
Relatively memory cell, for described current period data and historical data being compared, to generate comparing data, and is stored in result database by described comparing data;
Reading transmitting element, for reading described comparing data from described result database, and described comparing data being sent by note, multimedia message and mail three kinds of modes.
Wherein, described system also comprises:
Time reading unit, for obtaining current time information, described current time information comprises: current solar term, week, the Gregorian calendar and the lunar calendar;
Relatively memory cell, also for described current period data and historical data being compared, and is stored in result database by the comparing data of generation and described current time information;
Reading transmitting element, also for reading described comparing data and current time information from described result database, and described comparing data and current time information being sent by note, multimedia message and mail three kinds of modes.
Wherein, described current period data and historical data are compared by following steps by the described memory cell that compares:
Generate and generate Excel table according to preset format, first described current period data are placed in described Excel and show corresponding cell;
The current period data and historical data that belong to same project are subtracted each other, if subtracting each other result is negative, is then placed in subtracting each other result the cell that described Excel shows correspondence, and represents with green font; If subtracting each other result is positive number, is then placed in described Excel shows should the cell of project by subtracting each other result, and represent by red font;
Using described Excel table as comparing data.
Wherein, described reading transmitting element, also for described comparing data being sent by note, multimedia message and mail three kinds of modes according to presetting personal information table, described default personal information table comprises: the phone number of personnel to be received and email address.
Wherein, described system also comprises:
Data scrubbing unit, for judging whether described daily record and historical data exceed default memory space, if so, then clear up daily record and historical data.
Above execution mode is only for illustration of the present invention; and be not limitation of the present invention; the those of ordinary skill of relevant technical field; without departing from the spirit and scope of the present invention; can also make a variety of changes and modification; therefore all equivalent technical schemes also belong to category of the present invention, and scope of patent protection of the present invention should be defined by the claims.

Claims (10)

1. a data message automatic sending method, is characterized in that, said method comprising the steps of:
S1: every minor tick predetermined period obtains raw data packets, and decompresses to described raw data packets, to obtain each section of all units object current value;
S2: determine current period data according to each section of described all units object current data, and according to each section of described all units object historical values determination historical data, described current period data are included in the numerical value of each unit preset term in this cycle, described historical data be included in this cycle before the numerical value of each unit preset term;
S3: described current period data and historical data are compared, to generate comparing data, and is stored in result database by described comparing data;
S4: read described comparing data from described result database, and described comparing data is sent by note, multimedia message and mail three kinds of modes.
2. the method for claim 1, is characterized in that, before step S1, also comprises:
Obtain current time information, described current time information comprises: current solar term, week, the Gregorian calendar and the lunar calendar;
Step S3 specifically comprises:
Described current period data and historical data are compared, and the comparing data of generation and described current time information are stored in result database;
Step S4 specifically comprises:
From described result database, read described comparing data and current time information, and described comparing data and current time information are sent by note, multimedia message and mail three kinds of modes.
3. the method for claim 1, is characterized in that, in step S3, described current period data and historical data is compared and specifically comprises:
Generate Excel table according to preset format, first described current period data are placed in described Excel and show corresponding cell;
The current period data and historical data that belong to same project are subtracted each other, if subtracting each other result is negative, is then placed in subtracting each other result the cell that described Excel shows correspondence, and represents with green font; If subtracting each other result is positive number, is then placed in described Excel shows should the cell of project by subtracting each other result, and represent by red font;
Using described Excel table as comparing data.
4. the method for claim 1, it is characterized in that, in step S4, described comparing data sent by note, multimedia message and mail three kinds of modes according to default personal information table, described default personal information table comprises: the phone number of personnel to be received and email address.
5. the method for claim 1, is characterized in that, step S1 also comprises:
S0: judge whether described daily record and historical data exceed default memory space, if so, then clear up daily record and historical data.
6. a data message automatic dispatch system, is characterized in that, described system comprises:
Data capture unit, obtains raw data packets for every minor tick predetermined period, and decompresses to described raw data packets, to obtain each section of all units object current value;
Data determination unit, for determining current period data according to each section of described all units object current data, and according to each section of described all units object historical values determination historical data, described current period data are included in the numerical value of each unit preset term in this cycle, described historical data be included in this cycle before the numerical value of each unit preset term;
Relatively memory cell, for described current period data and historical data being compared, to generate comparing data, and is stored in result database by described comparing data;
Reading transmitting element, for reading described comparing data from described result database, and described comparing data being sent by note, multimedia message and mail three kinds of modes.
7. system as claimed in claim 6, it is characterized in that, described system also comprises:
Time reading unit, for obtaining current time information, described current time information comprises: current solar term, week, the Gregorian calendar and the lunar calendar;
Relatively memory cell, also for described current period data and historical data being compared, and is stored in result database by the comparing data of generation and described current time information;
Reading transmitting element, also for reading described comparing data and current time information from described result database, and described comparing data and current time information being sent by note, multimedia message and mail three kinds of modes according to demand.
8. system as claimed in claim 6, it is characterized in that, described current period data and historical data are compared by following steps by the described memory cell that compares:
Generate and generate Excel table according to preset format, first described current period data are placed in described Excel and show corresponding cell;
The current period data and historical data that belong to same project are subtracted each other, if subtracting each other result is negative, is then placed in subtracting each other result the cell that described Excel shows correspondence, and represents with green font; If subtracting each other result is positive number, is then placed in described Excel shows should the cell of project by subtracting each other result, and represent by red font;
Using described Excel table as comparing data.
9. system as claimed in claim 6, it is characterized in that, described reading transmitting element, also for described comparing data being sent by note, multimedia message and mail three kinds of modes according to presetting personal information table, described default personal information table comprises: the phone number of personnel to be received and email address.
10. system as claimed in claim 6, it is characterized in that, described system also comprises:
Data scrubbing unit, for judging whether described daily record and historical data exceed default memory space, if so, then clear up daily record and historical data.
CN201410515020.2A 2014-09-29 2014-09-29 Automatic data information sending method and system Pending CN104270303A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410515020.2A CN104270303A (en) 2014-09-29 2014-09-29 Automatic data information sending method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410515020.2A CN104270303A (en) 2014-09-29 2014-09-29 Automatic data information sending method and system

Publications (1)

Publication Number Publication Date
CN104270303A true CN104270303A (en) 2015-01-07

Family

ID=52161796

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410515020.2A Pending CN104270303A (en) 2014-09-29 2014-09-29 Automatic data information sending method and system

Country Status (1)

Country Link
CN (1) CN104270303A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064630A (en) * 2006-04-24 2007-10-31 华为技术有限公司 Data synchronization method and system
CN102096860A (en) * 2010-12-28 2011-06-15 赛尔网络有限公司 Data analysis device and method
CN102231881A (en) * 2011-07-05 2011-11-02 广州市动景计算机科技有限公司 Method, server and system for processing user data of mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064630A (en) * 2006-04-24 2007-10-31 华为技术有限公司 Data synchronization method and system
CN102096860A (en) * 2010-12-28 2011-06-15 赛尔网络有限公司 Data analysis device and method
CN102231881A (en) * 2011-07-05 2011-11-02 广州市动景计算机科技有限公司 Method, server and system for processing user data of mobile terminal

Similar Documents

Publication Publication Date Title
US11115361B2 (en) Apparatus and method for maintaining a message thread with opt-in permanence for entries
KR102030226B1 (en) Apparatus and method for maintaining a message thread with opt-in permanence for entries
US10169740B2 (en) Tag cloud buddy list for messaging contacts
KR101769423B1 (en) Reminder method and apparatus based on chatting room
US7890596B2 (en) Triage of electronic mail
CN111030784A (en) Information synchronization method and device
US20090100183A1 (en) Detection of Missing Recipients in Electronic Messages
CN104850550A (en) Method and apparatus for ordering prompt messages
CN101369989A (en) Method and system for tracking delivered e-mail
CN101202712A (en) Method for conveying information
CN102571990B (en) E-mail synchronization method and system for mobile terminal
EP2487641A1 (en) System for sending utility meter alerts
CN104869560A (en) Message notification method, message notification device, mobile equipment and message notification system
CN104135429A (en) A method and a device for pushing information
CN103560944A (en) Displaying method and terminal for email set
CN201286110Y (en) Electronic photo frame service system, service processing apparatus and electronic photo frame
CN107231287B (en) Marketing mail sending method and sending information statistical method and device
CN105787845A (en) Liquid medicine tracing back system and method
CN102291328A (en) Multi-protocol supporting webpage-based third-party email account transmission and receiving method and system
CN104270303A (en) Automatic data information sending method and system
CN106060790A (en) Terminal equipment, operator server, short message transmission method and transmission system
CN208015763U (en) A kind of three station integrating systems based on multi-type network terminal
US20060294188A1 (en) Providing status information about email recipients
CN101588309A (en) A kind of method and system of realizing personal information reminding
CN102685334A (en) Email deletion method, deletion device and mobile phone

Legal Events

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

Application publication date: 20150107