CN103679276A - Method and system for controlling budget period range - Google Patents
Method and system for controlling budget period range Download PDFInfo
- Publication number
- CN103679276A CN103679276A CN201310692509.2A CN201310692509A CN103679276A CN 103679276 A CN103679276 A CN 103679276A CN 201310692509 A CN201310692509 A CN 201310692509A CN 103679276 A CN103679276 A CN 103679276A
- Authority
- CN
- China
- Prior art keywords
- budget period
- parameter
- module
- control
- markup language
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Abstract
The invention relates to a method and system for controlling a budget period range. The method comprises the steps that the budget period range selected by a user is obtained; according to the selected budget period range, a corresponding budget period range control category is read from an extensible markup language configuration file, wherein at least two budget period range control categories in five categories are configured in the extensible markup language configuration file and the five budget period range control categories comprise the scheme control category, the per-year control category, the half-year control category, the quarterly control category and the monthly control category; parameters are distributed according to the read budget period range control category; the parameters are traversed, whether a parameter which is not calculated exists or not is judged, if yes, the parameter which is not calculated is obtained, an achievement category is calculated, a living example is generated, the parameters are traversed again, and if the parameter which is not calculated does not exist, the process is ended. The method and system for controlling the budget period range are not limited to a single control category, the application range of the method and system is expanded, selection can be made according to the requirements, and flexibility is strong.
Description
Technical field
The present invention relates to data processing field, particularly relate to a kind of control method and system of budget period scope.
Background technology
Company, tissue or other entities are usually runed according to specific budget.For example, can during special time period, the department to each tissue or specific company distribute certain budget.In budget, relate to special time period, scope control during needing to carry out, traditional budget period scope control can only be processed according to scope during scheme appointment, causes budget period scope control mode fixed single, and very flexible, applies limited.
Summary of the invention
Based on this, be necessary to cause very flexible, apply limited problem for traditional budget period scope control mode fixed single, provide a kind of dirigibility by force and the budget period control method of energy expanded application scope.
In addition, be also necessary to provide a kind of dirigibility strong and can expand the budget period control system of usable range.
A budget period range control method, comprises the following steps:
Obtain the budget period scope that user selects;
According to the budget period scope of described selection, from extend markup language configuration file, read corresponding budget period scope control classification, wherein, in described extend markup language configuration file, configure in plurality of classes the budget period scope control of at least two kinds;
According to the described budget period scope control classification allocation of parameters reading;
Travel through described parameter, judge whether to have the parameter of not calculating, if exist, the parameter of not calculating described in obtaining, calculates and realizes class, generates example, then continues traversal parameter, if do not exist, finishes.
In an embodiment, described method also comprises therein: the extend markup language configuration file of at least two kinds of budget period scope controls in pre-configured plurality of classes.
In an embodiment, described method also comprises therein:
Obtain the modify instruction of user to described extend markup language configuration file;
According to described modify instruction, add the required budget period range of control classification of user.
In an embodiment, described method also comprises therein:
In advance by described extend markup language definition standard interface;
The described step according to the required budget period range of control classification of described modify instruction interpolation user comprises:
According to described modify instruction, according to described standard interface, add the required budget period range of control classification of user.
In an embodiment, described method also comprises therein:
Pre-defined acquiescence realizes class and the abstract class that realizes;
The described parameter of described traversal, judges whether to have the parameter of not calculating, if exist, the parameter of not calculating described in obtaining, calculates and realize class, and the step that generates example comprises:
The described allocation of parameters of described traversal, judges whether to have the allocation of parameters of not calculating, if exist, the allocation of parameters of not calculating described in obtaining, realizes class by described parameter according to acquiescence or the abstract class that realizes is calculated, and generates example.
A budget period scope control system, comprising:
Select acquisition module, the budget period scope of selecting for obtaining user;
Read module, for reading corresponding budget period scope control classification according to the budget period scope of described selection from extend markup language configuration file, wherein, in described extend markup language configuration file, configure in plurality of classes the budget period scope control of at least two kinds;
Distribution module, for the budget period scope control classification allocation of parameters reading described in basis;
Spider module, for traveling through described parameter;
Judge module, for after the described parameter of traversal, judges whether to have the parameter of not calculating;
Generation module, for when judging the parameter that existence do not calculate, the parameter of not calculating described in obtaining, calculates and realizes class, generates example, then continues traversal parameter by described spider module, if do not exist, finishes.
In an embodiment, described system also comprises therein:
Instruction acquisition module, for obtaining the modify instruction of user to described extend markup language configuration file;
Add module, for adding the required budget period range of control classification of user according to described modify instruction.
In an embodiment, described system also comprises therein:
Configuration module, for the extend markup language configuration file of at least two kinds of budget period scope controls of pre-configured plurality of classes.
In an embodiment, described system also comprises therein:
The first predefine module, for defining standard interface by described extend markup language in advance;
Described interpolation module is also for adding the required budget period range of control classification of user according to described modify instruction according to described standard interface.
In an embodiment, described system also comprises therein:
The second predefine module, realizes class and the abstract class that realizes for pre-defined acquiescence;
Described generation module is also for when judging the parameter that existence do not calculate, and the parameter of not calculating described in obtaining, realizes class by described parameter according to acquiescence or the abstract class that realizes is calculated, and generates example.
Above-mentioned budget period range control method and system, by extend markup language configuration file, at least two kinds of budget period scope control classifications in five kinds have been configured, be not limited to single control category, expanded its range of application, during user has selected, after scope, can read corresponding during scope control classification, can select as required, dirigibility is strong.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of a budget period range control method in embodiment;
Fig. 2 is the process flow diagram of budget period range control method in another embodiment;
Fig. 3 is the structured flowchart of budget period scope control system in an embodiment;
Fig. 4 is the structured flowchart of budget period scope control system in another embodiment;
Fig. 5 is the structured flowchart of budget period scope control system in another embodiment.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Fig. 1 is the process flow diagram of budget period range control method in another embodiment.This budget period range control method, comprising:
Concrete, the budget period scope control that user can need to select according to self, as scope control during per year, monthly, quarterly etc.
Concrete, extend markup language (Extensible Markup Language is called for short XML) is a kind of markup language, and it is used for transmitting and carrying data message, is convenient to computing machine pack processing containing the article of various information etc.Plurality of classes can be two kinds, three kinds, four kinds, five kinds, six kinds, ten kinds, hundred kinds etc.Take five kinds as example, the budget period scope of plurality of classes can comprise by scheme control, control per year, by controlling half a year, control quarterly and monthly control etc.
By scheme control refer to according to the concrete scheme of formulating budget, carry out during scope control, as needs are realized certain scheme from year Dec in May, 2012 to 2012, scope during wherein the time of defined is that this scheme controls in scheme.
Control per year and refer to according to 1 year start and to the end of the year, finish to realize budget period scope control, as scope during 1 year year Dec of in January, 2012 to 2012.
By controlling half a year, refer to by scope control during half a year, as year semiannual period in June in January, 2012 to 2012.
Control quarterly refer to by each season as during scope control, as controlled as the first quarter in January, February, March.
Monthly control refers to according to the time limit scope of every month and controls, as January, May etc.
Scope control classification during only having listed five kinds in the present embodiment, also can comprise other, in this no limit.
This parameter kind is a lot, for budget period scope control required.
Concrete, class is to the object definition variable of certain type and the prototype of method, adopts function representation, and the information that it comprises relevant object action mode comprises title, method, attribute and the time of object.Example is the object of class.
Above-mentioned budget period range control method, by extend markup language configuration file, at least two kinds of budget period scope control classifications in five kinds have been configured, be not limited to single control category, expanded its range of application, during user has selected, after scope, can read corresponding during scope control classification, can select as required, dirigibility is strong.
In one embodiment, above-mentioned budget period range control method, further comprising the steps of: the extend markup language configuration file of at least two kinds of budget period scope controls in pre-configured five kinds, wherein, the budget period scope of described five kinds comprise by scheme control, control per year, by controlling half a year, controlling quarterly and monthly control.
In one embodiment, above-mentioned budget period range control method also comprises: pre-defined acquiescence realizes class and the abstract class that realizes.
Acquiescence realizes the function that class refers to that some functions have had specific implementation directly to use.The abstract class that realizes refers to that the inside partial function realizes, but realizes the function that need to realize by the mode of inheriting completely.
This travels through this parameter, judge whether to have the parameter of not calculating, if exist, obtain the parameter that this does not calculate, calculate and realize class, the step that generates example comprises: this travels through this allocation of parameters, judge whether to have the allocation of parameters of not calculating, if exist, obtain the allocation of parameters that this does not calculate, this parameter is realized to class or abstract class calculating, the generation example realized according to acquiescence.
By acquiescence, realize class or the abstract class that realizes generates required example by the parameter in user-selected budget period scope control classification, simple to operate, and applicable.
Fig. 2 is the process flow diagram of a budget period range control method in embodiment.Ginseng Fig. 2, this budget period range control method, comprising:
Plurality of classes can be two kinds, three kinds, four kinds, five kinds, six kinds, ten kinds, hundred kinds etc.The budget period scope of this plurality of classes comprise by scheme control, control per year, by controlling half a year, control quarterly and monthly control etc.
In the present embodiment, this budget period range control method also comprises: in advance by this extend markup language definition standard interface.Concrete, pre-defined standard interface, develops according to standard while facilitating secondary development fast, saves the development time.
Step 206 comprises: according to this modify instruction, according to this standard interface, add the required budget period range of control classification of user.
Above-mentioned budget period range control method, by obtaining user's modify instruction, can add corresponding budget period scope control classification, has reduced the difficulty of secondary development, has improved development efficiency, has reduced cost of development.
Fig. 3 is the structured flowchart of budget period scope control system in an embodiment.Ginseng Fig. 3, this budget period scope control system, comprises and selects acquisition module 310, read module 320, distribution module 330, spider module 340, judge module 350 and generation module 360.
Wherein, the budget period scope of selecting acquisition module 310 to select for obtaining user.
Concrete, select acquisition module 310 to obtain the budget period scope control that user can need to select according to self, as scope control during per year, monthly, quarterly etc.
Read module 320 is for reading corresponding budget period scope control classification according to the budget period scope of this selection from extend markup language configuration file, wherein, in this extend markup language configuration file, configure in plurality of classes the budget period scope control of at least two kinds.
Plurality of classes can be two kinds, three kinds, four kinds, five kinds, six kinds, ten kinds, hundred kinds etc.The budget period scope of this plurality of classes comprise by scheme control, control per year, by controlling half a year, control quarterly and monthly control etc.
The budget period scope control classification allocation of parameters of distribution module 330 for reading according to this.
Judge module 350, for after this parameter of traversal, judges whether to have the parameter of not calculating.
Concrete, class is to the object definition variable of certain type and the prototype of method, adopts function representation, and the information that it comprises relevant object action mode comprises title, method, attribute and the time of object.Example is the object of class.
Above-mentioned budget period scope control system, by extend markup language configuration file, at least two kinds of budget period scope control classifications in five kinds have been configured, be not limited to single control category, expanded its range of application, during user has selected, after scope, can read corresponding during scope control classification, can select as required, dirigibility is strong.
Fig. 4 is the structured flowchart of budget period scope control system in another embodiment.Ginseng Fig. 4, this budget period scope control system, except comprising, select acquisition module 310, read module 320, distribution module 330, spider module 340, judge module 350 and generation module 360, also comprise configuration module 370, instruction acquisition module 380 and add module 390.
Wherein, configuration module 370 is for according to the budget period scope control of extend markup language configuration file configuration plurality of classes, the budget period scope of this plurality of classes can comprise by scheme control, control per year, by controlling half a year, control quarterly and monthly control etc.
Add module 390 for adding the required budget period range of control classification of user according to this modify instruction.
Above-mentioned budget period scope control system, by extend markup language configuration file, configure at least two kinds of budget period scope control classifications in five kinds, be not limited to single control category, expanded its range of application, and during multiple, scope control classification can be chosen as required, and dirigibility is strong; By obtaining user's modify instruction, can add corresponding budget period scope control classification, reduced the difficulty of secondary development, improved development efficiency, reduced cost of development.
Fig. 5 is the structured flowchart of budget period scope control system in another embodiment.Ginseng Fig. 5, this budget period scope control system, except comprising, select acquisition module 310, read module 320, distribution module 330, spider module 340, judge module 350, generation module 360, configuration module 370, instruction acquisition module 380 and add module 390, also comprising the first predefine module 392 and the second predefine module 394.
The first predefine module 392 is for defining standard interface by this extend markup language in advance.
This adds module 390 also for adding the required budget period range of control classification of user according to this modify instruction according to this standard interface.
Concrete, pre-defined standard interface, develops according to standard while facilitating secondary development fast, saves the development time.
The second predefine module 394 realizes class and the abstract class that realizes for pre-defined acquiescence.Concrete, acquiescence realizes the function that class refers to that some functions have had specific implementation directly to use.The abstract class that realizes refers to that the inside partial function realizes, but realizes the function that need to realize by the mode of inheriting completely.
This generation module 360 also, for when judging the parameter that existence do not calculate, obtains the parameter that this does not calculate, and this parameter is realized to class according to acquiescence or the abstract class that realizes is calculated, and generates example.
By acquiescence, realize class or the abstract class that realizes generates required example by the parameter in user-selected budget period scope control classification, simple to operate, and applicable.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, to come the hardware that instruction is relevant to complete by computer program, described program can be stored in a computer read/write memory medium, this program, when carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
The above embodiment has only expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.
Claims (10)
1. a budget period range control method, comprises the following steps:
Obtain the budget period scope that user selects;
According to the budget period scope of described selection, from extend markup language configuration file, read corresponding budget period scope control classification, wherein, in described extend markup language configuration file, configure in plurality of classes the budget period scope control of at least two kinds;
According to the described budget period scope control classification allocation of parameters reading;
Travel through described parameter, judge whether to have the parameter of not calculating, if exist, the parameter of not calculating described in obtaining, calculates and realizes class, generates example, then continues traversal parameter, if do not exist, finishes.
2. budget period range control method according to claim 1, is characterized in that, described method also comprises:
The extend markup language configuration file of at least two kinds of budget period scope controls in pre-configured plurality of classes.
3. budget period range control method according to claim 1 and 2, is characterized in that, described method also comprises:
Obtain the modify instruction of user to described extend markup language configuration file;
According to described modify instruction, add the required budget period range of control classification of user.
4. budget period range control method according to claim 3, is characterized in that, described method also comprises:
In advance by described extend markup language definition standard interface;
The described step according to the required budget period range of control classification of described modify instruction interpolation user comprises:
According to described modify instruction, according to described standard interface, add the required budget period range of control classification of user.
5. budget period range control method according to claim 1, is characterized in that, described method also comprises:
Pre-defined acquiescence realizes class and the abstract class that realizes;
The described parameter of described traversal, judges whether to have the parameter of not calculating, if exist, the parameter of not calculating described in obtaining, calculates and realize class, and the step that generates example comprises:
The described allocation of parameters of described traversal, judges whether to have the allocation of parameters of not calculating, if exist, the allocation of parameters of not calculating described in obtaining, realizes class by described parameter according to acquiescence or the abstract class that realizes is calculated, and generates example.
6. a budget period scope control system, is characterized in that, comprising:
Select acquisition module, the budget period scope of selecting for obtaining user;
Read module, for reading corresponding budget period scope control classification according to the budget period scope of described selection from extend markup language configuration file, wherein, in described extend markup language configuration file, configure in plurality of classes the budget period scope control of at least two kinds;
Distribution module, for the budget period scope control classification allocation of parameters reading described in basis;
Spider module, for traveling through described parameter;
Judge module, for after the described parameter of traversal, judges whether to have the parameter of not calculating;
Generation module, for when judging the parameter that existence do not calculate, the parameter of not calculating described in obtaining, calculates and realizes class, generates example, then continues traversal parameter by described spider module, if do not exist, finishes.
7. budget period scope control system according to claim 6, is characterized in that, described system also comprises:
Configuration module, for the extend markup language configuration file of at least two kinds of budget period scope controls of pre-configured plurality of classes.
8. according to the budget period scope control system described in claim 6 or 7, it is characterized in that, described system also comprises:
Instruction acquisition module, for obtaining the modify instruction of user to described extend markup language configuration file;
Add module, for adding the required budget period range of control classification of user according to described modify instruction.
9. budget period scope control system according to claim 8, is characterized in that, described system also comprises:
The first predefine module, for defining standard interface by described extend markup language in advance;
Described interpolation module is also for adding the required budget period range of control classification of user according to described modify instruction according to described standard interface.
10. budget period scope control system according to claim 6, is characterized in that, described system also comprises:
The second predefine module, realizes class and the abstract class that realizes for pre-defined acquiescence;
Described generation module is also for when judging the parameter that existence do not calculate, and the parameter of not calculating described in obtaining, realizes class by described parameter according to acquiescence or the abstract class that realizes is calculated, and generates example.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310692509.2A CN103679276B (en) | 2013-12-16 | 2013-12-16 | The control method and system of budget period range |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310692509.2A CN103679276B (en) | 2013-12-16 | 2013-12-16 | The control method and system of budget period range |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103679276A true CN103679276A (en) | 2014-03-26 |
CN103679276B CN103679276B (en) | 2017-11-21 |
Family
ID=50316760
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310692509.2A Active CN103679276B (en) | 2013-12-16 | 2013-12-16 | The control method and system of budget period range |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103679276B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030163603A1 (en) * | 2002-02-22 | 2003-08-28 | Chris Fry | System and method for XML data binding |
CN101339500A (en) * | 2008-05-22 | 2009-01-07 | 清华大学 | Data binding application program interface creation method based on XML mode |
CN101488085A (en) * | 2008-01-17 | 2009-07-22 | 中兴通讯股份有限公司 | Software interface test method and apparatus |
CN101739402A (en) * | 2008-11-07 | 2010-06-16 | 华为技术有限公司 | Method and device for interest analysis |
-
2013
- 2013-12-16 CN CN201310692509.2A patent/CN103679276B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030163603A1 (en) * | 2002-02-22 | 2003-08-28 | Chris Fry | System and method for XML data binding |
CN101488085A (en) * | 2008-01-17 | 2009-07-22 | 中兴通讯股份有限公司 | Software interface test method and apparatus |
CN101339500A (en) * | 2008-05-22 | 2009-01-07 | 清华大学 | Data binding application program interface creation method based on XML mode |
CN101739402A (en) * | 2008-11-07 | 2010-06-16 | 华为技术有限公司 | Method and device for interest analysis |
Also Published As
Publication number | Publication date |
---|---|
CN103679276B (en) | 2017-11-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20140340396A1 (en) | Method of representing environment object in cyber-physical system using environment data model structure and computer-readable storage medium storing program therefor | |
CN104063495A (en) | Form extension method and form extension device | |
WO2004057458A3 (en) | Method and system for dynamic visualization of multi-dimensional data | |
RU2011134380A (en) | USER COMMAND INTERFACE FOR DISPLAYING MULTIPLE AREAS OF SOFTWARE FUNCTION CONTROLS AREAS | |
US20210272235A1 (en) | Two-dimensional scalar field data visualization method and system based on colormap optimization | |
CN104536768A (en) | Method for improving user-friendly operation of software user interface | |
CN108170656A (en) | Template establishment method, document creating method, rendering intent and device | |
US8843525B2 (en) | Apparatus and method for calculating the selectivity of a range query for multidimensional data | |
CN105653255A (en) | Method arranging report template to automatically generate report files in office frame | |
CN106502680B (en) | A method of pel extension is carried out by visualization interface | |
CN105843618A (en) | Desktop system with custom theme edition function | |
Huettenberger et al. | Decomposition and simplification of multivariate data using pareto sets | |
CN103440197B (en) | A kind of method automatically generating difference test report based on contrast test | |
CN102932416A (en) | Intermediate data storage method, processing method and device in information flow task | |
CN103679276A (en) | Method and system for controlling budget period range | |
CN103019812B (en) | A kind of application deployment method of multiple users, device and terminal device | |
CN109409938A (en) | Commercial circle technique for delineating and device | |
CN108875760A (en) | clustering method and device | |
CN103324542B (en) | Method and device for inter-module calls | |
US8711142B2 (en) | Visual model importation | |
CN106155924B (en) | Picture merging method, device and smart machine | |
CN104750167A (en) | Configuration method and device of dynamic clock topological structure | |
CN106844605A (en) | Batch data logical process method and device | |
CN111984253B (en) | Method and device for adding programming roles based on graphical programming tool | |
CN110674179A (en) | Query interface generation method, device and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |