CN101452387A - Service flow management method - Google Patents
Service flow management method Download PDFInfo
- Publication number
- CN101452387A CN101452387A CNA2008102381572A CN200810238157A CN101452387A CN 101452387 A CN101452387 A CN 101452387A CN A2008102381572 A CNA2008102381572 A CN A2008102381572A CN 200810238157 A CN200810238157 A CN 200810238157A CN 101452387 A CN101452387 A CN 101452387A
- Authority
- CN
- China
- Prior art keywords
- maximum number
- serial number
- business
- interface
- service
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000007726 management method Methods 0.000 title abstract description 11
- 238000000034 method Methods 0.000 claims abstract description 20
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims description 11
- 238000012986 modification Methods 0.000 claims description 3
- 230000004048 modification Effects 0.000 claims description 3
- 230000002688 persistence Effects 0.000 claims description 3
- 230000018109 developmental process Effects 0.000 description 9
- 238000011161 development Methods 0.000 description 6
- 235000010627 Phaseolus vulgaris Nutrition 0.000 description 3
- 244000046052 Phaseolus vulgaris Species 0.000 description 3
- 238000012423 maintenance Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention provides a method for realizing, applying, managing and maintaining a global unique identification number. A global unique identification number such as an order number of an order, a license number of a license, and the like are possibly required by service operations of a user. The service flow management method provides different forms of service serial numbers, namely, a global unique serial number of a system, a unique serial number of an entire company and a global unique serial number based on annual flow. Through simple window operation and document collocation, the unique identification number is realized by means of the service serial numbers. The service flow management method has the characteristics of reasonable conception, convenient use, manpower saving, high intelligent degree, and the like, thereby having enormous popularization and use value.
Description
Technical field
The present invention relates to a kind of technology of computer software application, a kind of specifically method that forms globally unique identifier number that is implemented in the software systems.
Background technology
Present continuous development along with various software developments, one cover software systems often are made up of a lot of functional modules, and be large-scale team develops, this on stream, will inevitably run into a problem, be exactly how to handle the uniquely identified identification number that those all need in the whole software system, such as O/No. etc.In traditional processing mode, where we have just used now to organize, generate in program code, such as methods such as generation random numbers, more and more in functional module, under the needed globally unique identifier number also increasing situation, these methods are easy to produce mistake, and are easy to produce managerial confusion.Based on this reason, we have proposed professional this function of flowing water maximum number in service flow management method of the present invention, thereby have solved the Application and Development of this globally unique identifier number and the problem of management maintenance easily and fast
Summary of the invention
The method that the purpose of this invention is to provide a kind of service flow management.
The objective of the invention is to realize in the following manner, customize the numbering of the unique sign of overall situation as a certain object, this numbering increases automatically along with the increase of giving things, and this method realizes the unique identifying number function by maximum number mechanism, and concrete steps are as follows:
1) tables of data of a maximum number mechanism of customization, the attribute of business serial number is set, attribute comprises Business Name, maximum number, prefix, suffix, flowing water, numbering length per year, they are deposited in the database table, then on the basis of maximum number, according to add 1 rule at every turn, compose to certain incident as a new serial number, thereby make this incident have unique sign; Simultaneously this value is deposited in the maximum number tables of data;
2) add the value that interface IIncrementDao is used for producing maximum number, the method for returning integer, string format is provided in the interface.IncrementDao is as the realization class of this interface, and id is a member variable of realizing class, changes maximum number by the modification interface that calls maximum number tables of data persistence, and the step of business serial number management is specific as follows:
(1) increases a maximum number table record
(2) entity of configuration generation unique identification business serial number in configuration file;
(3) method of calling the entity of configuration service flowing water provide in the business procedure code produces business serial number.
The invention has the beneficial effects as follows: the user carries out secondary development or programmer itself when using this service flow management method to carry out software development, can generate a unique sign of overall importance fast, and should sign can automatically increase, whether per year prefix, suffix and code length and flowing water or the like can be set easily.Both can be used as the primary key column of field in the tables of data, and also can generate unique identification, and needn't worry because need the things of globally unique identifier to increase wayward and mistake that cause to a certain things.
Embodiment
The purpose of this invention is to provide a kind of identification number that the overall situation is unique of in an application software system, producing, thereby improve development efficiency, make the efficient that administers and maintains this unique identifying number higher, reduce development and maintenance cost.
Here so-called professional flowing water is exactly a numbering that the overall situation is unique, and this numbering can increase automatically along with the increase of giving things, and this method realizes this function by maximum number mechanism.For this reason, we provide the tables of data of a maximum number mechanism.
The maximum number tables of data, some attributes of business serial number can be set, such as Business Name, maximum number, prefix, suffix, flowing water, numbering length etc. per year, they are deposited in the database table, then on the basis of maximum number, add 1 according to rule at every turn, compose to certain things, thereby make this things have unique sign as a new serial number; Simultaneously this value is deposited in the maximum number tables of data.The official document font size of office system for example, current system format is [2008] year No. 100, just becomes [2008] after new business is handled year No. 101, and [2008] here year are exactly prefix, 100,101 is exactly maximum number, and the maximum number value that store in the maximum number table this moment is 101.
Interpolation interface IIncrementDao is used for producing the value of maximum number. the method for forms such as returning integer, character string is provided in the interface.IncrementDao is as the realization class of this interface, and id is a member variable of realizing class.Change maximum number by the modification interface that calls maximum number tables of data persistence.
The implementation step of business serial number Managed Solution: (is example with web framework spring) is specific as follows:
1. increase a maximum number table record.
For example: Business Name: STRU_ID
2. in configuration file, dispose the entity that generates the unique identification business serial number.
For example:
<bean?id=″structureId″class=″org.loushang.bsp.base.id.dao.jdbc.IncrementDao″>
<property?name=″dataSource″><ref?bean=″dataSource″/></property>
<property?name=″id″><value>STRU_ID</value></property>
</bean>
3. the method that calling the entity of configuration service flowing water in the business procedure code provides produces business serial number.
The user carries out secondary development or programmer itself when using this service flow management method to carry out software development, can generate a unique sign of overall importance fast, and should sign can automatically increase, whether per year prefix, suffix and code length and flowing water or the like can be set easily.Both can be used as the primary key column of field in the tables of data, and also can generate unique identification, and needn't worry because need the things of globally unique identifier to increase wayward and mistake that cause to a certain things.
The method of Business Stream water management of the present invention, have reasonable idea, easy to use, save manpower, intelligence Change degree high, thereby, have good value for applications.
Claims (1)
1, a kind of method of service flow management, it is characterized in that customizing the numbering of the unique sign of overall situation as a certain object, this numbering increases automatically along with the increase of giving things, and this method realizes the unique identifying number function by maximum number mechanism, and concrete steps are as follows:
1) tables of data of a maximum number mechanism of customization, the attribute of business serial number is set, attribute comprises Business Name, maximum number, prefix, suffix, flowing water, numbering length per year, they are deposited in the database table, then on the basis of maximum number, according to add 1 rule at every turn, compose to certain incident as a new serial number, thereby make this incident have unique sign; Simultaneously this value is deposited in the maximum number tables of data;
2) add the value that interface IIncrementDao is used for producing maximum number, the method for returning integer, string format is provided in the interface.IncrementDao is as the realization class of this interface, and id is a member variable of realizing class, changes maximum number by the modification interface that calls maximum number tables of data persistence, and the step of business serial number management is specific as follows:
(1) increases a maximum number table record
(2) entity of configuration generation unique identification business serial number in configuration file;
(3) method of calling the entity of configuration service flowing water provide in the business procedure code produces business serial number.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2008102381572A CN101452387A (en) | 2008-12-09 | 2008-12-09 | Service flow management method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2008102381572A CN101452387A (en) | 2008-12-09 | 2008-12-09 | Service flow management method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101452387A true CN101452387A (en) | 2009-06-10 |
Family
ID=40734636
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2008102381572A Pending CN101452387A (en) | 2008-12-09 | 2008-12-09 | Service flow management method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101452387A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108536492A (en) * | 2018-04-08 | 2018-09-14 | 武汉斗鱼网络科技有限公司 | A kind of direct broadcasting room attribute information acquiring method, device, equipment and storage medium |
CN110019244A (en) * | 2018-05-14 | 2019-07-16 | 网联清算有限公司 | Data processing method, device and computer readable storage medium |
CN111612483A (en) * | 2020-05-25 | 2020-09-01 | 安徽农业大学 | Tea leaf credible tracing system based on decentralization and centralization cooperation |
CN112860755A (en) * | 2021-03-22 | 2021-05-28 | 平安商业保理有限公司 | Service identifier generation method, device, computer equipment and medium |
CN113268417A (en) * | 2021-05-18 | 2021-08-17 | 北京京东振世信息技术有限公司 | Task execution method and device |
-
2008
- 2008-12-09 CN CNA2008102381572A patent/CN101452387A/en active Pending
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108536492A (en) * | 2018-04-08 | 2018-09-14 | 武汉斗鱼网络科技有限公司 | A kind of direct broadcasting room attribute information acquiring method, device, equipment and storage medium |
CN110019244A (en) * | 2018-05-14 | 2019-07-16 | 网联清算有限公司 | Data processing method, device and computer readable storage medium |
CN111612483A (en) * | 2020-05-25 | 2020-09-01 | 安徽农业大学 | Tea leaf credible tracing system based on decentralization and centralization cooperation |
CN112860755A (en) * | 2021-03-22 | 2021-05-28 | 平安商业保理有限公司 | Service identifier generation method, device, computer equipment and medium |
CN112860755B (en) * | 2021-03-22 | 2024-04-05 | 平安商业保理有限公司 | Service identifier generation method, device, computer equipment and medium |
CN113268417A (en) * | 2021-05-18 | 2021-08-17 | 北京京东振世信息技术有限公司 | Task execution method and device |
CN113268417B (en) * | 2021-05-18 | 2023-09-22 | 北京京东振世信息技术有限公司 | Task execution method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100456237C (en) | Method and device for accessing database | |
CN101046810B (en) | System for automatic setting relation model and its method | |
CN101256650B (en) | Method and system for extracting enterprise data based on service entity | |
CN104035772A (en) | Static analysis based source code multi-versionfunction call relation difference identification method | |
CN101452387A (en) | Service flow management method | |
DE60036797D1 (en) | ARRANGEMENT AND METHOD FOR THE MANAGEMENT OF A COMPUTER NETWORK IN A TELECOMMUNICATIONS NETWORK | |
CN106873974A (en) | Smart code generates automotive engine system and method | |
CN101814075A (en) | Information resource catalogue system and query method thereof | |
CN100517229C (en) | Data version upgrading method | |
CN104679903A (en) | Method and device for operating data sheets | |
CN104021198A (en) | Relational database information retrieval method and device based on ontology semantic index | |
CN105528337A (en) | Method for exporting PPT report form by data conversion implementation performance management system | |
CN104346466A (en) | Method and device of adding new attribute data in database | |
CN103092917A (en) | Method of achieving query of business dictionary of browser page by custom tag | |
CN103914290A (en) | Operating command processing method and device | |
CN102567334A (en) | Office automation system based on heterogeneous data | |
CN102402515A (en) | General custom query system and method | |
CN101359324A (en) | Data access method of oracle relational database based on procedure call interface | |
CN101706823B (en) | Inquiry system and method of customized database | |
CN101673299A (en) | ERP system and data search method and device thereof | |
CN104731804B (en) | A kind of method and device for establishing general polling frame | |
CN1808428A (en) | Information searching criteria presentation and editing system and method | |
CN101859318A (en) | Method for establishment of service discovery tool based on service network | |
CN103092607A (en) | Encoding and decoding method of telecommunications call ticket | |
CN103559586B (en) | A kind of report document management, system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Open date: 20090610 |