CN101655944A - Method and system for coding service receipt - Google Patents

Method and system for coding service receipt Download PDF

Info

Publication number
CN101655944A
CN101655944A CN200910177824A CN200910177824A CN101655944A CN 101655944 A CN101655944 A CN 101655944A CN 200910177824 A CN200910177824 A CN 200910177824A CN 200910177824 A CN200910177824 A CN 200910177824A CN 101655944 A CN101655944 A CN 101655944A
Authority
CN
China
Prior art keywords
business
coding
coding rule
business scenario
paper
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
CN200910177824A
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 CN200910177824A priority Critical patent/CN101655944A/en
Publication of CN101655944A publication Critical patent/CN101655944A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

The embodiment of the invention discloses a method and a system for coding a service receipt, which are used for recognizing the processing course of the service receipt. The method for coding the service receipt comprises the following steps: defining a service scene suitable for a coding rule; receiving a coding request of the service receipt, wherein the coding request carries the current service scene information of the service receipt; acquiring the matched coding rule of the defined service scene and the current service scene of the service receipt; generating a code according to the acquired coding rule and returning the code to the service receipt. The embodiment of the invention also provides a system for coding the service receipt. The embodiment of the invention can easily recognize the processing course of the service receipt.

Description

A kind of business bill encodes method and system
Technical field
The present invention relates to the application of encoding, relate in particular to a kind of business bill encodes method and system.
Background technology
Coding is widely used in the miscellaneous service document as a kind of sign, is used for business paper is discerned and managed.For example, common code name, numbering, code etc. all are a kind of coding forms.
The coding of business paper is to generate according to certain rule, and this rule is called coding rule.The user need pre-define this business paper corresponding codes rule before giving business bill encodes, like this, when needs generate the coding of business paper, can select business paper corresponding codes rule, thereby generate the coding of this business paper.
At present, the user takes man-to-man mode to define to business paper definition coding rule the time, and promptly the corresponding coding rule of business paper generates a coding.For exist the multiple business scene (as submit to, temporary, audit, anti-audit etc.) business paper for, its coding also only has one.
The inventor finds, for exist as submit to, for the business paper of multiple business scenes such as temporary, audit, anti-audit, if its coding only has one, the user only will be difficult to identify the treatment progress of business paper according to the coding of business paper so.
Summary of the invention
The embodiment of the invention provides a kind of business bill encodes method and system, can easily identify the treatment progress of business paper.
For achieving the above object, the embodiment of the invention provides following technical scheme:
The embodiment of the invention provides a kind of business bill encodes method, comprising:
The business scenario that the definition coding rule is suitable for;
Receive the coding request of business paper, the current business scenario information of described business paper has been carried in this coding request;
Obtain the coding rule that the current business scenario of the business scenario of definition and described business paper is complementary;
Generate coding according to the coding rule that obtains, and return to described business paper.
The embodiment of the invention provides a kind of business bill encodes system, comprising:
Definition module is used to define the business scenario that coding rule is suitable for;
Receiver module is used to receive the coding request of business paper, and the current business scenario information of described business paper has been carried in this coding request;
Acquisition module is used to obtain the coding rule that the current business scenario of the business scenario of definition and described business paper is complementary;
Generation module is used for generating coding according to the coding rule that obtains;
Return module, be used for the coding that described generation module generates is returned to described business paper.
As can be seen from the above technical solutions, the embodiment of the invention has the following advantages:
In the embodiment of the invention, defined the business scenario that coding rule is suitable for, for example submit to, keep in, examine, instead examine etc., coding corresponding to business paper needs, can obtain the coding rule that the current business scenario of the business scenario of definition and business paper is complementary, thereby generate the coding of business paper under current business scenario.The embodiment of the invention can generate different codings respectively when the business scenario of business paper is different, thereby can easily identify the treatment progress of business paper according to the coding of business paper.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention, to do to introduce simply to the accompanying drawing of required use among the embodiment 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.
The process flow diagram of a kind of business bill encodes method that provides in Fig. 1 embodiment of the invention;
A kind of method flow diagram that generates business bill encodes that provides in Fig. 2 embodiment of the invention;
The structural drawing of a kind of business bill encodes system that provides in Fig. 3 embodiment of the invention;
The structural drawing of a kind of generation module that provides in Fig. 4 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.
Embodiment one:
See also Fig. 1, a kind of method flow diagram that obtains business bill encodes that Fig. 1 provides for the embodiment of the invention one.As shown in Figure 1, this method can comprise step:
101: the business scenario that the definition coding rule is suitable for;
For instance, the business scenario that the coding rule that defines in the embodiment of the invention is suitable for can be to submit to or provisional or audit or anti-audit, or the business scenario of other types;
Perhaps, the suitable business scenario of the coding rule that defines in the embodiment of the invention also can be the combination of type of service, document status and the service condition of business paper;
Wherein, type of service comprises common invoice, VAT invoice or the like; Document status comprises submission, keeps in, examines and anti-audit or the like; Service condition comprises calcellation, prints certainly, receives and turns over or the like.
Wherein, the business scenario that the coding rule of embodiment of the invention definition is suitable for can adopt the mode that is suitable for attribute to represent, such as representing different business scenario etc. by defining different suitable Property Names and suitable property value.For instance, if the business scenario that the coding rule of definition is suitable for is the combination of type of service, document status and the service condition of business paper, then can carry out the configuration of business scenario by configuration file.
102: receive the coding request of business paper, the current business scenario information of business paper has been carried in this coding request;
For instance, the entrained current business scenario of business paper of the coding request in the above-mentioned steps 102 also can be to submit to or provisional or audit or anti-audit, or the business scenario of other types.
103: obtain the coding rule that the current business scenario of the business scenario of definition and above-mentioned business paper is complementary;
For instance, if the current business scenario of business paper is submission, then obtain the coding rule of business scenario for submitting to of definition in the above-mentioned steps 101; Perhaps
If the current business scenario of business paper is temporary, the business scenario that then obtains definition in the above-mentioned steps 101 is temporary coding rule; Perhaps
If the current business scenario of business paper is audit, then obtain the coding rule of the business scenario of definition in the above-mentioned steps 101 for audit; Perhaps
If the current business scenario of business paper is anti-audit, then obtain the coding rule of the business scenario of definition in the above-mentioned steps 101 for anti-audit.
104: generate coding according to the coding rule that obtains, and return to above-mentioned business paper.
For instance, generate coding according to the coding rule that obtains in the above-mentioned steps 104 and can adopt method shown in Figure 2.See also Fig. 2, a kind of method flow diagram that generates business bill encodes that Fig. 2 provides for the embodiment of the invention one.As shown in Figure 2, this method can comprise step:
201: resolve the coding rule that obtains and obtain each encoded segment, each encoded segment identifies a kind of business paper information;
For instance, the encoded segment in the above-mentioned steps 201 can include but not limited to that the segmentation of attribute classification, attribute use pattern segmentation, the segmentation of value attribute, display format segmentation, length segmentation, initial value segmentation, step-length segmentation and the segmentation of cover symbol or the like.
202:, generate the coding of each encoded segment respectively according to the coding rule of each encoded segment;
Need to prove that can call the coding that concrete processing module generates each encoded segment according to the coding rule of each encoded segment, this is that those skilled in the art are in common knowledge, the embodiment of the invention is not described in detail at this.
203: the complete coding that the code set of each encoded segment is synthesized business paper.
In sum, in embodiments of the present invention, can define the business scenario that coding rule is suitable for earlier, coding corresponding to business paper needs, can obtain the coding rule that the current business scenario of the business scenario of definition and business paper is complementary, thereby generate the coding of business paper under current business scenario.Like this, can when the business scenario of business paper is different, generate different codings respectively, thereby can easily identify the treatment progress of business paper according to the coding of business paper.
Embodiment two:
See also Fig. 3, the structural drawing of a kind of business bill encodes system that Fig. 3 provides for the embodiment of the invention two.As shown in Figure 3, this system can comprise:
Definition module 301 is used to define the business scenario that coding rule is suitable for;
For instance, in the embodiment of the invention, definition module 301 can define the suitable business scenario of coding rule and be submission or provisional or audit or anti-the audit, or the business scenario of other types.
Perhaps, the suitable business scenario of coding rule of definition module 301 definition is the combination of type of service, document status and the service condition of business paper; Type of service comprises common invoice, VAT invoice or the like; Document status comprises submission, keeps in, examines and anti-audit or the like; Service condition comprises calcellation, prints certainly, receives and turns over or the like.
Receiver module 302 is used to receive the coding request of business paper, and the current business scenario information of business paper has been carried in this coding request;
Equally, the entrained current business scenario of business paper of coding request that above-mentioned receiver module 302 receives also can be to submit to or provisional or audit or anti-audit, or the business scenario of other types.
Acquisition module 303 is used to obtain the coding rule that the current business scenario of the business scenario of definition and above-mentioned business paper is complementary;
For instance, if the entrained current business scenario of business paper is submission in the coding request that receiver module 302 receives, then acquisition module 303 can obtain the coding rule of business scenario for submitting to of definition from definition module 301; Perhaps
If the current business scenario of business paper entrained in the coding request that receiver module 302 receives is temporary, then acquisition module 303 can obtain the coding rule of business scenario for keeping in of definition from definition module 301; Perhaps
If the current business scenario of business paper entrained in the coding request that receiver module 302 receives is audit, then acquisition module 303 can obtain the coding rule of the business scenario of definition for audit from definition module 301; Perhaps
If the entrained current business scenario of business paper is anti-audit in the coding request that receiver module 302 receives, then acquisition module 303 can obtain the coding rule of the business scenario of definition for anti-audit from definition module 301.
Generation module 304 is used for generating coding according to the coding rule that obtains;
Return module 305, be used for the coding that generation module 304 generates is returned to above-mentioned business paper.
See also Fig. 4, the structural drawing of a kind of generation module 304 that Fig. 4 provides for the embodiment of the invention two.As shown in Figure 4, the generation module 304 that provides of the embodiment of the invention can comprise:
Analyzing sub-module 3041 is used to resolve the coding rule that obtains and obtains each encoded segment, and each encoded segment identifies a kind of business paper information;
For instance, analyzing sub-module 3041 is resolved the encoded segment that obtains and can be included but not limited to that the segmentation of attribute classification, attribute use pattern segmentation, the segmentation of value attribute, display format segmentation, length segmentation, initial value segmentation, step-length segmentation and the segmentation of cover symbol or the like.
Generate submodule 3042, be used for coding rule, generate the coding of each encoded segment respectively according to each encoded segment;
Composite module 3043 is used for and will generates the complete coding of the synthetic described business paper of code set of each encoded segment that submodule 3042 generates.
In sum, in embodiments of the present invention, can define the business scenario that coding rule is suitable for by definition module, coding corresponding to business paper needs, acquisition module can obtain the coding rule that the current business scenario of the business scenario of definition and business paper is complementary, and generates the coding of business paper under current business scenario by generation module according to the coding rule that obtains again.The embodiment of the invention can generate different codings respectively when the business scenario of business paper is different, thereby can easily identify the treatment progress of business paper according to the coding of business paper.
More than a kind of business bill encodes method 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 bill encodes method is characterized in that, comprising:
The business scenario that the definition coding rule is suitable for;
Receive the coding request of business paper, the current business scenario information of described business paper has been carried in this coding request;
Obtain the coding rule that the current business scenario of the business scenario of definition and described business paper is complementary;
Generate coding according to the coding rule that obtains, and return to described business paper.
2, the method for claim 1 is characterized in that, the business scenario that described coding rule is suitable for is for submitting to or provisional or audit or anti-audit.
3, method as claimed in claim 2 is characterized in that, the coding rule that the current business scenario of described business scenario that obtains definition and described business paper is complementary comprises:
If the current business scenario of described business paper is submission, then obtain the coding rule of business scenario for submitting to of definition; Or
If the current business scenario of described business paper is temporary, the business scenario that then obtains definition is temporary coding rule; Or
If the current business scenario of described business paper is audit, then obtain the coding rule of the business scenario of definition for audit; Or
If the current business scenario of described business paper is anti-audit, then obtain the coding rule of the business scenario of definition for anti-audit.
As each described method of claim 1 to 3, it is characterized in that 4, the coding rule that described basis is obtained generates coding and comprises:
The coding rule that parsing is obtained obtains each encoded segment, and each encoded segment identifies a kind of business paper information;
According to the coding rule of each encoded segment, generate the coding of each encoded segment respectively;
The complete coding that the code set of each encoded segment is synthesized described business paper.
5, the method for claim 1 is characterized in that, the business scenario that described coding rule is suitable for is the combination of type of service, document status and the service condition of business paper; Described type of service comprises common invoice, VAT invoice; Described document status comprises submission, keeps in, examines and anti-audit; Described service condition comprises calcellation, prints certainly, receives and turns over.
6, a kind of business bill encodes system is characterized in that, comprising:
Definition module is used to define the business scenario that coding rule is suitable for;
Receiver module is used to receive the coding request of business paper, and the current business scenario information of described business paper has been carried in this coding request;
Acquisition module is used to obtain the coding rule that the current business scenario of the business scenario of definition and described business paper is complementary;
Generation module is used for generating coding according to the coding rule that obtains;
Return module, be used for the coding that described generation module generates is returned to described business paper.
7, system as claimed in claim 6 is characterized in that, the business scenario that the coding rule of described definition module definition is suitable for is for submitting to or provisional or audit or anti-audit.
8, system as claimed in claim 7 is characterized in that, described acquisition module specifically is used for obtaining the coding rule of business scenario for submitting to that defines in the definition module when the current business scenario of described business paper is submission; Perhaps, when temporary, the business scenario that obtains definition is temporary coding rule at the current business scenario of described business paper; Perhaps, when the current business scenario of described business paper is audit, obtain the coding rule of the business scenario of definition for audit; Perhaps, when the current business scenario of described business paper is anti-audit, obtain the coding rule of the business scenario of definition for anti-audit.
9, as each described system of claim 6 to 8, it is characterized in that described generation module comprises:
Analyzing sub-module, the coding rule that is used to resolve selection obtains each encoded segment, and each encoded segment identifies a kind of business paper information;
Generate submodule, be used for coding rule, generate the coding of each encoded segment respectively according to each encoded segment;
Composite module is used for the complete coding of the synthetic described business paper of code set of each encoded segment that described generation submodule is generated.
10, system as claimed in claim 6 is characterized in that, the business scenario that the coding rule of described definition module definition is suitable for is the combination of type of service, document status and the service condition of business paper; Described type of service comprises common invoice, VAT invoice; Described document status comprises submission, keeps in, examines and anti-audit; Described service condition comprises calcellation, prints certainly, receives and turns over.
CN200910177824A 2009-09-25 2009-09-25 Method and system for coding service receipt Pending CN101655944A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910177824A CN101655944A (en) 2009-09-25 2009-09-25 Method and system for coding service receipt

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910177824A CN101655944A (en) 2009-09-25 2009-09-25 Method and system for coding service receipt

