CN101976240A - Form number generating method and system - Google Patents

Form number generating method and system Download PDF

Info

Publication number
CN101976240A
CN101976240A CN 201010289762 CN201010289762A CN101976240A CN 101976240 A CN101976240 A CN 101976240A CN 201010289762 CN201010289762 CN 201010289762 CN 201010289762 A CN201010289762 A CN 201010289762A CN 101976240 A CN101976240 A CN 101976240A
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.)
Granted
Application number
CN 201010289762
Other languages
Chinese (zh)
Other versions
CN101976240B (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
Comprise many form types with different business logic in business management software, each form types all needs to generate the unique numbering of the overall situation as sign for each form instance of the type usually.Though different form types has different business processing logic, in the processing that numbering generates, mostly be pre-defined specific coding rule, 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, need consider factors such as multi-client coordinate synchronization when generating numbering.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 may 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 at 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, enable 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 select the most suitable, and how not provide based on user personality and application scenarios, independently define the solution of coding rule by the user.
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 at concurrent situation, lacks the validity of numbering under the various possible situations of perfect mechanism control.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 may occur under the concurrent environment of network, but be not provided under the improper operation flows such as manual change, batch processing the method that guarantees numbering validity, be not provided at the abnormality processing measure that occurs after the misdata yet.
According to foregoing as can be known, 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 finish 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, guarantees uniqueness and continuity can reflect the corresponding service implication like clockwork in business datum.
Therefore, need a kind of more perfect list to generate method and system and solve above-mentioned problem, can guarantee the applicability of coding rule and generate the validity of numbering.
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 according to different user demands, different application scene, simultaneously also can guarantee to generate the validity of numbering, promptly the numbering of Sheng Chenging meets predefined coding rule, guarantees uniqueness and continuity in business datum.
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 described coding rule, for list generates numbering.
In technique scheme, preferably, described input data comprise: the coding rule parameter, and described coding rule parameter comprises the business datum of described user's appointment; The coding rule parameter type is used for confirming the role of described coding rule parameter in described numbering, and described role comprises prefix and/or flowing water foundation.By 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 described step 104, when generating numbering for every list, the numbering according to described every list generates max-flow water number word simultaneously, generates numbering to be used to next list.
In technique scheme, preferably, in the described step 104, at first be that described every list generates interim numbering, will described interim numbering save as when numbering according to described user's selection, upgrade described max-flow water number word.By 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 form instance of the coding rule of described appointment list and described appointment list correspondence, upgrade described max-flow water number word, generate numbering to be used to described appointment list.By this technical scheme, can determine max-flow water number word as 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 described coding rule, for list generates numbering.
In technique scheme, preferably, described input data comprise: the coding rule parameter, and described coding rule parameter comprises the business datum of described user's appointment; The coding rule parameter type is used for confirming the role of described coding rule parameter in described numbering, and described role comprises prefix and/or flowing water foundation.By 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, described numbering generation module is that every list generates when numbering, and the numbering according to described every list generates max-flow water number word simultaneously, generates numbering to be used to next list.By this technical scheme, can determine max-flow water number word as the unusual special time of numbering, with the accuracy that guarantees that follow-up list numbering generates.
In technique scheme, preferably, described numbering generation module at first is that described every list generates interim numbering, will described interim numbering saves as when numbering according to described user's selection, upgrades described max-flow water number word.By 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, numbering according to other form instance of the coding rule of described appointment list and described appointment list correspondence, upgrade described max-flow water number word, generate numbering to be used to described appointment list.By this technical scheme, can determine max-flow water number word as 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 the drawings and specific embodiments the present invention is further described in detail.
Set forth a lot of details in the following description so that fully understand 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 public 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 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 described coding rule, for list generates numbering.
In technique scheme, described input data comprise: the coding rule parameter, and described coding rule parameter comprises the business datum of described user's appointment; The coding rule parameter type is used for confirming the role of described coding rule parameter in described numbering, and described role comprises prefix and/or flowing water foundation.By 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 described step 104, when generating numbering for every list, the numbering according to described every list generates max-flow water number word simultaneously, generates numbering to be used to next list.
In technique scheme, in the described step 104, at first be that described every list generates interim numbering, will described interim numbering save as when numbering according to described user's selection, upgrade described max-flow water number word.By 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 form instance of the coding rule of described appointment list and described appointment list correspondence, upgrade described max-flow water number word, generate numbering to be used to described appointment list.By this technical scheme, can determine max-flow water number word as 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 described coding rule, for list generates numbering.
In technique scheme, described input data comprise: the coding rule parameter, and described coding rule parameter comprises the business datum of described user's appointment; The coding rule parameter type is used for confirming the role of described coding rule parameter in described numbering, and described role comprises prefix and/or flowing water foundation.By 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, described numbering generation module 204 is that every list generates when numbering, and the numbering according to described every list generates max-flow water number word simultaneously, generates numbering to be used to next list.
In technique scheme, described numbering generation module 204 at first is that described every list generates interim numbering, will described interim numbering saves as when numbering according to described user's selection, upgrades described max-flow water number word.By 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 form instance of the coding rule of described appointment list and described appointment list correspondence, upgrade described max-flow water number word, generate numbering to be used to described appointment list.By this technical scheme, can determine max-flow water number word as 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, 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.As 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, form data item " list typing people " and " document date " are as numbering prefix, " document date " is as the generation foundation of serial number simultaneously, 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 by 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 determine to can be used for coding rule are as parameter of regularity, and the parameter type of determining 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 redefine by 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 " as " 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 intercepted processing,, it is got second level data be " 001 " as the ranked data " 02001 " of expression " the 1st subclass of the 2nd client segmentation ";
Data contrast sign indicating number, the contrast sign indicating number tabulation of definition coding rule parameter correspondence when generating numbering, at concrete parameter value, is got the ingredient of the contrast sign indicating number of its correspondence 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 according to " 4 prefixes " rule, parameter value " 01 " formatd obtain " 0001 ".
3. coding rule parameter combinations module 308.The combination of available one or more coding rule parameters is as the prefix rule of list numbering, and the numbering prefix of generation will be formed by connecting by the value of these parameter of regularity.Selected parameter of regularity as prefix at 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 allows the user to revise, whether regenerate automatically when generating double sign, number length control, initial value, step-length etc. by hand 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 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 and format setting;
In step 508, if selected parameter of regularity can be used as flowing water simultaneously according to use, whether the parameter of regularity that this prefix correspondence is set is as the flowing water foundation of numbering;
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 enter step 514;
In step 514, select a plurality of service parameters to make up, form the coding rule of many prefixes and multithread water foundation; Numbering is set generates option, specify whether to allow that manual 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 the list numbering based on defined coding rule and forms traffic data parameters, this process with the service interface form for calling.When needing to obtain in the forms traffic processing procedure or change the list numbering, numbering generation module 312 provides service interface, receive the service data information of list coding rule information and current form instance, 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 at 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 radix of numbering flowing water numeral.
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 clients, that the operation that relates to may 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 may 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 as 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 may be generated identical numbering based on same Flow Record numeral, and it is unusual to produce double sign when preserving.
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 as follows, 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 enters step 606, carries out the persistence operation and then enters step 614;
Step 606, numbering generation module based on the current maximum Flow Record numeral of coding rule and this form types, generate numbering temporarily after the numbering that receives non-persistentization operation generates request;
Step 608, the interim numbering that acquisition generates is shown to form interface, and select whether preserve interim numbering, otherwise enter step 612, be then to enter step 610;
Step 610, the user finishes 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 saved, 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 by 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 forms traffic is handled the influence of complicacy and software runtime environment,, can not guarantee can not occur in the business datum unusual list numbering fully even adopted various measures to guarantee the validity of numbering in early stage.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 in the forms traffic tables of data and maintenance 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 by 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.The specific implementation flow process 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 finishing 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 from the forms traffic extracting data with the maximum serial number numeral of the initial preservation of numbering prefix character string;
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 finished 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 at 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 manual option of revising, 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;
Serial number numeral initial value and step-length, control generate 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 the list numbering generate dirigibility and the validity handled by the otherwise effective technique scheme and has obtained bigger improvement.
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 according to 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 by 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 by various safeguards techniques, even guarantee can both generate unique, continuous numbering in the application scenarios and running environment of complexity, has reached the validity requirement that generates numbering.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

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 described coding rule, for list generates numbering.
2. list numbering generation method according to claim 1 is characterized in that described input data comprise:
The coding rule parameter, described coding rule parameter comprises the business datum of described user's appointment;
The coding rule parameter type is used for confirming the role of described coding rule parameter in described numbering, and described role comprises prefix and/or flowing water foundation.
3. list numbering generation method according to claim 1 and 2 is characterized in that, in the described step 104, when generating numbering for every list, the numbering according to described every list generates max-flow water number word simultaneously, generates numbering to be used to next list.
4. list numbering generation method according to claim 3, it is characterized in that, in the described step 104, at first be that described every list generates interim numbering, when described interim numbering being saved as numbering, upgrade described max-flow water number word according to described user's selection.
5. list numbering generation method according to claim 4 is characterized in that, also comprises:
Step 106 reads the coding rule of specifying list, according to the numbering of other form instance of the coding rule of described appointment list and described appointment list correspondence, upgrades described max-flow water number word, generates numbering to be used to described appointment list.
6. 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 described coding rule, for list generates numbering.
7. list numbering generation system according to claim 6 is characterized in that described input data comprise:
The coding rule parameter, described coding rule parameter comprises the business datum of described user's appointment;
The coding rule parameter type is used for confirming the role of described coding rule parameter in described numbering, and described role comprises prefix and/or flowing water foundation.
8. according to claim 6 or 7 described list numbering generation systems, it is characterized in that, described numbering generation module is that every list generates when numbering, and the numbering according to described every list generates max-flow water number word simultaneously, generates numbering to be used to next list.
9. list numbering generation system according to claim 8, it is characterized in that, described numbering generation module at first is that described every list generates interim numbering, will described interim numbering saves as when numbering according to described user's selection, upgrades described max-flow water number word.
10. list numbering generation system according to claim 9 is characterized in that, also comprises:
Synchronization module reads the coding rule of specifying list, according to the numbering of other form instance of the coding rule of described appointment list and described appointment list correspondence, upgrades described max-flow water number word, generates numbering to be used to described 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 true CN101976240A (en) 2011-02-16
CN101976240B 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)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609477A (en) * 2012-01-19 2012-07-25 北京神州数码思特奇信息技术股份有限公司 Method for implementing serial number generator
CN104486407A (en) * 2014-12-12 2015-04-01 北京国双科技有限公司 Method and device for generating numbers
CN105183794A (en) * 2015-08-24 2015-12-23 用友网络科技股份有限公司 Business serial number generation apparatus and method
CN103729426B (en) * 2013-12-25 2017-05-31 南威软件股份有限公司 It is a kind of to number the method for automatically generating
CN107016591A (en) * 2016-12-12 2017-08-04 蔚来汽车有限公司 Service condition management method and system
CN107016482A (en) * 2016-12-12 2017-08-04 蔚来汽车有限公司 Service condition management method and system
WO2018177350A1 (en) * 2017-04-01 2018-10-04 北京京东尚科信息技术有限公司 Method and apparatus for providing serial number, electronic device 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
CN111007741A (en) * 2019-12-13 2020-04-14 广州小鹏汽车科技有限公司 Intelligent control method and system and vehicle
CN112019356A (en) * 2020-08-04 2020-12-01 广州市保伦电子有限公司 Multi-type unit ID automatic adding method in digital conference and processing terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050257192A1 (en) * 2002-04-05 2005-11-17 Chelle Yvonne A D Method and device for generating software with customized execution and upgradable without computer programming
CN101086691A (en) * 2006-06-08 2007-12-12 株式会社东芝 Sheet processing system, sheet processing method, program, and optically read sheet

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050257192A1 (en) * 2002-04-05 2005-11-17 Chelle Yvonne A D Method and device for generating software with customized execution and upgradable without computer programming
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
《现代计算机》 20061231 山清水秀 小方法给你时间个性化 1 , 2 *

