CN101976240B - Form number generating method and system - Google Patents

Form number generating method and system Download PDF

Info

Publication number
CN101976240B
CN101976240B CN201010289762XA CN201010289762A CN101976240B CN 101976240 B CN101976240 B CN 101976240B CN 201010289762X A CN201010289762X A CN 201010289762XA CN 201010289762 A CN201010289762 A CN 201010289762A CN 101976240 B CN101976240 B CN 101976240B
Authority
CN
China
Prior art keywords
numbering
list
coding rule
generates
module
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.)
Active
Application number
CN201010289762XA
Other languages
Chinese (zh)
Other versions
CN101976240A (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.)
You Pu Information Technology Co., Ltd of UFSOFT
Original Assignee
Yonyou Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yonyou Software Co Ltd filed Critical Yonyou Software Co Ltd
Priority to CN201010289762XA priority Critical patent/CN101976240B/en
Publication of CN101976240A publication Critical patent/CN101976240A/en
Application granted granted Critical
Publication of CN101976240B publication Critical patent/CN101976240B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a form number generating method which comprises the following steps of: formulating a numbering rule according to the input data of a user; and generating a number for a form according to the numbering rule. The invention also provides a form number generating system which comprises a numbering rule formulating module and a number generating module, wherein the numbering rule formulating module is used for formulating the numbering rule according to the input data of the user; and the number generating module is used for generating the number for the form according to the numbering rule. The form number generating method and system can be realized according to the technical scheme of the embodiment, and the applicability of the numbering rule is realized, i.e. the numbering rule can be freely changed or expanded according to different user requirements and different application scenarios; meanwhile, the effectiveness of the generated number is also ensured, i.e. the generated number conforms to the preset numbering rule, and uniqueness and continuity are ensured in business data.

Description

