CN101650807A - Business code-processing method, coding module and system - Google Patents

Business code-processing method, coding module and system Download PDF

Info

Publication number
CN101650807A
CN101650807A CN200910172944A CN200910172944A CN101650807A CN 101650807 A CN101650807 A CN 101650807A CN 200910172944 A CN200910172944 A CN 200910172944A CN 200910172944 A CN200910172944 A CN 200910172944A CN 101650807 A CN101650807 A CN 101650807A
Authority
CN
China
Prior art keywords
classification
coding
business
ordination
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.)
Pending
Application number
CN200910172944A
Other languages
Chinese (zh)
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.)
Kingdee Software China Co Ltd
Original Assignee
Kingdee Software China 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 Kingdee Software China Co Ltd filed Critical Kingdee Software China Co Ltd
Priority to CN200910172944A priority Critical patent/CN101650807A/en
Publication of CN101650807A publication Critical patent/CN101650807A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a business code-processing method, a coding module and a system. The method comprises the following steps: acquiring business requirements required to be coded according to types; sorting business receipts according to the types; and generating codes of the sorted business receipts according to a coding rule. The coding module comprises an information-acquiring module, a sorting module and a processing module, wherein the information-acquiring module is used for acquiring the business requirements required to be coded according to the types; the sorting module sorts thebusiness receipts according to types; and the processing module is used for generating the codes of the sorted business receipts according to the coding rule. The technical scheme lightens a configuration amount and more conveniently processes business codes.

Description