Cited By (19)

* 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
CN102609477A (en) * 2012-01-19 2012-07-25 北京神州数码思特奇信息技术股份有限公司 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
CN104486407A (en) * 2014-12-12 2015-04-01 北京国双科技有限公司 Method and device for generating numbers
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
CN105183794A (en) * 2015-08-24 2015-12-23 用友网络科技股份有限公司 Business serial number generation apparatus and method
CN107016591A (en) * 2016-12-12 2017-08-04 蔚来汽车有限公司 Service condition management method and system
CN107016482A (en) * 2016-12-12 2017-08-04 蔚来汽车有限公司 Service condition management method and system
WO2018177350A1 (en) * 2017-04-01 2018-10-04 北京京东尚科信息技术有限公司 Method and apparatus for providing serial number, electronic device and readable storage medium
CN108664521A (en) * 2017-04-01 2018-10-16 北京京东尚科信息技术有限公司 A kind of method, apparatus, electronic equipment and readable storage medium storing program for executing that sequence number is provided
CN108664521B (en) * 2017-04-01 2020-09-01 北京京东尚科信息技术有限公司 Method and device for providing serial number, electronic equipment and readable storage medium
US11314712B2 (en) 2017-04-01 2022-04-26 Beijing Jingdong Shangke Information Technology Co., Ltd. Method and apparatus for providing serial number, electronic device 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
CN111007741A (en) * 2019-12-13 2020-04-14 广州小鹏汽车科技有限公司 Intelligent control method and system and vehicle
CN111007741B (en) * 2019-12-13 2021-04-13 广州小鹏汽车科技有限公司 Intelligent control method and system and vehicle
CN112019356A (en) * 2020-08-04 2020-12-01 广州市保伦电子有限公司 Multi-type unit ID automatic adding method in digital conference and processing terminal
CN112019356B (en) * 2020-08-04 2022-04-08 广州市保伦电子有限公司 Multi-type unit ID automatic adding method in digital conference and processing terminal