The list numbering generates method and system
Technical field
The present invention relates to list numbering generation technique, relate in particular to the list numbering and generate method and system.
Background technology
In business management software, comprise many form types with different business logic, each form types all need generate the unique numbering of the overall situation for each form instance of the type usually as sign.Though different form types has the different service process logic, in the processing that numbering generates, mostly be to define specific coding rule in advance, along with the increase of form instance generates the numbering that increases progressively.
And because the business processing logic of dissimilar lists, user's request etc. have a lot of differences, it is very complicated that the definition of list coding rule just becomes; In addition, business management software has characteristics such as multi-user concurrent operation, when generating numbering, need consider factors such as multi-client coordinate synchronization.Therefore, list numbering handle be in the management software exploitation one important and have a technology of very high complexity.
In general management software exploitation, the treatment technology scheme that list is numbered often is difficult to improve the problem that possibly occur in ground solution rule definition and the numbering generation.Be mainly reflected in following aspect:
1. can't adapt to changeable user's request and application scenarios.The definition mode of coding rule usually is subject to fixing business datum or application scenarios, and being difficult to provides unified suitable scheme to the user of different industries characteristic, enterprise's characteristic, realizes user's particular service demand.In relevant list numbering treatment technology; Exist the method for having used respectively based on organizing priority to select coding rule, in a plurality of available coding rules, launch and stop using; Solve the applicability problem of rule, but the prerequisite of these two methods all is based on a series of coding rules that defined in advance, therefrom selects the most suitable; And do not provide how based on user personality and application scenarios, by the solution of user's own definition coding rule.
2. when generating numbering; Because operations such as multi-user concurrent, manual change, batch processing; Cause through regular meeting jump number, abnormal data such as double sign, general numbering generation technique is just handled to concurrent situation, the validity that lacks that perfect mechanism control is various and number under maybe situation.In the technology that correlation number generates; Existing provides generation preview numbering to be used for showing respectively; The client/server system that official number is used to preserve; It is unusual to have solved the numbering that network concurrent environment possibly occur down, but is not provided at the method that guarantees numbering validity under the improper operation flows such as manual change, batch processing, also is not provided at the abnormality processing measure that occurs after the misdata.
Can know that based on foregoing the form types of different business and different user demands, application scenarios need more perfect list generation method in the business management software, but present technology is difficult to accomplish following technique effect:
1. the applicability of coding rule: rule can change flexibly or expand to be suitable for different user demands, different application scene;
2. generate the validity of numbering: the numbering of generation meets predefined rule, in business datum, guarantees uniqueness and continuity can reflect the corresponding service implication like clockwork.
Therefore, need a kind of more perfect list to generate method and system and solve above-mentioned problem, can guarantee the applicability and the validity that generates numbering of coding rule.
Summary of the invention
Technical matters to be solved by this invention is; Provide a kind of list numbering to generate method and system; Can guarantee the applicability of coding rule, promptly can change or expand coding rule flexibly, also can guarantee to generate simultaneously the validity of numbering according to different user demands, different application scene; The numbering that promptly generates meets predefined coding rule, in business datum, guarantees uniqueness and continuity.
In view of this, the invention provides a kind of list numbering generation method, comprising: step 102, according to user's input data, formulate coding rule; Step 104 is according to said coding rule, for list generates numbering.
In technique scheme, preferably, said input data comprise: the coding rule parameter, and said coding rule parameter comprises the business datum of said user's appointment; The coding rule parameter type is used for confirming the role of said coding rule parameter in said numbering, and said role comprises prefix and/or flowing water foundation.Through this technical scheme, the user formulates coding rule as required flexibly, it will be understood by those of skill in the art that the data that are used to formulate coding rule include but not limited to coding rule parameter and coding rule parameter type.
In technique scheme, preferably, in the said step 104, when generating numbering for every list, the numbering based on said every list generates max-flow water number word simultaneously, generates numbering to be used to next list.
In technique scheme, preferably, in the said step 104, at first be that said every list generates interim numbering, will said interim numbering save as when numbering based on said user's selection, upgrade said max-flow water number word.Through this technical scheme, make the max-flow water number radical to upgrade according to the time keeping that interim numbering saves as numbering, eliminated in the conventional art influence of jumping that the concurrent operations to list brings number, double sign effectively.
In technique scheme, preferably, also comprise: step 106; Read the coding rule of specifying list; According to the numbering of other corresponding form instance of the coding rule of said appointment list and said appointment list, upgrade said max-flow water number word, generate numbering to be used to said appointment list.Through this technical scheme, can confirm max-flow water number word like the unusual special time of numbering, with the accuracy that guarantees that follow-up list numbering generates.
Pass through technique scheme; Can realize a kind of list generation method; Can realize autonomous definition coding rule, generate the list numbering that meets predefined rule, and in business datum, guarantee uniqueness and continuity according to autonomous definition coding rule based on user personality and application scenarios.
The present invention also provides a kind of list numbering generation system, and comprising: coding rule is formulated module, according to user's input data, formulates coding rule; The numbering generation module is according to said coding rule, for list generates numbering.
In technique scheme, preferably, said input data comprise: the coding rule parameter, and said coding rule parameter comprises the business datum of said user's appointment; The coding rule parameter type is used for confirming the role of said coding rule parameter in said numbering, and said role comprises prefix and/or flowing water foundation.Through this technical scheme, the user formulates coding rule as required flexibly, it will be understood by those of skill in the art that the data that are used to formulate coding rule include but not limited to coding rule parameter and coding rule parameter type.
In technique scheme, preferably, said numbering generation module is that every list generates when numbering, and the numbering based on said every list generates max-flow water number word simultaneously, generates numbering to be used to next list.Through this technical scheme, can confirm max-flow water number word like the unusual special time of numbering, with the accuracy that guarantees that follow-up list numbering generates.
In technique scheme, preferably, said numbering generation module at first is that said every list generates interim numbering, will said interim numbering saves as when numbering based on said user's selection, upgrades said max-flow water number word.Through this technical scheme, make the max-flow water number radical to upgrade according to the time keeping that interim numbering saves as numbering, eliminated in the conventional art influence of jumping that the concurrent operations to list brings number, double sign effectively.
In technique scheme; Preferably; Also comprise: synchronization module, read the coding rule of specifying list, according to the numbering of other corresponding form instance of the coding rule of said appointment list and said appointment list; Upgrade said max-flow water number word, generate numbering to be used to said appointment list.Through this technical scheme, can confirm max-flow water number word like the unusual special time of numbering, with the accuracy that guarantees that follow-up list numbering generates.
Pass through technique scheme; Can realize a kind of list numbering generation system; Can realize autonomous definition coding rule based on user personality and application scenarios; Generate the list numbering that meets predefined rule according to autonomous definition coding rule, and in business datum, guarantee uniqueness and continuity.
Description of drawings
Fig. 1 is the process flow diagram of list numbering generation method according to an embodiment of the invention;
Fig. 2 is the block diagram of list numbering generation system according to an embodiment of the invention;
Fig. 3 is the block diagram of list numbering generation system according to an embodiment of the invention;
Fig. 4 is that the coding rule of the coding rule formulation module of list numbering generation system according to an embodiment of the invention is provided with the interface;
Fig. 5 is the coding rule definition process flow diagram that the use coding rule of list numbering generation system according to an embodiment of the invention is formulated module;
Fig. 6 is the process flow diagram that the numbering generation module of list numbering generation system according to an embodiment of the invention is numbered generation and persistence process; And
Fig. 7 is the process flow diagram that the numbering generation module of list numbering generation system according to an embodiment of the invention is numbered synchronous recording.
Embodiment
Below in conjunction with accompanying drawing and embodiment the present invention is further described in detail.
Set forth a lot of details in the following description so that make much of the present invention, still, the present invention can also adopt other modes that are different from this content of describing to implement, and therefore, the present invention is not limited to the restriction of following disclosed specific embodiment.
Fig. 1 is the process flow diagram of list numbering generation method according to an embodiment of the invention
As shown in Figure 1, the present invention provides a kind of list numbering generation method, comprising: step 102, according to user's input data, formulate coding rule; Step 104 is according to said coding rule, for list generates numbering.
In technique scheme, said input data comprise: the coding rule parameter, and said coding rule parameter comprises the business datum of said user's appointment; The coding rule parameter type is used for confirming the role of said coding rule parameter in said numbering, and said role comprises prefix and/or flowing water foundation.Through this technical scheme, the user formulates coding rule as required flexibly, it will be understood by those of skill in the art that the data that are used to formulate coding rule include but not limited to coding rule parameter and coding rule parameter type.
In technique scheme, in the said step 104, when generating numbering for every list, the numbering based on said every list generates max-flow water number word simultaneously, generates numbering to be used to next list.
In technique scheme, in the said step 104, at first be that said every list generates interim numbering, will said interim numbering save as when numbering based on said user's selection, upgrade said max-flow water number word.Through this technical scheme, make the max-flow water number radical to upgrade according to the time keeping that interim numbering saves as numbering, eliminated in the conventional art influence of jumping that the concurrent operations to list brings number, double sign effectively.
In technique scheme; Also comprise: step 106, read the coding rule of specifying list, according to the numbering of other corresponding form instance of the coding rule of said appointment list and said appointment list; Upgrade said max-flow water number word, generate numbering to be used to said appointment list.Through this technical scheme, can confirm max-flow water number word like the unusual special time of numbering, with the accuracy that guarantees that follow-up list numbering generates.
At this, it should be appreciated by those skilled in the art that step 102 and step 104 can solve technical scheme of the present invention problem to be solved, step 106 constitutes another preferred embodiment with step 102, step 104, is not limited to the present invention.
Pass through technique scheme; Can realize a kind of list numbering generation method; Can realize autonomous definition coding rule based on user personality and application scenarios; Generate the list numbering that meets predefined rule according to autonomous definition coding rule, and in business datum, guarantee uniqueness and continuity.
Fig. 2 is the block diagram of list numbering generation system according to an embodiment of the invention.
As shown in Figure 2, the present invention also provides the present invention that a kind of list numbering generation system 200 also is provided, and comprising: coding rule is formulated module 202, according to user's input data, formulates coding rule; Numbering generation module 204 is according to said coding rule, for list generates numbering.
In technique scheme, said input data comprise: the coding rule parameter, and said coding rule parameter comprises the business datum of said user's appointment; The coding rule parameter type is used for confirming the role of said coding rule parameter in said numbering, and said role comprises prefix and/or flowing water foundation.Through this technical scheme, the user formulates coding rule as required flexibly, it will be understood by those of skill in the art that the data that are used to formulate coding rule include but not limited to coding rule parameter and coding rule parameter type.
In technique scheme, said numbering generation module 204 is that every list generates when numbering, and the numbering based on said every list generates max-flow water number word simultaneously, generates numbering to be used to next list.
In technique scheme, said numbering generation module 204 at first is that said every list generates interim numbering, will said interim numbering saves as when numbering based on said user's selection, upgrades said max-flow water number word.Through this technical scheme, make the max-flow water number radical to upgrade according to the time keeping that interim numbering saves as numbering, eliminated in the conventional art influence of jumping that the concurrent operations to list brings number, double sign effectively.
In technique scheme; Also comprise: synchronization module 206, read the coding rule of specifying list, according to the numbering of other corresponding form instance of the coding rule of said appointment list and said appointment list; Upgrade said max-flow water number word, generate numbering to be used to said appointment list.Through this technical scheme, can confirm max-flow water number word like the unusual special time of numbering, with the accuracy that guarantees that follow-up list numbering generates.
At this; It should be appreciated by those skilled in the art coding rule formulation module 202; Numbering generation module 204 can constitute complete technical scheme, can solve technical matters of the present invention, and synchronization module 206 is formulated module 202 with coding rule; Numbering generation module 204 constitutes another preferred embodiment, is not limited to the present invention.
Pass through technique scheme; Can realize a kind of list numbering generation system; Can realize autonomous definition coding rule based on user personality and application scenarios; Generate the list numbering that meets predefined rule according to autonomous definition coding rule, and in business datum, guarantee uniqueness and continuity.
Fig. 3 to Fig. 7 describes the list numbering generation system of one embodiment of the present of invention in detail.
At first as shown in Figure 3, its general description list according to an embodiment of the invention numbering generation system, it comprises two corn module:
1. coding rule is formulated module 302: be used to define the coding rule parameter, coding rule, the numbering that can be used for the list numbering and generate and maintenance option, it comprises that coding rule parameter and parameter type definition module 304, coding rule parameter formatization are provided with module 306, coding rule parameter group 308, numbering and generate the control option module 310 is set.
2. number generation module 312: be used for generating numbering according to existing coding rule; The maintenance number historical record, number data synchronously, it comprises numbering serial number historgraphic data recording module 314, numbering and persistence numbering module 316, number record synchronization module 318, numbering generative process control module 320 temporarily.
Below in conjunction with Fig. 4 and Fig. 5 coding rule formulation module 302 is elaborated.
The list numbering comprises prefix with professional meaning and the serial number that increases progressively according to certain condition usually.Like coding rule " document typing people+document date+4 serial number "; Numbering " User01201007270003 " the expression user User01 that generates is at the 3rd document of typing on July 27 in 2010; Wherein, " document date " is as the generation foundation of serial number simultaneously as numbering prefix form data item " list typing people " and " document date "; The document of same date typing not, the maximum serial number with in the date of entry separately of the serial number of generation is initial increasing progressively.
Based on these characteristics of coding rule, coding rule is formulated module 302 through support flexile rule definition demand with lower module:
1. coding rule parameter and parameter type definition module 304.The various types of business datums that are used to confirm to can be used for coding rule are as parameter of regularity, and the parameter type of confirming each coding rule parameter is with clear and definite its purposes.Parameter of regularity and type can preset in system, also can be revised and definition again through secondary development by the final user.Wherein, the business datum that can be used as the coding rule parameter comprises: the data item that defines in the form data entity; Systematic parameter comprises system variables such as accounting month, operator, log date; Manual input can be imported specific data as the coding rule parameter.
Participate in the parameter of regularity that numbering generates for each, can specify a role who in numbering generates, serves as with the decision parameter in the following parameter type: can be used for prefix; Can be used for the flowing water foundation; Can be used for prefix and flowing water foundation.
2. the coding rule parameter formatization is provided with module 306.For participating in the service parameter that numbering generates,, format processing accordingly according to its data type and traffic performance:
Date type format according to " year ", " moon ", " day " etc. making up different forms, is formatted as " 201007 " like " 2010-07-28 " according to " days ";
File data classification peek; For classification file data common in the management software system; Other data of arbitrary number of level are carried out intercepting handle,, it is got second level data be " 001 " like the ranked data " 02001 " of expression " the 1st sub-category of the 2nd client segmentation ";
Data contrast sign indicating number, the contrast sign indicating number tabulation that definition coding rule parameter is corresponding when generating numbering, to concrete parameter value, is got the ingredient of its corresponding contrast sign indicating number as numbering from the tabulation of contrast sign indicating number.As for parameter of regularity " business personnel ",, from " business personnel's archives " tabulation, get its contrast sign indicating number " business personnel name=JOHN " as list numbering ingredient according to its parameter value " business personnel ID=User001 ";
Data length for each coding rule parameter, can be specified its shared data length in the numbering that generates, and when data designated deficiency preseting length, can use the automatic polishing of specific character.As accordinging to " 4 prefixs " rule, parameter value " 01 " is formatd obtain " 0001 ".
3. coding rule parameter combinations module 308.Available one or more coding rule combinations of parameters is as the prefix rule of list numbering, and the numbering prefix of generation will be formed by connecting the value of these parameter of regularity.Selected the parameter of regularity as prefix to each, this parameter has been set whether can be used for the flowing water foundation, a plurality of flowing water constitute the flowing water rule according to item.Prefix rule and flowing water principle combinations form complete coding rule.
4. numbering generates the control option module 310 is set.Be provided for controlling the logical option of numbering generative process, comprise: whether the numbering that generates automatically allows user's free hand modification, whether regenerates, numbers length control, initial value, step-length etc. when generating double sign automatically.As shown in Figure 4, be that the coding rule that the coding rule realized according to above-mentioned rule definition is formulated module is provided with the interface.
Based on the above coding rule plan of establishment, but definable has complicated business implication flexible expansion, can revise to be suitable for the business form coding rule of application-specific scene.Set after the coding rule, complete coding rule definition process flow process is as shown in Figure 5:
In step 502, from the forms traffic data entity, choose can be used for generating the list numbering data item as the coding rule parameter, and be parameter of regularity designated parameter type;
In step 504, select a coding rule parameter as prefix;
In step 506, this coding rule parameter is carried out designated length be provided with format;
In step 508,, the corresponding parameter of regularity of this prefix is set whether as the flowing water foundation of numbering if selected parameter of regularity can be used as flowing water simultaneously according to use;
In step 510, specify the format setting of flowing water foundation;
In step 512, confirm whether to be provided with next coding rule parameter, if continue to be provided with, return step 504, do not continue to be provided with the coding rule parameter, then get into step 514;
In step 514, select a plurality of service parameters to make up, form the coding rule of many prefixs and multithread water foundation; Numbering is set generates option, specify whether to allow that free hand modification, double sign refetch automatically, option such as regular length numbering not;
In step 516, preserve the coding rule setting.
Below in conjunction with Fig. 6 and Fig. 7 the numbering generation module 312 of the list numbering generation system of present embodiment is elaborated.
Numbering generation module 312 generates list based on the coding rule that has defined and forms traffic data parameters and numbers, this process with the service interface form for calling.In the time need obtaining or change the list numbering in the forms traffic processing procedure; Numbering generation module 312 provides service interface, receives the service data information of list coding rule information and current form instance, and the numbering generation module is analyzed coding rule; The parameter of regularity value is obtained in setting according to rule; Through processing such as formats, generate prefix and serial number, the combination back is as final numbering.
Generate, preserve professional complex logic and applied environment to the list numbering, numbering generation module 312 uses the validity of guaranteeing to generate numbering with lower module:
1. numbering serial number historgraphic data recording module 314
List numbering is normally a series of increasing progressively the character string of the end of digit, and new numbering is to obtain after adding certain step-length on the max-flow water number word basis of numbering preserving.After each numbering that generates certain type list is also successfully preserved, refresh the max-flow water number word historical record of the type list automatically, this record is used for generating next time the digital radix of numbering flowing water.
2. interim numbering and persistence numbering module 316
Management software is multi-user environment normally, and a plurality of subscription client concurrent operations can have influence on the operating result of each client.In forms traffic; A plurality of users handle the list of a certain type simultaneously in different client side; That the operation that relates to possibly comprise is newly-increased, revise and deletion, and the time order and function sequential scheduling factor of the submission of each client operation or cancellation state, submission all can exert an influence to the result of other clients.
Numbering must have uniqueness and continuity.In concurrent environment, because factors such as a plurality of client operation difference or mistimings, the list numbering possibly occur jumping number or the double sign phenomenon.For example: a plurality of clients increase operation newly to the list of same type simultaneously; System has produced a series of serial numbers; At this moment submit to like the fruit part client and preserve, the part client is cancelled preservation, and the numbering that will cause cancelling preservation is skipped in the numbered sequence that reality is preserved; In addition, if lack perfect control and inspection, a plurality of clients also possibly generated identical numbering based on same Flow Record numeral, and it is unusual when preserving, to produce double sign.
In the present invention, interim numbering and persistence numbering module 316 are distinguished the current action type of form instance, generate interim numbering and persistence numbering, guarantee to generate the uniqueness and the continuity of numbering, and the detail step is following, and is as shown in Figure 6:
Step 602, the user increases newly or retouching operation list, and the numbering that triggers form instance generates request;
Step 604 confirms whether the numbering of list carries out the persistence operation, does not carry out the persistence operation and then gets into step 606, carries out the persistence operation and then gets into step 614;
Step 606, numbering generation module are after the numbering that receives non-persistence operation generates request, and the current maximum Flow Record numeral based on coding rule and this form types generates numbering temporarily;
Step 608, the interim numbering that acquisition generates is shown to form interface, selects whether to preserve interim numbering, otherwise gets into step 612, is then to get into step 610;
Step 610, the user accomplishes the form data editor, submits to and preserves, and triggers the numbering persistence request of form instance;
Step 612, cancellation is preserved, and flow process finishes;
After step 614, numbering generation module received the numbering generation request of persistence state, locking serial number record sheet generated new numbering;
Step 616 is saved in the persistence numbering in the business datum;
Step 618 is upgraded maximum Flow Record numeral.
In generation of above-described list numbering and persistence process, the numbering generation module is that the form instance of not preserving generates interim the numbering, and interim numbering can not refresh the serial number record; When form instance was preserved, the numbering generation module generated new persistence numbering according to the serial number record of holding time point, upgrades maximum serial number record simultaneously, and guaranteeing to be recorded in same time point through the data interlock strategy can only be upgraded by a client.Thisly distinguish the method for interim numbering and persistence numbering, guarantee that the numbering that each client obtains all generates based on the Flow Record numeral of real-time update, avoided a plurality of clients to produce the situation of jumping number, double sign because of concurrent operations according to the list state.
In addition, because the influence of forms traffic dealing with complicated property and software runtime environment even adopted various measures to guarantee the validity of numbering in early stage, can not guarantee can not occur in the business datum unusual list numbering fully.As: allow manual the change numbering that generates automatically, the operation that data are preserved, external tool imports improper list flow processs such as business datum in the non-same affairs; All may cause the numbering of numbering and maintenance in the forms traffic tables of data to generate the inconsistent phenomenon of record data, this data inconsistent obtains abnormal data when tending to cause generating new numbering.
3. the number record synchronization module 318
Present embodiment also uses the number record simultaneous techniques to eliminate the inconsistency of business datum and record data; The number record synchronization module 318 of promptly numbering generation module 312 is through contrasting the business datum that list provides; Obtain maximum serial number the numbering from depositing of form data, be synchronized in the serial number record sheet.Concrete realization flow is as shown in Figure 7:
In step 702, initiate synchronization request on specific opportunity, submit to current forms traffic data as the coding rule parameter value.The persistence numbering that possible synchronization request comprises opportunity is manual when changing the numbering of having preserved, import data when accomplishing in batches, generate automatically with preserved numbering and repeated etc.;
In step 704; After the number record synchronization module receives synchronization request, read the coding rule setting of list, from current forms traffic extracting data coding rule parameter value; Generate numbering synchrodata matching strategy, comprise that numbering prefix character string and flowing water are according to character string;
In step 706, the number record synchronization module is digital with the maximum serial number of the initial preservation of numbering prefix character string from the forms traffic extracting data;
In step 708, number record synchronization module locking numbering serial number record sheet is updated to back release in the numbering Flow Record table to the maximum serial number numeral of the preservation that obtains;
In step 710, number record synchronization module notice list processing module is accomplished synchronously, can proceed numbering and generate.
Through above flow processing, the numbering of preserving in the forms traffic table is consistent with the serial number record value of numbering the generation module maintenance, has eliminated because difference causes and has generated unusual possibility of numbering.
4. numbering generates the control option module 310 is set
Simultaneously; The numbering of formulating in the module 302 to coding rule generates the various control options that the control option is provided with module 310; Numbering generative process control module 320 in the numbering generation module 312 can be carried out applicability and validity and handle according to these option control generative processes, comprising:
The free hand modification option, whether control can accept the user is carried out manual change to the numbering of automatic generation;
Double sign regenerates option automatically, control whether when generating duplicate numbers automatically synchronously and regenerate new digit;
Digital initial value of serial number and step-length, control generates the starting value of numbering flowing water numeral, and the automatic amplitude that increases of each newly-generated numbering.
Comprehensive above-described coding rule is formulated module 302 and numbering generation module 312, and the present invention is set to each aspect that numbering generates from rule, makes list numbering generation processing more flexible and validity obtain bigger improvement through the otherwise effective technique scheme.
Referring to figs. 1 to the detailed description of Fig. 7, can know that understanding a kind of list numbering provided by the invention generates method and system, handles for forms traffic provides reliable list numbering based on the present invention.The demand side that comes in every shape in each side such as satisfying different industries, different list type of service, different user; List numbering provided by the invention generates method and system can both be through making up and expanding flexibly; Satisfy various complex rule logics, realized the applicability requirement of coding rule definition; Simultaneously, list numbering provided by the invention generates method and system through various safeguards techniques, even guarantee in the application scenarios and running environment of complicacy, can both generate unique, continuous numbering, has reached the validity requirement that generates numbering.
The above is merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (6)