Business code-processing method, coding module and system
Technical field
The present invention relates to the coding techniques field, be specifically related to a kind of business code-processing method, coding module and system.
Background technology
Coding has in practical business widely and uses as a kind of identification information, and usually said code name, numbering, code all are a kind of coding forms of coding.
The application scenarios of coding is very general, for example is applied in the processing procedure to business paper.Every document all needs unique identifier to identify, and this identifier can be a coding.In the prior art, different application scene at business paper, the different coding rule can be set, for example business paper need be encoded by every month, be that business paper generates coding then according to the coding rule relevant with month, encoding by company if desired, is that business paper generates coding according to the coding rule relevant with company then.
In research and practice process to the method, the present inventor finds: during prior art reply multiple business scene, a kind of business scenario of every increase just needs newly-increased coding rule, so configuration amount is big, uses inconvenient.
Summary of the invention
The embodiment of the invention provides a kind of business code-processing method, coding module and system, can reduce configuration amount, and it is more convenient to make operation code handle.
The embodiment of the invention provides a kind of business code-processing method, comprising:
Obtain the business need that requires the category coding;
According to described classification business paper is carried out classification and ordination;
According to coding rule is that business paper behind the described classification and ordination generates coding.
The embodiment of the invention provides a kind of coding module, comprising:
The information acquisition module is used to obtain the business need that requires the category coding;
The classification and ordination module is carried out classification and ordination according to described classification to business paper;
Processing module, being used for according to coding rule is that business paper behind the described classification and ordination generates coding.
The embodiment of the invention provides a kind of operation code disposal system, comprising:
Business module is used for the business need that requires the category coding of user's input is sent to coding module;
Coding module is used to receive the business need that requires the category coding that business module sends; According to described classification business paper is carried out classification and ordination; According to coding rule is that business paper behind the described classification and ordination generates coding.
Technique scheme as can be seen, embodiment of the invention technical scheme is after obtaining the business need that requires the category coding, earlier business paper is carried out classification and ordination according to described classification, be that business paper behind the described classification and ordination generates coding according to coding rule then, thereby do not need all to increase a coding rule newly for each application scenarios, therefore can reduce configuration amount, it is more convenient to make operation code handle.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the business code-processing method process flow diagram of the embodiment of the invention one;
Fig. 2 is the business code-processing method process flow diagram of the embodiment of the invention two;
Fig. 3 is the business code-processing method process flow diagram of the embodiment of the invention three;
Fig. 4 is each segmentation synoptic diagram of coding rule in the embodiment of the invention three;
Fig. 5 is the coding module structural representation of the embodiment of the invention;
Fig. 6 is the operation code disposal system structural representation of the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
The embodiment of the invention provides a kind of business code-processing method, can improve the extendability that operation code is handled, and satisfies the different application demand.The embodiment of the invention also provides respective coding module and operation code disposal system.Below be elaborated respectively.
Fig. 1 is the business code-processing method process flow diagram of the embodiment of the invention one, mainly comprises step:
Step 101, obtain the business need that requires category coding;
In this step, obtain the business need that requires the category coding.For example, business need is to encode according to different months and different company.
Step 102, business paper is carried out classification and ordination according to described classification;
In this step, know requirement category coding after, earlier business paper classification is as requested carried out classification and ordination.For example, business paper is carried out classification and ordination according to different months and different company.Described business paper can be meant various documents, invoice, voucher, record etc., and the business paper described in other embodiment also is identical.
Step 103, be that business paper behind the described classification and ordination generates coding according to coding rule.
In this step,,, generate coding directly according to existing coding rule for the business paper of classification and ordination.Can comprise requirements such as coding value attribute, code length, coding initial value, step-length in the coding rule.
The described coding for the generation of the business paper behind the described classification and ordination comprises:
According to the coding initial value that defines in the coding rule, for the business paper behind the described classification and ordination renumbers; Perhaps, on existing classifying and numbering basis, be business paper numbering behind the described classification and ordination by incremental manner.
From this embodiment as can be seen, embodiment of the invention technical scheme is after obtaining the business need that requires the category coding, earlier business paper is carried out classification and ordination according to described classification, be that business paper behind the described classification and ordination generates coding according to coding rule then, thereby do not need all to increase a coding rule newly for each application scenarios, therefore can reduce configuration amount, it is more convenient to make operation code handle.
Fig. 2 is the business code-processing method process flow diagram of the embodiment of the invention two, mainly comprises step:
Step 201, obtain the business need that requires category coding;
In this step, obtain the business need that requires the category coding.For example, business need is to encode according to different months and different company.
Step 202, generate new coding rule, comprise the classification of classification in the described new coding rule according to described business need;
In this step, after knowing requirement category coding, generate new coding rule, for example original coding rule has comprised requirements such as coding value attribute, code length, coding initial value, step-length, present then increase new functional requirement, promptly the classification of the classification of Zeng Jiaing for example increases the requirement according to different months and different company's classification and ordination.
Step 203, business paper is carried out classification and ordination according to the classification of the classification in the described new coding rule;
In this step, according to the classification of the classification in the described new coding rule business paper is carried out classification and ordination earlier.For example, business paper is carried out classification and ordination according to different months and different company.
Step 204, according in the described new coding rule except that the requirement of the classification of classification, be that the business paper behind the described classification and ordination generates and encodes.
In this step, for carrying out business paper behind the classification and ordination according to the classification of the classification in the described new coding rule, again according in the described new coding rule except that the requirement of the classification of classification, generate and encode.Requirement in the coding rule except that the classification of classification for example can comprise requirements such as coding value attribute, code length, coding initial value, step-length.
The described coding for the generation of the business paper behind the described classification and ordination comprises:
According to the coding initial value that defines in the coding rule, for the business paper behind the described classification and ordination renumbers; Perhaps, on existing classifying and numbering basis, be business paper numbering behind the described classification and ordination by incremental manner.
From this embodiment as can be seen, embodiment of the invention technical scheme generates new coding rule according to described business need earlier after obtaining the business need that requires the category coding, comprise the classification of classification in the described new coding rule; Encode according to new coding rule again, comprising according to the classification of the classification in the described new coding rule business paper being carried out classification and ordination earlier, again according to the requirement except that the classification of classification in the described new coding rule, for the business paper behind the described classification and ordination generates coding.Like this, for a professional coding rule that uses, can tackle the multiple business scene, for example comprise making that by encoding in month, encoding, encode etc. coding rule can be dynamically according to business scenario by the document different attribute by different companies, carry out classification and ordination, satisfy different scene needs, thereby do not need to reduce configuration amount for each application scenarios all increases a coding rule newly, it is more convenient to make operation code handle, and extendability is strong.
Carry out more detailed introduction below in conjunction with three pairs of embodiment of the invention technical schemes of embodiment.
Simply introduce earlier the operation code disposal system that the embodiment of the invention relates to.In the embodiment of the invention, the operation code disposal system mainly comprises business module and coding module.Can comprise the mutual different information of a plurality of application interfaces between business module and coding module.Business module calls coding module according to user's requirement, by the requirement of coding module according to the user, according to the business paper generation coding of coding rule for user's input.Described business paper can be meant various documents, invoice, voucher, record etc.
Fig. 3 is the business code-processing method process flow diagram of the embodiment of the invention three, mainly comprises step:
Step 301, coding module obtain the business need that requires the category coding from business module;
In this step, business module obtains the business need of user's input, and this business need is that the requirement category is encoded.For example, business need is to encode according to different months and different business.Coding module obtains this business need from business module, can be that coding module requirement business module sends this business need, also can be that business module initiatively sends to business need to coding module.
Step 302, coding module generate new coding rule according to described business need, comprise the classification of classification in the described new coding rule;
In this step, know requirement category coding after, generate new coding rule.
Coding rule can comprise the different coding segmentation, for example comprise coding value attribute, date display format, code length, coding initial value, step-length, cover symbol, cover direction etc., in the embodiment of the invention according to business need, increase the classification and ordination field, thereby generation is new coding rule.
For example service needed is carried out classification and ordination by month, but option date, display format was days, and the classification and ordination option of correspondence chosen, then expression need be carried out classification and ordination by month, for example service needed is carried out classification and ordination by business, the value attribute of can selecting to encode is a title, and the classification and ordination option of correspondence is chosen, and then expression need be carried out classification and ordination by business.
Fig. 4 is each segmentation synoptic diagram of coding rule in the embodiment of the invention three.
As shown in Figure 4, the coding rule at the business paper setting is: the using system date (200906)+value property value (title)+and by month and Classification of Businesses ordering.
Display format is " 200906 " option date among Fig. 4, corresponding classification and ordination option is selected, and expression need be carried out classification and ordination by month, and selecting coding value attribute is title, corresponding classification and ordination option is selected, and expression need be carried out classification and ordination by business.
Step 303, business paper is carried out classification and ordination according to the classification of the classification in the described new coding rule;
In this step, according to the classification of the classification in the described new coding rule business paper is carried out classification and ordination earlier.For example, be " 200906 " according to the date display format, the classification and ordination option of " 200906 " correspondence is selected, and, coding value attribute is a title, and the classification and ordination option of title correspondence is selected, and business paper is carried out classification and ordination according to different months and different business.
Step 304, according in the described new coding rule except that the requirement of the classification of classification, be that the business paper behind the described classification and ordination generates and encodes.
In this step, for carrying out business paper behind the classification and ordination according to the classification of the classification in the described new coding rule, again according in the described new coding rule except that the requirement of the classification of classification, generate and encode.Requirement in the coding rule except that the classification of classification for example can comprise requirements such as coding value attribute, code length, coding initial value, step-length.
Wherein, the described coding for the generation of the business paper behind the described classification and ordination comprises: according to the coding initial value that defines in the coding rule, for the business paper behind the described classification and ordination renumbers; Perhaps, on existing classifying and numbering basis, be business paper numbering behind the described classification and ordination by incremental manner.
Step 305, coding module are given business module with the coding transmission that generates.
In this step, coding module is exported to business module with the coding of described generation, but described output format comprises preview format or edit format.Business module can be shown to the user.
In addition, coding module can also advance to reclaim to the coding that has generated before, can utilize the coding of described recovery to encode when this generates coding.Coding module can also reclaim the coding of this generation, uses when being used for encoding next time.
From this embodiment as can be seen, embodiment of the invention technical scheme coding module obtain from business module the business need that requires category coding for example be by month and professional requirement of encoding after, earlier generate new coding rule according to described business need, the classification that comprises classification in the described new coding rule specifically can embody by the code field that increases; Encode according to new coding rule again, comprising according to the classification of the classification in the described new coding rule business paper being carried out classification and ordination earlier, again according to the requirement except that the classification of classification in the described new coding rule, for the business paper behind the described classification and ordination generates coding.Like this, for a professional coding rule that uses, can tackle the multiple business scene, for example comprise and encoding by month, encode by different business, encode by different companies, encode etc. by the document different attribute, make that coding rule can be dynamically according to business scenario, carry out classification and ordination, satisfy different scene needs, thereby do not need can reduce configuration amount for each application scenarios all increases a coding rule newly, it is more convenient to make operation code handle, extendability is strong, the different demands of user are satisfied in also easier maintenance, are more suitable for the application of business paper being encoded in business management software.
Foregoing describes the business code-processing method of the embodiment of the invention in detail, below introduces coding module and the operation code disposal system that the embodiment of the invention provides in detail.
Fig. 5 is the coding module structural representation of the embodiment of the invention.
As shown in Figure 5, coding module comprises: information acquisition module 51, classification and ordination module 52, processing module 53.
Information acquisition module 51 is used to obtain the business need that requires the category coding;
Classification and ordination module 52 is carried out classification and ordination according to described classification to business paper;
Processing module 53, being used for according to coding rule is that business paper behind the described classification and ordination generates coding.
Coding module also comprises: new coding rule generation module 54.
New coding rule generation module 54 is used for generating new coding rule according to described business need, comprises the classification of classification in the described new coding rule; Described classification and ordination module 52 is carried out classification and ordination according to the classification of the classification in the described new coding rule to business paper; Described processing module 53 is according to the requirement except that the classification of classification in the described new coding rule, for the business paper behind the described classification and ordination generates coding.
Coding module also comprises: coding output module 55.
Coding output module 55 be used for the coding output with described generation, but described output format comprises preview format or edit format.
Described processing module 53 is that the business paper behind the described classification and ordination generates when encoding, and comprises that the number that utilizes recovery is the business paper generation coding behind the described classification and ordination.
Described processing module 53 is that the business paper behind the described classification and ordination generates when encoding, according to the coding initial value that defines in the coding rule, for the business paper behind the described classification and ordination renumbers; Perhaps, on existing classifying and numbering basis, be business paper numbering behind the described classification and ordination by incremental manner.
Fig. 6 is the operation code disposal system structural representation of the embodiment of the invention.
As shown in Figure 6, the operation code disposal system comprises: business module 61, coding module 62.
Business module 61 is used for the business need that requires the category coding of user's input is sent to coding module 62;
Coding module 62 is used to receive the business need that requires the category coding that business module 61 sends; According to described classification business paper is carried out classification and ordination; According to coding rule is that business paper behind the described classification and ordination generates coding.
Described coding module 62 also generates new coding rule according to described business need, comprises the classification of classification in the described new coding rule;
When described coding module 62 carries out classification and ordination, business paper is carried out classification and ordination according to the classification of the classification in the described new coding rule; When generating coding, according to the requirement except that the classification of classification in the described new coding rule, for the business paper behind the described classification and ordination generates coding.
Wherein, coding module 62 has structure shown in Figure 5, specifically referring to the description of Fig. 5, repeats no more herein.
Need to prove, contents such as the information interaction between said apparatus and intrasystem each unit, implementation since with the inventive method embodiment based on same design, particular content can repeat no more referring to the narration among the inventive method embodiment herein.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of the foregoing description is to instruct relevant hardware to finish by program, this program can be stored in the computer-readable recording medium, storage medium can comprise: ROM (read-only memory) (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc.
More than a kind of business code-processing method, coding module and system that the embodiment of the invention provided are described in detail, used specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1, a kind of business code-processing method is characterized in that, comprising:
Obtain the business need that requires the category coding;
According to described classification business paper is carried out classification and ordination;
According to coding rule is that business paper behind the described classification and ordination generates coding.
2, business code-processing method according to claim 1 is characterized in that:
Describedly business paper is carried out comprising before the classification and ordination according to described classification:
Generate new coding rule according to described business need, comprise the classification of classification in the described new coding rule;
Describedly according to described classification business paper is carried out classification and ordination and comprise: the classification according to the classification in the described new coding rule is carried out classification and ordination to business paper;
Described is that business paper behind the described classification and ordination generates coding and comprises according to coding rule: according in the described new coding rule except that the requirement of the classification of classification, be that the business paper behind the described classification and ordination generates and encodes.
3, business code-processing method according to claim 1 and 2 is characterized in that:
Described for also comprising after the generation of the business paper behind the described classification and ordination coding: with the coding output of described generation, but described output format comprises preview format or edit format.
4, business code-processing method according to claim 1 and 2 is characterized in that:
The described coding for the generation of the business paper behind the described classification and ordination comprises:
According to the coding initial value that defines in the coding rule, for the business paper behind the described classification and ordination renumbers; Perhaps, on existing classifying and numbering basis, be business paper numbering behind the described classification and ordination by incremental manner.
5, a kind of coding module is characterized in that, comprising:
The information acquisition module is used to obtain the business need that requires the category coding;
The classification and ordination module is carried out classification and ordination according to described classification to business paper;
Processing module, being used for according to coding rule is that business paper behind the described classification and ordination generates coding.
6, coding module according to claim 5 is characterized in that, also comprises:
New coding rule generation module is used for generating new coding rule according to described business need, comprises the classification of classification in the described new coding rule;
Described classification and ordination module is carried out classification and ordination according to the classification of the classification in the described new coding rule to business paper;
Described processing module is according to the requirement except that the classification of classification in the described new coding rule, for the business paper behind the described classification and ordination generates coding.
7, according to claim 5 or 6 described coding modules, it is characterized in that, also comprise:
The coding output module be used for the coding output with described generation, but described output format comprises preview format or edit format.
8, according to claim 5 or 6 described coding modules, it is characterized in that:
Described processing module is that the business paper behind the described classification and ordination generates when encoding, according to the coding initial value that defines in the coding rule, for the business paper behind the described classification and ordination renumbers; Perhaps, on existing classifying and numbering basis, be business paper numbering behind the described classification and ordination by incremental manner.
9, a kind of operation code disposal system is characterized in that, comprising:
Business module is used for the business need that requires the category coding of user's input is sent to coding module;
Coding module is used to receive the business need that requires the category coding that business module sends; According to described classification business paper is carried out classification and ordination; According to coding rule is that business paper behind the described classification and ordination generates coding.
10, operation code disposal system according to claim 9 is characterized in that:
Described coding module also generates new coding rule according to described business need, comprises the classification of classification in the described new coding rule;
When described coding module carries out classification and ordination, business paper is carried out classification and ordination according to the classification of the classification in the described new coding rule; When generating coding, according to the requirement except that the classification of classification in the described new coding rule, for the business paper behind the described classification and ordination generates coding.
CN200910172944A 2009-09-11 2009-09-11 Business code-processing method, coding module and system Pending CN101650807A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910172944A CN101650807A (en) 2009-09-11 2009-09-11 Business code-processing method, coding module and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910172944A CN101650807A (en) 2009-09-11 2009-09-11 Business code-processing method, coding module and system

Publications (1)

Publication Number Publication Date
CN101650807A true CN101650807A (en) 2010-02-17

Family

ID=41673041

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910172944A Pending CN101650807A (en) 2009-09-11 2009-09-11 Business code-processing method, coding module and system

Country Status (1)

Country Link
CN (1) CN101650807A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104573088A (en) * 2015-01-29 2015-04-29 北京京东尚科信息技术有限公司 Document serial number generation method and device
CN111968022A (en) * 2020-08-12 2020-11-20 武汉易瑞信息技术股份有限公司 Service number generation system and method based on JSON configuration mode
CN115688683A (en) * 2023-01-05 2023-02-03 东方合智数据科技(广东)有限责任公司 Document number issuing method, device, equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104573088A (en) * 2015-01-29 2015-04-29 北京京东尚科信息技术有限公司 Document serial number generation method and device
CN111968022A (en) * 2020-08-12 2020-11-20 武汉易瑞信息技术股份有限公司 Service number generation system and method based on JSON configuration mode
CN111968022B (en) * 2020-08-12 2021-10-26 武汉易瑞信息技术股份有限公司 Service number generation system and method based on JSON configuration mode
CN115688683A (en) * 2023-01-05 2023-02-03 东方合智数据科技(广东)有限责任公司 Document number issuing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105512890A (en) Method and system for generating accounting voucher
CN102831127A (en) Method, device and system for processing repeating data
CN103279454A (en) Document automatic generation method, device and system
CN104035754A (en) XML (Extensible Markup Language)-based custom code generation method and generator
CN101668047B (en) Method and device for automatically generating composite service description language
CN101655944A (en) Method and system for coding service receipt
US7085423B2 (en) Apparatus and method for filing and reproducing images
CN101118558B (en) Converting method and apparatus for resource file
CN104820764A (en) Method and device for producing electronic assembly technologic document
CN109635525A (en) Adding method, device, equipment and the storage medium of watermark
CN110399345A (en) A kind of file uploads and management method
CN105404472A (en) Method and apparatus for compressing storage space of log time data
CN101650807A (en) Business code-processing method, coding module and system
CN101673376A (en) Method and device for acquiring business bill encodes
CN108805507A (en) A kind of implementation method and device of electronic bill of lading
CN101650808A (en) Business code-processing method, coding module and system
KR950001526A (en) Document processing method
CN100377158C (en) Method for creating library file
CN109783779B (en) Tool for importing, exporting and converting data EXCEL
CN103218589A (en) Enterprise resource planning (ERP) data identification method supporting various identification techniques
CN112527947A (en) Method and device for filing electronic documents
CN110738278A (en) two-dimensional code file compilation method and system
CN116009793A (en) Printing method
CN109542904A (en) Business data processing method, device, server and medium
CN109726204A (en) A kind of data information management method and device based on self-defining data table

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20100217