CN107038552A - Method for processing business, device and equipment, computer-readable recording medium - Google Patents

Method for processing business, device and equipment, computer-readable recording medium Download PDF

Info

Publication number
CN107038552A
CN107038552A CN201611185069.1A CN201611185069A CN107038552A CN 107038552 A CN107038552 A CN 107038552A CN 201611185069 A CN201611185069 A CN 201611185069A CN 107038552 A CN107038552 A CN 107038552A
Authority
CN
China
Prior art keywords
parameter
day
week
default
threshold
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
CN201611185069.1A
Other languages
Chinese (zh)
Other versions
CN107038552B (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.)
Advanced Nova Technology Singapore Holdings Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201611185069.1A priority Critical patent/CN107038552B/en
Publication of CN107038552A publication Critical patent/CN107038552A/en
Application granted granted Critical
Publication of CN107038552B publication Critical patent/CN107038552B/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/109Time management, e.g. calendars, reminders, meetings or time accounting
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes

Abstract

The application provides a kind of method for processing business, device and equipment, computer-readable recording medium, and methods described includes:Current time parameter is obtained, the time parameter includes moon parameter, day parameter and week parameter;If the day parameter is higher than default parameter threshold, based on described in the moon gain of parameter day parameter and date of the first day parameter in lower January it is poor;If the date difference determines that current time reaches the default object time in default first orientation range;If the date difference determines whether the week parameter matches with default week threshold value in default second orientation range;If the week parameter is matched with the week threshold value, determine that current time reaches the default object time;Determine that current time was reached after the default object time, carry out the processing of the object time corresponding business.Implement the application, the degree of accuracy of timi requirement can be improved, it is to avoid the influence to business processing promptness.

Description

Method for processing business, device and equipment, computer-readable recording medium
Technical field
The application is related to field of computer technology, more particularly to method for processing business, device and equipment, computer-readable recording medium.
Background technology
Some billing and accounting systems when handling accounting data, it is necessary to accounting data is produced from an account, or by account Data are transferred to an account.In the routine work of many enterprises and institutions it is not continual carry out accounting data produce or It is transferred to, but on some dates, such as monthly last working day, it is necessary to close billing and accounting system, terminates the processing of accounting data (referred to as closing account).
More typical way is that several days after monthly 25 days are set into pass account day, is judging current date more than 25 days When, that is, corresponding billing and accounting system is closed, the processing of accounting data is terminated.
But, the number of days of every month is incomplete same among 1 year, such as the month that number of days is 31,31 days last days It may be just working day, then the actually non-pass account day to 30 days of 26 days before, the account number of different business should be carried out According to processing, and above-mentioned way mistake is pass account day by determination in 26 to 30, and the accuracy rate for positioning the date is low, is determining The date of position terminates the processing of accounting data, influences whether the timely processing of business.
The content of the invention
In view of this, the application provides a kind of method for processing business, device and equipment, computer-readable recording medium.
Specifically, the application is achieved by the following technical solution:
According to the first aspect of the embodiment of the present application there is provided a kind of method for processing business, comprise the following steps:
Current time parameter is obtained, the time parameter includes moon parameter, day parameter and week parameter;
If the day parameter be higher than default parameter threshold, based on described in the moon gain of parameter day parameter with lower January First day parameter date it is poor;
If the date difference determines that current time reaches the default object time in default first orientation range;
If the date difference determines the week parameter and default week threshold value in default second orientation range Whether match, wherein, the minimum value in second orientation range is higher than the maximum in first orientation range;
If the week parameter is matched with the week threshold value, determine that current time reaches the default object time;
Determine that current time was reached after the default object time, carry out the processing of the object time corresponding business.
In one embodiment, it is described based on described in the moon gain of parameter day parameter with the first day parameter in lower January Before date difference, methods described is further comprising the steps of:
Determine whether the date between the day parameter and the first day parameter in lower January is festivals or holidays;
If the date between the day parameter and the first day parameter in lower January is festivals or holidays, determine that current time is arrived Up to the default object time.
In one embodiment, if the date difference in default second orientation range, methods described also include with Lower step:
If date difference is the first threshold in second orientation range, determine the week parameter with it is default First week threshold value whether match;
If the week parameter is matched with the first week threshold value, when determining that current time reaches default target Between;
If date difference is the Second Threshold in second orientation range, determine the week parameter with it is default Second week threshold value whether match;
If the week parameter is matched with the second week threshold value, when determining that current time reaches default target Between.
In one embodiment, the object time is the closing day of accounting process systems.
In one embodiment, the object time is following any time:
Last working day of every month, last working day in each season, last annual working day.
In one embodiment, the parameter threshold is 25, and first orientation range is more than 0 and less than or equal to 1 Number range, second orientation range for more than 1 and less than or equal to 3 number range, the first threshold be 2, institute State first week threshold value be Friday or Saturday, the Second Threshold be 3, the second week threshold value be Friday.
In one embodiment, it is described based on described in the moon gain of parameter day parameter with the first day parameter in lower January Before date difference, methods described is further comprising the steps of:
Whether if the object time is last working day in corresponding season, it is current season to determine the moon parameter Last month parameter of degree;
If last month parameter in current season, it is determined that whether the day parameter is higher than the parameter threshold, If not higher than described parameter threshold, it is determined that current time does not reach the default object time;
Whether if the object time is last annual working day, it is then last to determine the moon parameter One month parameter;
If last month parameter then, it is determined that whether the day parameter is higher than the parameter threshold, if Not higher than described parameter threshold, it is determined that current time does not reach the default object time.
According to the second aspect of the embodiment of the present application there is provided a kind of electronic equipment, including:
Processor;
Store the memory of processor-executable instruction;
Wherein, the processor is coupled in the memory, for reading the programmed instruction of the memory storage, and makees For response, following operation is performed:
Current time parameter is obtained, the time parameter includes moon parameter, day parameter and week parameter;
If the day parameter be higher than default parameter threshold, based on described in the moon gain of parameter day parameter with lower January First day parameter date it is poor;
If the date difference determines that current time reaches the default object time in default first orientation range;
If the date difference determines the week parameter and default week threshold value in default second orientation range Whether match, wherein, the numerical value in second orientation range is above the numerical value in first orientation range;
If the week parameter is matched with the week threshold value, determine that current time reaches the default object time;
Determine that current time was reached after the default object time, carry out the processing of the object time corresponding business.
According to the third aspect of the embodiment of the present application there is provided a kind of business processing device, including:
Time parameter acquisition module, the current time parameter for obtaining, the time parameter includes moon parameter, day parameter And week parameter;
Date difference acquisition module, for when the day parameter is higher than default parameter threshold, being obtained based on the moon parameter The date for obtaining the day parameter and the first day parameter in lower January is poor;
First locating module, for when the date, difference was in default first orientation range, determining that current time is arrived Up to the default object time;
Week matching module, for the date difference in default second orientation range, determine the week parameter Whether matched with default week threshold value, wherein, the minimum value in second orientation range is higher than first orientation range Interior maximum;
Second locating module, for when the week parameter is matched with the week threshold value, determining that current time is reached The default object time;
Service Processing Module, for it is determined that after the current time arrival default object time, carrying out the object time pair The processing for the business answered.
In one embodiment, the time parameter acquisition module is got after the time parameter, and described device is also wrapped Include:
Festivals or holidays determining module, for determine the date between the day parameter and the first day parameter in lower January whether be Festivals or holidays;
3rd locating module, is festivals or holidays for the date between the day parameter and the first day parameter in lower January When, determine that current time reaches the default object time.
In one embodiment, if date difference is in default second orientation range, described device also includes:
First threshold matching module, for being the first threshold in second orientation range in date difference, it is determined that Whether the week parameter matches with default first week threshold value;
4th locating module, for when the week parameter is matched with the first week threshold value, determining current time Reach the default object time;
Second Threshold matching module, for when date difference is Second Threshold in second orientation range, really Whether the fixed week parameter matches with default second week threshold value;
5th locating module, for when the week parameter is matched with the second week threshold value, determining current time Reach the default object time.
In one embodiment, the object time is the closing day of accounting process systems.
In one embodiment, the object time is following any time:
Last working day of every month, last working day in each season, last annual working day.
In one embodiment, the parameter threshold is 25, and first orientation range is more than 0 and less than or equal to 1 Number range, second orientation range for more than 1 and less than or equal to 3 number range, the first threshold be 2, institute State first week threshold value be Friday or Saturday, the Second Threshold be 3, the second week threshold value be Friday.
In one embodiment, before the date poor acquisition module obtains the date difference, described device also includes:
Season determining module, for the object time be corresponding season last working day when, it is determined that described Month parameter whether be current season last month parameter;
First comparison module, for when the moon parameter is last month parameter in current season, determining the day Whether parameter is higher than the parameter threshold;
6th locating module, for when the day parameter is not higher than the parameter threshold, determining that current time is not reached The default object time;
Annual determining module, for when the object time is last annual working day, determining the moon ginseng Whether number is last month parameter then;
Second comparison module, for when the moon parameter is last month parameter then, determining the day parameter Whether the parameter threshold is higher than;
7th locating module, for when the day parameter is not higher than the parameter threshold, determining that current time is not reached The default object time.
According to the fourth aspect of the embodiment of the present application there is provided one or more machine readable medias, instruction is stored thereon with, When executed by one or more processors so that terminal device performs the process described above.
Implement the embodiment that the application is provided, be higher than default parameter threshold in the day parameter contained by current time parameter When, based on described in the moon gain of parameter day parameter and date of the first day parameter in lower January it is poor, it is poor pre- on the gained date If the first orientation range in, determine that current time reaches default object time;It is fixed default second in gained date difference In the range of position, determine whether the week parameter matches with default week threshold value, if the week parameter and the week Threshold value is matched, and is determined that current time reaches the default object time, is then carried out the processing of the object time corresponding business.Cause This, the day parameter and week parameter by analyzing contained by current time parameter can quickly and accurately determine current time The default object time whether is reached, the degree of accuracy of timi requirement can be effectively improved.The object time positioned if necessary is Account day is closed, the processing of accounting data is terminated in the time determined by the application, can effectively be reduced to the promptness of business processing Influence.
Brief description of the drawings
Fig. 1 is one embodiment flow chart of the application method for processing business;
Fig. 2 is another embodiment flow chart of the application method for processing business;
Fig. 3 is one embodiment block diagram of the application business processing device;
Fig. 4 is the hardware structure diagram of the application business processing device.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the application.
It is the purpose only merely for description specific embodiment in term used in this application, and is not intended to be limiting the application. " one kind ", " described " and "the" of singulative used in the application and appended claims are also intended to including majority Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and wrapped It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, not departing from In the case of the application scope, the first information can also be referred to as the second information, similarly, and the second information can also be referred to as One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determining ".
The timi requirement that the application is related to, the operating system of all kinds of business can be corresponded to, it is necessary to the end of month monthly or certain When the specific date at the end of month in a little months carries out specific transactions operation, an object of the application time will be preset as the specific date, worked as Contained by preceding time parameter day parameter be higher than default parameter threshold when, based on described in the moon gain of parameter day parameter with The date of the first day parameter in January is poor, in gained date difference in default first orientation range, determines that current time is reached The default object time;In gained date difference in default second orientation range, the week parameter and default star are determined Whether phase threshold value matches, if the week parameter is matched with the week threshold value, determines that current time reaches default target Time, then carry out the processing of the object time corresponding business.Thus quickly and accurately whether can determine current time The default object time is reached, the degree of accuracy of timi requirement can be effectively improved, after determining to reach the default object time, The operating system of control correspondence business performs corresponding processing, can effectively improve the promptness of business processing, below will be to this Shen Please embodiment be described in detail.
Fig. 1 is one embodiment flow chart of the application method for processing business, and the embodiment may comprise steps of 101-106:
Step 101:Current time parameter is obtained, the time parameter includes moon parameter, day parameter and week parameter.
The embodiment of the present application, the time parameter of acquisition is the temporal information of current time, can obtain it from local clock The time currently shown is the time parameter, the time that local clock is currently shown be generally day then, of that month, when, point, Second and week parameter, if necessary to the day parameter of acquisition first day of next month after of that month, according only to of that month moon parameter Both the day parameter (first day parameter) of the first day of next month can have been obtained, therefore, acquired time parameter, which only includes the moon, joins Number, day parameter and week parameter, you can to complete the application subsequent operation.
In other examples, current time parameter, institute can also be transferred from the calendar information of calendar data library storage The current time parameter of year parameter, moon parameter, day parameter and week parameter need to be included by stating time parameter.If necessary to obtain The day parameter of the first day of next month after this month, can according to the year parameter and moon parameter included by the time parameter, from The calendar database obtains the day parameter of the first day of next month.
Step 102:If the day parameter is higher than default parameter threshold, based on day parameter described in the moon gain of parameter Date with the first day parameter in lower January is poor.
In the embodiment of the present application, the parameter threshold is used to quickly arrange the time apart from the default object time farther out Remove, when the day parameter is not higher than the parameter threshold, determine that current time does not reach the default object time.Therefore, institute The concrete numerical value for stating parameter threshold is determined by the object time.In some scenes, if the object time is every month Last working day, last working day in each season or last annual working day, the parameter threshold is 25, monthly on the date before 25 days equal non-targeted time.If the object time is most latter two working day, every of every month Most latter two working day in individual season or annual most latter two working day, the parameter threshold is 24, monthly before 24 days The equal non-targeted time on date.The object time be other specific dates when, can with the like the parameter threshold it is specific Numerical value.
When the object time is last working day of every month, last work of positioning is required for every month Day., only need to be each and the object time is last working day or last annual working day in each season Last month in season or it is annual position last working day by last moon, position last in other times On individual working day, be entirely invalid positioning action, therefore in order to economize on resources and reduce invalid positioning action, the application is implemented The method for processing business of example, based on described in the moon gain of parameter day parameter and date of the first day parameter in lower January it is poor Before, it can also carry out following operation:
Whether if the object time is last working day in corresponding season, it is current season to determine the moon parameter Last month parameter of degree;If last month parameter in current season, it is determined that whether the day parameter is higher than institute Parameter threshold is stated, if not higher than described parameter threshold, it is determined that current time does not reach the default object time.
Whether if the object time is last annual working day, it is then last to determine the moon parameter One month parameter;If last month parameter then, it is determined that whether the day parameter is higher than the parameter threshold, such as Fruit is not higher than the parameter threshold, it is determined that current time does not reach the default object time.
And after it is determined that the day parameter is higher than the parameter threshold, poor in order to obtain the date, elder generation is from local clock The first day parameter of one month of moon parameter in the moon contained by current time after parameter is transferred, by inquiring about contained by current time Day parameter and the number of days interval between the first day parameter in lower January is obtained, the date can be obtained poor.
Step 103:If the date difference determines that current time reaches default mesh in default first orientation range Between timestamp.
It is poor with first orientation range by relatively date in the embodiment of the present application, can be poor on the date It is quick to determine whether current time reaches the default object time when smaller.Generally, the tool of first orientation range Body number range is determined by the object time.
For example, the object time be last working day of every month, last working day in each season or Last annual working day, first orientation range is the number range more than 0 and less than or equal to 1.If described Object time is most latter two working day, most latter two working day in each season or annual most latter two work of every month Make day, first orientation range is the number range more than 1 and less than or equal to 3.The object time is other particular days During the phase, can with the like first orientation range concrete numerical value scope.
, can be for each if the application is combined the default object time with specific application scenarios in some scenes Type operating system needs the situation in the specific operation of the specific date progress at the end of month monthly or the end of month in some months, sets The object time, the application is without limitation.
For example:Some enterprises and institutions need to close accounting process systems on monthly last working day, can set The object time is the closing day of accounting process systems;Some registration websites need last working day at certain month to close Entries System, it is the registration expiration date that can set the object time;Certain business department needs to arrange the business datum in this month Will be suspended operation the system for the distribution of commodities on last working day at the end of month, and the object time can be set to summarize day for business.
Step 104:If date difference is in default second orientation range, determine the week parameter with it is default Week, whether threshold value matched, wherein, the minimum value in second orientation range is higher than the maximum in first orientation range Value.
It is poor with first orientation range by relatively date in the embodiment of the present application, can be poor on the date It is quick to determine whether current time reaches the default object time when larger.Generally, the tool of second orientation range Body number range is determined by the object time.
For example, the object time be last working day of every month, last working day in each season or Last annual working day, second orientation range is the number range more than 1 and less than or equal to 3.If described Object time is most latter two working day, most latter two working day in each season or annual most latter two work of every month Make day, second orientation range is the number range more than 2 and less than or equal to 4.The object time is other particular days During the phase, can with the like second orientation range concrete numerical value scope.
In order to further improve the degree of accuracy of timi requirement, in one example, the date difference is fixed default second When in the range of position, the method for processing business of the embodiment of the present application may include following operation:
If date difference is the first threshold in second orientation range, determine the week parameter with it is default First week threshold value whether match.
If the week parameter is matched with the first week threshold value, when determining that current time reaches default target Between.If mismatched, it may be determined that current time does not reach the default object time.
If date difference is the Second Threshold in second orientation range, determine the week parameter with it is default Second week threshold value whether match.
If the week parameter is matched with the second week threshold value, when determining that current time reaches default target Between.If mismatched, it may be determined that current time does not reach the default object time.
In the present example, the object time is last working day of every month, last work in each season When making day or last annual working day, the first threshold is 2, and the first week threshold value is Friday or week Six, the Second Threshold is 3, and the second week threshold value is Friday., can be with when the object time is other specific dates The like the first threshold, the first week threshold value, the Second Threshold and the second week threshold value it is specific Parameter value.
Correspond to the first threshold, the first week threshold value, the Second Threshold and the second week threshold value Design parameter value, can determine that week parameter is matched with week threshold value when week, parameter was consistent with week threshold value.
Step 105:If the week parameter is matched with the week threshold value, determine that current time reaches default target Time.
In the embodiment of the present application, if the week parameter is consistent with the week threshold value (such as identical), you can judge two Person matches, if inconsistent, you can judge that both mismatch.
Generally, if the week parameter is mismatched with the week threshold value, you can determine that current time is reached The default object time.
If in addition, the day parameter is higher than default parameter threshold, and date difference exceedes the described second positioning model Enclose, you can determine that current time reaches the default object time.But, because annual day off is in addition to Saturday, Sunday, also have Legal festivals or holidays, and the legal festivals and holidays are not necessarily on Saturday or Sunday, sometimes across whole the week, so certain In a little months, even if the day parameter is higher than default parameter threshold, and date difference exceedes second orientation range, currently Time is also possible to reach the preset time.For example, the preset time was monthly last working day, at 2017 1 Months 26 days, day parameter be higher than 25, date difference is more than 3, but is within 26th last working day in January, 2017.
For above-mentioned situation, in order to further improve the timi requirement degree of accuracy, based on day described in the moon gain of parameter Before the date difference of parameter and the first day parameter in lower January, the embodiment of the present application can perform following operation:Determine the day ginseng Whether several dates between the first day parameter in lower January are festivals or holidays;If the day parameter and the first day in lower January join Date between number is festivals or holidays, determines that current time reaches the default object time.
Step 106:Determine that current time was reached after the default object time, carry out the place of the object time corresponding business Reason.
In the embodiment of the present application, if it is determined that current time was reached after the object time, and the processing carried out includes:To Corresponding operating system sends prompting message or control instruction, so that the operating system performs corresponding behaviour in current time Make.For example, reminding peace card paying system timing to carry out wild card reimbursement processing, or control unlatching or the pass of accounting process systems Close.
Below to need exemplified by monthly last working day closes the application scenarios of accounting process systems, illustrate that one is real Example.In the example, the object time to close account day, i.e. monthly last working day;The parameter threshold is 25;Described One orientation range is the number range more than 0 and less than or equal to 1, and second orientation range is more than 1 and less than or equal to 3 Number range, the first threshold be 2, the first week threshold value be Friday or Saturday, the Second Threshold be 3, The second week threshold value is Friday.Concrete implementation process refers to Fig. 2, and Fig. 2 is the another of the application method for processing business The flow chart of individual embodiment, may comprise steps of 201-215:
Step 201:Current time parameter is obtained, the time parameter includes moon parameter, day parameter and week parameter.
Step 202:Judge whether the day parameter is higher than 25, step 203 is performed if not, if performing step 204.
Step 203:Accounting process systems are controlled to be in opening.During in opening, accounting data can be handled.
Step 204:Based on described in the moon gain of parameter day parameter and date of the first day parameter in lower January it is poor.
Step 205:Judge whether the date difference is equal to 1, if performing step 206, step 207 is performed if not.
Step 206:Control accounting process systems are closed.During in opening, forbid handling accounting data.
Step 207:Judge whether the date difference is equal to 2, if performing step 208, step 211 is performed if not.
Step 208:Whether be Friday or Saturday, if performing step 209, perform if not if judging the week parameter Step 210.
Step 209:Control accounting process systems are closed.
Step 210:Accounting process systems are controlled to be in opening.
Step 211:Judge whether the date difference is equal to 3, step 212 is performed if not, if performing step 213.
Step 212:Accounting process systems are controlled to be in opening.
Step 213:Whether be Friday, if performing step 214, step is performed if not if judging the week parameter 215。
Step 214:Control accounting process systems are closed.
Step 215:Accounting process systems are controlled to be in opening.
From above-described embodiment:When the day parameter contained by current time parameter is higher than default parameter threshold, base In described in the moon gain of parameter day parameter and date of the first day parameter in lower January it is poor, it is poor default the on the gained date In the range of one positioning, determine that current time reaches the default object time;In gained date difference in default second orientation range It is interior, determine whether the week parameter matches with default week threshold value, if the week parameter and the week threshold value Match somebody with somebody, determine that current time reaches the default object time.Therefore, by analyze contained by current time parameter day parameter and Week parameter, can quickly and accurately determine whether current time reaches the default object time, can effectively improve the time determine The degree of accuracy of position.
No matter the object time positioned if necessary to close account day, which of works as the moon for 1 year, or different enterprises and institutions are single Whether the pass account day of position is identical, is set based on demand after the object time, and accounting data is terminated in the time determined by the application Processing, can effectively reduce the influence to the promptness of business processing.
Embodiment with foregoing method for processing business is corresponding, and present invention also provides the embodiment of business processing device.
Referring to Fig. 3, Fig. 3 is one embodiment block diagram of the application business processing device, and the device may include:Time parameter Acquisition module 310, date poor acquisition module 320, the first locating module 330, week matching module 340, the second locating module 350 With Service Processing Module 360.
Wherein, time parameter acquisition module 310, the current time parameter for obtaining, the time parameter is joined including the moon Number, day parameter and week parameter.
Date difference acquisition module 320, for when the day parameter is higher than default parameter threshold, based on the moon parameter The date for obtaining the day parameter and the first day parameter in lower January is poor.
First locating module 330, for when the date, difference was in default first orientation range, determining current time Reach the default object time.
Week matching module 340, in default second orientation range, determining the week ginseng in date difference Whether number matches with default week threshold value, wherein, the minimum value in second orientation range is higher than the described first positioning model Enclose interior maximum.
Second locating module 350, for when the week parameter is matched with the week threshold value, determining that current time is arrived Up to the default object time.
Service Processing Module 360, for it is determined that after the current time arrival default object time, carrying out the object time The processing of corresponding business.
In an optional implementation, after time parameter acquisition module 310 gets the time parameter, this Shen Please embodiment business processing device can also include (not shown in Fig. 3):
Festivals or holidays determining module, for determine the date between the day parameter and the first day parameter in lower January whether be Festivals or holidays.
3rd locating module, is festivals or holidays for the date between the day parameter and the first day parameter in lower January When, determine that current time reaches the default object time.
In another optional implementation, if date difference is in default second orientation range, the application The business processing device of embodiment can also include (not shown in Fig. 3):
First threshold matching module, for being the first threshold in second orientation range in date difference, it is determined that Whether the week parameter matches with default first week threshold value.
4th locating module, for when the week parameter is matched with the first week threshold value, determining current time Reach the default object time.
Second Threshold matching module, for when date difference is Second Threshold in second orientation range, really Whether the fixed week parameter matches with default second week threshold value.
5th locating module, for when the week parameter is matched with the second week threshold value, determining current time Reach the default object time.
In another optional implementation, the object time is the closing day of accounting process systems.
In another optional implementation, the object time is following any time:
Last working day of every month, last working day in each season, last annual working day.
In another optional implementation, the parameter threshold is 25, and first orientation range is more than 0 and small In or equal to 1 number range, second orientation range for more than 1 and less than or equal to 3 number range, first threshold It is worth for 2, the first week threshold value is Friday or Saturday, the Second Threshold is 3, and the second week threshold value is week Five.
In another optional implementation, date difference acquisition module 320 is obtained before the date difference, and the application is implemented The business processing device of example can also include (not shown in Fig. 3):
Season determining module, for the object time be corresponding season last working day when, it is determined that described Month parameter whether be current season last month parameter.
First comparison module, for when the moon parameter is last month parameter in current season, determining the day Whether parameter is higher than the parameter threshold.
6th locating module, for when the day parameter is not higher than the parameter threshold, determining that current time is not reached The default object time.
Annual determining module, for when the object time is last annual working day, determining the moon ginseng Whether number is last month parameter then.
Second comparison module, for when the moon parameter is last month parameter then, determining the day parameter Whether the parameter threshold is higher than.
7th locating module, for when the day parameter is not higher than the parameter threshold, determining that current time is not reached The default object time.
The function of unit (or module) and the implementation process of effect specifically refer to right in the above method in said apparatus The implementation process of step is answered, be will not be repeated here.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is real referring to method Apply the part explanation of example.Device embodiment described above is only schematical, wherein described be used as separating component The unit or module of explanation can be or may not be physically separate, and the part shown as unit or module can be with It is or may not be physical location or module, you can with positioned at a place, or multiple network lists can also be distributed to In member or module.Some or all of module therein can be selected to realize the mesh of application scheme according to the actual needs 's.Those of ordinary skill in the art are without creative efforts, you can to understand and implement.
The embodiment of the application business processing device can be using on an electronic device.Specifically can by computer chip or Entity is realized, or is realized by the product with certain function.In a kind of typical realization, electronic equipment is computer, meter The concrete form of calculation machine can be personal computer, laptop computer, cell phone, camera phone, smart phone, individual number Word assistant, media player, navigation equipment, E-mail receiver/send equipment, game console, tablet PC, wearable device, Internet television, intelligent locomotive, the combination of intelligent home device or any several equipment in these equipment.
Device embodiment can be realized by software, can also be realized by way of hardware or software and hardware combining.With Exemplified by software is realized, as the device on a logical meaning, being will be non-volatile by the processor of electronic equipment where it Corresponding computer program instructions read what operation in internal memory was formed in the computer-readable recording mediums such as memory.For hardware view, As shown in figure 4, being a kind of hardware structure diagram of the application business processing device place electronic equipment, except the processing shown in Fig. 4 Outside device, internal memory, network interface and nonvolatile memory, the electronic equipment in embodiment where device is generally according to this The actual functional capability of electronic equipment, can also include other hardware, this is repeated no more.The storage processor of electronic equipment can be The memory of executable instruction;Processor for reading the programmed instruction of the memory storage, and can be made with coupled memory For response, following operation is performed:Current time parameter is obtained, the time parameter includes moon parameter, day parameter and week Parameter;If the day parameter is higher than default parameter threshold, based on described in the moon gain of parameter day parameter with lower January The date of first day parameter is poor;If the date difference determines that current time is reached default in default first orientation range Object time;If the date difference determines the week parameter and default week in default second orientation range Whether threshold value matches, wherein, the numerical value in second orientation range is above the numerical value in first orientation range;If The week parameter is matched with the week threshold value, determines that current time reaches the default object time;Determine that current time is arrived Up to after the default object time, the processing of the object time corresponding business is carried out.
In other embodiments, the operation performed by processor may be referred to description related in embodiment of the method above, It will not be described here.
The preferred embodiment of the application is the foregoing is only, not to limit the application, all essences in the application God is with principle, and any modification, equivalent substitution and improvements done etc. should be included within the scope of the application protection.

Claims (16)

1. a kind of method for processing business, it is characterised in that comprise the following steps:
Current time parameter is obtained, the time parameter includes moon parameter, day parameter and week parameter;
If the day parameter is higher than default parameter threshold, based on described in the moon gain of parameter day parameter with the head in lower January The date of individual day parameter is poor;
If the date difference determines that current time reaches the default object time in default first orientation range;
If date difference is in default second orientation range, determine whether are the week parameter and default week threshold value Matching, wherein, the minimum value in second orientation range is higher than the maximum in first orientation range;
If the week parameter is matched with the week threshold value, determine that current time reaches the default object time;
Determine that current time was reached after the default object time, carry out the processing of the object time corresponding business.
2. according to the method described in claim 1, it is characterised in that the day parameter that is based on described in the moon gain of parameter is with Before the date difference of the first day parameter in January, methods described is further comprising the steps of:
Determine whether the date between the day parameter and the first day parameter in lower January is festivals or holidays;
If the date between the day parameter and the first day parameter in lower January is festivals or holidays, determine that current time is reached pre- If object time.
3. according to the method described in claim 1, it is characterised in that if the date, difference was in default second orientation range Interior, methods described is further comprising the steps of:
If the date difference is the first threshold in second orientation range, the week parameter and default first is determined Week, whether threshold value matched;
If the week parameter is matched with the first week threshold value, determine that current time reaches the default object time;
If the date difference is the Second Threshold in second orientation range, the week parameter and default second is determined Week, whether threshold value matched;
If the week parameter is matched with the second week threshold value, determine that current time reaches the default object time.
4. according to the method described in claim 1, it is characterised in that the object time is the closing day of accounting process systems.
5. method according to any one of claim 1 to 4, it is characterised in that when the object time is following any Between:
Last working day of every month, last working day in each season, last annual working day.
6. method according to claim 5, it is characterised in that the parameter threshold is 25, first orientation range is Number range more than 0 and less than or equal to 1, second orientation range is the number range more than 1 and less than or equal to 3, The first threshold is 2, and the first week threshold value is Friday or Saturday, and the Second Threshold is 3, second week Threshold value is Friday.
7. method according to claim 5, it is characterised in that the day parameter that is based on described in the moon gain of parameter is with Before the date difference of the first day parameter in January, methods described is further comprising the steps of:
Whether if the object time is last working day in corresponding season, it is current season to determine the moon parameter Last month parameter;
If last month parameter in current season, it is determined that whether the day parameter is higher than the parameter threshold, if Not higher than described parameter threshold, it is determined that current time does not reach the default object time;
Whether if the object time is last annual working day, it is then last to determine the moon parameter Month parameter;
If last month parameter then, it is determined that whether the day parameter is higher than the parameter threshold, if not high In the parameter threshold, it is determined that current time does not reach the default object time.
8. a kind of electronic equipment, it is characterised in that including:
Processor;
Store the memory of processor-executable instruction;
Wherein, the processor is coupled in the memory, the programmed instruction for reading the memory storage, and is used as sound Should, perform following operation:
Current time parameter is obtained, the time parameter includes moon parameter, day parameter and week parameter;
If the day parameter is higher than default parameter threshold, based on described in the moon gain of parameter day parameter with the head in lower January The date of individual day parameter is poor;
If the date difference determines that current time reaches the default object time in default first orientation range;
If date difference is in default second orientation range, determine whether are the week parameter and default week threshold value Matching, wherein, the numerical value in second orientation range is above the numerical value in first orientation range;
If the week parameter is matched with the week threshold value, determine that current time reaches the default object time;
Determine that current time was reached after the default object time, carry out the processing of the object time corresponding business.
9. a kind of business processing device, it is characterised in that including:
Time parameter acquisition module, the current time parameter for obtaining, the time parameter include moon parameter, day parameter and Week parameter;
Date difference acquisition module, for when the day parameter is higher than default parameter threshold, based on the moon gain of parameter institute The date for stating day parameter and the first day parameter in lower January is poor;
First locating module, for when the date, difference was in default first orientation range, determining that current time is reached pre- If object time;
Week matching module, in default second orientation range, determined in the date difference week parameter with it is pre- If week threshold value whether match, wherein, minimum value in second orientation range is higher than in first orientation range Maximum;
Second locating module, for when the week parameter is matched with the week threshold value, determining that it is default that current time is reached Object time;
Service Processing Module, for it is determined that after the current time arrival default object time, carrying out the object time corresponding The processing of business.
10. device according to claim 9, it is characterised in that the time parameter acquisition module gets the time After parameter, described device also includes:
Festivals or holidays determining module, for determining whether the date between the day parameter and the first day parameter in lower January is that section is false Day;
When 3rd locating module for the date between the day parameter and the first day parameter in lower January is festivals or holidays, Determine that current time reaches the default object time.
11. device according to claim 9, it is characterised in that if the date, difference was in default second orientation range Interior, described device also includes:
First threshold matching module, for being the first threshold in second orientation range in date difference, it is determined that described Week, whether parameter matched with default first week threshold value;
4th locating module, for when the week parameter is matched with the first week threshold value, determining that current time is reached The default object time;
Second Threshold matching module, for when the date, difference was the Second Threshold in second orientation range, determining institute State whether week parameter matches with default second week threshold value;
5th locating module, for when the week parameter is matched with the second week threshold value, determining that current time is reached The default object time.
12. device according to claim 9, it is characterised in that the object time is the closing day of accounting process systems.
13. the device according to any one of claim 9 to 12, it is characterised in that the object time is following any Time:
Last working day of every month, last working day in each season, last annual working day.
14. device according to claim 13, it is characterised in that the parameter threshold is 25, first orientation range For the number range more than 0 and less than or equal to 1, second orientation range is the numerical value model more than 1 and less than or equal to 3 Enclose, the first threshold is 2, the first week threshold value is Friday or Saturday, the Second Threshold is 3, described second Week threshold value be Friday.
15. device according to claim 14, it is characterised in that obtain the date in the date poor acquisition module poor Before, described device also includes:
Season determining module, for when the object time is last working day in corresponding season, determining moon ginseng Number whether be current season last month parameter;
First comparison module, for when the moon parameter is last month parameter in current season, determining the day parameter Whether the parameter threshold is higher than;
6th locating module, for when the day parameter is not higher than the parameter threshold, determining that current time is not reached default Object time;
Annual determining module, for when the object time is last annual working day, determining that the moon parameter is No is last month parameter then;
Second comparison module, for when the moon parameter is last month parameter then, whether determining the day parameter Higher than the parameter threshold;
7th locating module, for when the day parameter is not higher than the parameter threshold, determining that current time is not reached default Object time.
16. one or more machine readable medias, it is characterised in that instruction is stored thereon with, when by one or more processors During execution so that terminal device performs the method as any one of claim 1-7.
CN201611185069.1A 2016-12-20 2016-12-20 Service processing method, device and equipment and readable medium Active CN107038552B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611185069.1A CN107038552B (en) 2016-12-20 2016-12-20 Service processing method, device and equipment and readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611185069.1A CN107038552B (en) 2016-12-20 2016-12-20 Service processing method, device and equipment and readable medium