1. a list numbering generation method is characterized in that, comprising:
Step 102 according to user's input data, is formulated coding rule;
Step 104 is according to said coding rule, for list generates numbering; When generating numbering for every list; Numbering according to said every list generates max-flow water number word simultaneously, generates numbering to be used to next list, and at first is that said every list generates interim numbering; When said interim numbering being saved as numbering, upgrade said max-flow water number word according to said user's selection.
2. list numbering generation method according to claim 1 is characterized in that said input data comprise:
The coding rule parameter, said coding rule parameter comprises the business datum of said user's appointment;
The coding rule parameter type is used for confirming the role of said coding rule parameter in said numbering, and said role comprises prefix and/or flowing water foundation.
3. list numbering generation method according to claim 1 is characterized in that, also comprises:
Step 106; Read the coding rule of specifying list; Wherein, said coding rule comprises numbering prefix character string and flowing water according to character string, according to the coding rule of said appointment list with the initial numbering of said numbering prefix character string; Upgrade said max-flow water number word, generate numbering to be used to said appointment list.
4. a list numbering generation system is characterized in that, comprising:
Coding rule is formulated module, according to user's input data, formulates coding rule;
The numbering generation module is according to said coding rule, for list generates numbering; Said numbering generation module is that every list generates when numbering; Numbering according to said every list generates max-flow water number word simultaneously, generates numbering to be used to next list, and said numbering generation module at first is that said every list generates interim numbering; When said interim numbering being saved as numbering, upgrade said max-flow water number word according to said user's selection.
5. list numbering generation system according to claim 4 is characterized in that said input data comprise:
The coding rule parameter, said coding rule parameter comprises the business datum of said user's appointment;
The coding rule parameter type is used for confirming the role of said coding rule parameter in said numbering, and said role comprises prefix and/or flowing water foundation.
6. list numbering generation system according to claim 4 is characterized in that, also comprises:
Synchronization module; Read the coding rule of specifying list; Wherein, said coding rule comprises numbering prefix character string and flowing water according to character string, according to the coding rule of said appointment list with the initial numbering of said numbering prefix character string; Upgrade said max-flow water number word, generate numbering to be used to said appointment list.
CN201010289762XA 2010-09-21 2010-09-21 Form number generating method and system Active CN101976240B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010289762XA CN101976240B (en) 2010-09-21 2010-09-21 Form number generating method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010289762XA CN101976240B (en) 2010-09-21 2010-09-21 Form number generating method and system