Publications (1)

Publication Number Publication Date
CN101655944A true CN101655944A (en) 2010-02-24

Family

ID=41710229

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910177824A Pending CN101655944A (en) 2009-09-25 2009-09-25 Method and system for coding service receipt

Country Status (1)

Country Link
CN (1) CN101655944A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102542340A (en) * 2010-12-15 2012-07-04 金蝶软件(中国)有限公司 Coding method for batch numbers of service documents and device
CN103019698A (en) * 2012-11-22 2013-04-03 用友软件股份有限公司 Document watermark generation device and document watermark generation method
CN105183794A (en) * 2015-08-24 2015-12-23 用友网络科技股份有限公司 Business serial number generation apparatus and method
CN106933560A (en) * 2015-12-30 2017-07-07 远光软件股份有限公司 A kind of automatic coding and device
CN107633451A (en) * 2017-10-23 2018-01-26 深圳市中润四方信息技术有限公司 A kind of tax-related service processing method, system
CN110097444A (en) * 2019-05-14 2019-08-06 京东方科技集团股份有限公司 A kind of flowing water code generating method and device
CN110503555A (en) * 2019-08-28 2019-11-26 中国工商银行股份有限公司 The review method, apparatus and server of transaction data
CN111178992A (en) * 2019-12-25 2020-05-19 航天信息股份有限公司 Electronic bill source issuing method and system
CN115688683A (en) * 2023-01-05 2023-02-03 东方合智数据科技(广东)有限责任公司 Document number issuing method, device, equipment and storage medium

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102542340A (en) * 2010-12-15 2012-07-04 金蝶软件(中国)有限公司 Coding method for batch numbers of service documents and device
CN103019698A (en) * 2012-11-22 2013-04-03 用友软件股份有限公司 Document watermark generation device and document watermark generation method
CN103019698B (en) * 2012-11-22 2016-03-30 用友优普信息技术有限公司 Document watermark generating apparatus and document watermark generation method
CN105183794A (en) * 2015-08-24 2015-12-23 用友网络科技股份有限公司 Business serial number generation apparatus and method
CN105183794B (en) * 2015-08-24 2018-12-14 用友网络科技股份有限公司 Business serial number generating means and method
CN106933560A (en) * 2015-12-30 2017-07-07 远光软件股份有限公司 A kind of automatic coding and device
CN107633451A (en) * 2017-10-23 2018-01-26 深圳市中润四方信息技术有限公司 A kind of tax-related service processing method, system
CN110097444A (en) * 2019-05-14 2019-08-06 京东方科技集团股份有限公司 A kind of flowing water code generating method and device
CN110503555A (en) * 2019-08-28 2019-11-26 中国工商银行股份有限公司 The review method, apparatus and server of transaction data
CN111178992A (en) * 2019-12-25 2020-05-19 航天信息股份有限公司 Electronic bill source issuing method and system
CN115688683A (en) * 2023-01-05 2023-02-03 东方合智数据科技(广东)有限责任公司 Document number issuing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN101655944A (en) Method and system for coding service receipt
US20080048044A1 (en) Barcode Encoding and Decoding
CN103248555A (en) Method and device for adding friends
CN103455574B (en) The method and apparatus of Internet of Things unifying identifier coding multimode recognition
CN101673376A (en) Method and device for acquiring business bill encodes
EP2482231B1 (en) Method for encoding and decoding data on a matrix code symbol
CN106919882A (en) A kind of method that two-dimentional digital content switchs to pure digi-tal symbolic coding
CN104915698B (en) Chemical producting safety information quick search and complete period tracking digital labelling system
CN111222611B (en) Color-based stacked three-dimensional code encoding method, encoding device, decoding method, decoding device and storage medium
CN109214486B (en) Three-dimensional code, three-dimensional code generation method and device, and three-dimensional code identification method and device
CN103544516A (en) Two-dimensional code encoding and decoding method, two-dimensional code encoder and two-dimensional code decoder
CN108134799B (en) Novel coding and decoding method and device thereof
CN101650808A (en) Business code-processing method, coding module and system
CN107247984B (en) Coding method of visual two-dimensional code
CN108108267B (en) Data recovery method and device
CN102651795B (en) Run-length reduced binary sequence compressed encoding method
Kuribayashi et al. Enrichment of visual appearance of aesthetic QR code
CN101650807A (en) Business code-processing method, coding module and system
CN106874979B (en) Bar code processing, displaying and reading method and device
CN104442054A (en) Two-dimension code printing method and device based on mainframe platform
CN202013593U (en) Electronic coupons system
CN105139059A (en) Two-dimensional code generation method and device
CN104424619A (en) Information processing apparatus and information processing method
CN101099387B (en) Method and apparatus for encoding/decoding point sequences on laser binary representation
CN101101628B (en) Chinese character compression method of two-dimensional bar code coding

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

Application publication date: 20100224