Publications (2)

Publication Number Publication Date
CN107038552A true CN107038552A (en) 2017-08-11
CN107038552B CN107038552B (en) 2021-03-05

Family

ID=59531170

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611185069.1A Active CN107038552B (en) 2016-12-20 2016-12-20 Service processing method, device and equipment and readable medium

Country Status (1)

Country Link
CN (1) CN107038552B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109298925A (en) * 2018-09-27 2019-02-01 郑州云海信息技术有限公司 A kind of start by set date method, system and the relevant apparatus of periodic duty

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4148180A (en) * 1976-05-11 1979-04-10 Kabushiki Kaisha Suwa Seikosha Electronic timepiece circuit for automatically displaying the day of the week
JP2004268024A (en) * 2003-02-17 2004-09-30 Kazumi Shimomura Portable input/output terminal for septic tank management, and control program used therefor
CN101918973A (en) * 2007-11-30 2010-12-15 瑞士信贷证券(美国)有限责任公司 Be used to generate and safeguard the computer system and method for financial benchmark
CN102780723A (en) * 2011-05-11 2012-11-14 联想(北京)有限公司 Information acquisition method and information acquisition device
JP2015074170A (en) * 2013-10-09 2015-04-20 木下 輝雄 Perpetual calendar
CN104749947A (en) * 2013-12-26 2015-07-01 卡西欧计算机株式会社 Electronic Device And Date And Time Information Obtaining Method
CN104951921A (en) * 2014-03-26 2015-09-30 联想移动通信科技有限公司 Method and device for prompting festivals and holidays
CN106067070A (en) * 2016-05-26 2016-11-02 北京小米移动软件有限公司 Ticket booking reminding method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4148180A (en) * 1976-05-11 1979-04-10 Kabushiki Kaisha Suwa Seikosha Electronic timepiece circuit for automatically displaying the day of the week
JP2004268024A (en) * 2003-02-17 2004-09-30 Kazumi Shimomura Portable input/output terminal for septic tank management, and control program used therefor
CN101918973A (en) * 2007-11-30 2010-12-15 瑞士信贷证券(美国)有限责任公司 Be used to generate and safeguard the computer system and method for financial benchmark
CN102780723A (en) * 2011-05-11 2012-11-14 联想(北京)有限公司 Information acquisition method and information acquisition device
JP2015074170A (en) * 2013-10-09 2015-04-20 木下 輝雄 Perpetual calendar
CN104749947A (en) * 2013-12-26 2015-07-01 卡西欧计算机株式会社 Electronic Device And Date And Time Information Obtaining Method
CN104951921A (en) * 2014-03-26 2015-09-30 联想移动通信科技有限公司 Method and device for prompting festivals and holidays
CN106067070A (en) * 2016-05-26 2016-11-02 北京小米移动软件有限公司 Ticket booking reminding method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
YOSHINARI NOMURA 等: "Bring Your Own Calendar: A CalDAV-Based Virtual Calendar System", 《2013 EIGHTH INTERNATIONAL CONFERENCE ON BROADBAND AND WIRELESS COMPUTING, COMMUNICATION AND APPLICATIONS》 *
飞飞秋: "C#实现工作日的计算", 《百度文库》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109298925A (en) * 2018-09-27 2019-02-01 郑州云海信息技术有限公司 A kind of start by set date method, system and the relevant apparatus of periodic duty
CN109298925B (en) * 2018-09-27 2021-10-15 郑州云海信息技术有限公司 Periodic task timing starting method, system and related device