Publications (2)

Publication Number Publication Date
CN101976240A CN101976240A (en) 2011-02-16
CN101976240B true CN101976240B (en) 2012-09-05

Family

ID=43576126

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010289762XA Active CN101976240B (en) 2010-09-21 2010-09-21 Form number generating method and system

Country Status (1)

Country Link
CN (1) CN101976240B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609477B (en) * 2012-01-19 2014-10-22 北京思特奇信息技术股份有限公司 Method for implementing serial number generator
CN103729426B (en) * 2013-12-25 2017-05-31 南威软件股份有限公司 It is a kind of to number the method for automatically generating
CN104486407B (en) * 2014-12-12 2017-12-19 北京国双科技有限公司 The generation method and device of numbering
CN105183794B (en) * 2015-08-24 2018-12-14 用友网络科技股份有限公司 Business serial number generating means and method
CN107016482A (en) * 2016-12-12 2017-08-04 蔚来汽车有限公司 Service condition management method and system
CN107016591B (en) * 2016-12-12 2021-03-23 蔚来(安徽)控股有限公司 Service state management method and system
CN108664521B (en) * 2017-04-01 2020-09-01 北京京东尚科信息技术有限公司 Method and device for providing serial number, electronic equipment and readable storage medium
CN108763172A (en) * 2018-05-18 2018-11-06 郑州云海信息技术有限公司 The method and device of customization sequence number is automatically generated under a kind of linux system
CN110889648A (en) * 2019-12-09 2020-03-17 金蝶软件(中国)有限公司 Document numbering method, server and storage medium
CN111007741B (en) * 2019-12-13 2021-04-13 广州小鹏汽车科技有限公司 Intelligent control method and system and vehicle
CN112019356B (en) * 2020-08-04 2022-04-08 广州市保伦电子有限公司 Multi-type unit ID automatic adding method in digital conference and processing terminal

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101086691A (en) * 2006-06-08 2007-12-12 株式会社东芝 Sheet processing system, sheet processing method, program, and optically read sheet

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2838217B1 (en) * 2002-04-05 2004-06-25 De Chelle Yvonne Auberlet METHOD AND DEVICE FOR GENERATING CUSTOMIZABLE AND SCALABLE EXECUTABLE SOFTWARE WITHOUT COMPUTER PROGRAMMING

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101086691A (en) * 2006-06-08 2007-12-12 株式会社东芝 Sheet processing system, sheet processing method, program, and optically read sheet

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
山清水秀.小方法给你时间个性化.《现代计算机》.2006,1. *