Also Published As

Publication number Publication date
CN101976240B (en) 2012-09-05

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
CN108764610A (en) Standard technology construction management of project method based on big data, storage medium
CN104471595A (en) Workflow management device and workflow management method
CN106528070A (en) Data table generation method and equipment
CN110245181A (en) Data synchronous synchronous method, device and computer storage medium
CN113191127A (en) Nuclear power management information-based user-defined form system and method
US8718808B2 (en) Method and a system for propagating a scaling mode in a production process
CN109710631A (en) Auxiliary generates method, apparatus, equipment and the computer storage medium of SQL code
MXPA02008319A (en) Method for workflow processing through computer network.
CN110609840A (en) User information screening method, device and equipment
CN102542437B (en) Task expiration reminding method and device
CN106293995B (en) The data backup system and method for manufacturing execution system
AU2014203425B2 (en) Social workflow engine
CN113537943A (en) Universal workflow engine and construction method thereof
JP2005032079A (en) Project pre-evaluation method
CN115759712B (en) Production report management method, system, electronic equipment and storage medium
CN112308516A (en) Target project information generation method and related equipment
CN101295376A (en) Work order batch generation system and method
CN108921502B (en) Project process tracking method and device
US7310562B2 (en) System and method for scheduling mold manufacturing
CN115063101A (en) Method, system and device for generating structure data based on case base and storage medium
US20040193299A1 (en) System and method for scheduling production of molds
CN112905720A (en) Operation data processing method and device based on source data management model
CN114676152A (en) Work order management method and device and electronic equipment

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.