Also Published As

Publication number Publication date
CN107038552B (en) 2021-03-05

Similar Documents

Publication Publication Date Title
US11062413B1 (en) Automated secondary linking for fraud detection systems
US20180173808A1 (en) Intent and bot based query guidance
CN109408262B (en) Service data processing method and related equipment
TWI717660B (en) Method and device for generating capital flow report and electronic equipment
CN108920498B (en) Data query method, device and equipment
US11570214B2 (en) Crowdsourced innovation laboratory and process implementation system
CN104484116A (en) Information input method and information input device
CN109766323A (en) The full link monitoring method, apparatus of loan transaction, computer equipment and storage medium
US20200175522A1 (en) Predicting online customer service requests based on clickstream key patterns
CN108932582A (en) Risk information determines method, apparatus, computer equipment and storage medium
WO2018153316A1 (en) Method and apparatus for obtaining text extraction model
CN109271356A (en) Log file formats processing method, device, computer equipment and storage medium
CN109766370A (en) Data processing method, data service system and equipment
CN110675249A (en) Matching method, device, server and storage medium for network lending
EP3149588A1 (en) System and method for recording the beginning and ending of job level activity in a mainframe computing environment
CN113778878A (en) Interface testing method and device, electronic equipment and storage medium
CN107038552A (en) Method for processing business, device and equipment, computer-readable recording medium
CN107193833A (en) The monitoring method and device of database access
CN109284331A (en) Accreditation information acquisition method, terminal device and medium based on business datum resource
CN113342863A (en) Business document processing method and device, computer equipment and storage medium
WO2023202702A1 (en) Schedule information synchronization method and apparatus, and electronic device
CN110046172A (en) In line computation data processing method and system
CN109582543A (en) Data retrogressive method and device
CN116155597A (en) Access request processing method and device and computer equipment
CN109656901A (en) Data processing method and device, electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20201016

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20201016

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20240206

Address after: Guohao Times City # 20-01, 128 Meizhi Road, Singapore

Patentee after: Advanced Nova Technology (Singapore) Holdings Ltd.

Country or region after: Singapore

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee before: Innovative advanced technology Co.,Ltd.

Country or region before: Cayman Islands

TR01 Transfer of patent right