Also Published As

Publication number Publication date
CN101976240A (en) 2011-02-16

Similar Documents

Publication Publication Date Title
CN101976240B (en) Form number generating method and system
US20030037114A1 (en) System, method and apparatus for updating electronic mail recipient lists
CN104536811B (en) Method for scheduling task based on HIVE tasks and device
Ying et al. Bi-objective reentrant hybrid flowshop scheduling: an iterated Pareto greedy algorithm
CN106528070A (en) Data table generation method and equipment
CN108764610A (en) Standard technology construction management of project method based on big data, storage medium
US7386793B2 (en) Apparatus, method and program for supporting a review
CN113191127A (en) Nuclear power management information-based user-defined form system and method
CN103235811A (en) Data storage method and device
CN110609840A (en) User information screening method, device and equipment
US10963963B2 (en) Rule based hierarchical configuration
AU2016200559B2 (en) Method and system for communicating product development information
CN112330287A (en) Timing reminding method and system, computer readable storage medium and computer equipment
CN114416868B (en) Data synchronization method, device, equipment and storage medium
CN106293995B (en) The data backup system and method for manufacturing execution system
CN113900561A (en) Form processing method, apparatus, electronic device, medium, and program product
CN110209732A (en) Method of data synchronization and device of the relevant database to Hadoop database
CN113076186A (en) Task processing method and device, electronic equipment and storage medium
CN112308516A (en) Target project information generation method and related equipment
CZ307278B6 (en) The method of transferring structures and data files between the source and target system and a system for its implementation
CN109558417B (en) Data processing method and system
CN113791880A (en) Scheduling method and system of business process
CN113033169A (en) Service data processing method and device
CN108833298A (en) Packet sending method, device and storage medium
US20110022619A1 (en) System For Docketing Court Receipts

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20160128

Address after: 100094 Beijing City, North Road, Haidian District, No. 68, building 2, floor 2

Patentee after: You Pu Information Technology Co., Ltd of UFSOFT

Address before: 100094 Beijing city Haidian District North Road No. 68, UFIDA Software Park

Patentee before: UFIDA Software Co., Ltd.