CN102495911B - Field mark method transaction journal file and its information recording method - Google Patents

Field mark method transaction journal file and its information recording method Download PDF

Info

Publication number
CN102495911B
CN102495911B CN201110462230.6A CN201110462230A CN102495911B CN 102495911 B CN102495911 B CN 102495911B CN 201110462230 A CN201110462230 A CN 201110462230A CN 102495911 B CN102495911 B CN 102495911B
Authority
CN
China
Prior art keywords
field
transaction
file
length
judging
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110462230.6A
Other languages
Chinese (zh)
Other versions
CN102495911A (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.)
China Unionpay Co Ltd
Original Assignee
China Unionpay 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 China Unionpay Co Ltd filed Critical China Unionpay Co Ltd
Priority to CN201110462230.6A priority Critical patent/CN102495911B/en
Priority claimed from CN200810207264A external-priority patent/CN101751413A/en
Publication of CN102495911A publication Critical patent/CN102495911A/en
Application granted granted Critical
Publication of CN102495911B publication Critical patent/CN102495911B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

Present invention is disclosed the methods for the information in record field mark type transaction journal file, and described information includes multiple fields, wherein for each field:With one or more numbers or character mark field, as field specifier;After the field specifier, with the occupancy digit of three bit digital identification field contents, as field length;And setting and the corresponding Transaction Information of the field after the field length.The present invention also reveals field mark type transaction journal file, and the file has one or more record, and every record includes multiple fields, wherein, the field sets gradually the Transaction Information stored in field specifier, field length and field.Transaction journal file and its recording method of the present invention is employed, after Trading parties are in completion primary system transformation, only need to be the purpose that can reach flexible combination business model and development new business by parameter configuration, reduce subsequent system reform amount.

Description

Field marking method transaction pipeline file and information recording method thereof
The present application is a divisional application with an application number of 200810207264.9 entitled "field mark method transaction journal file and information recording method thereof" (original application date is 2008, 12/18).
Technical Field
The invention relates to a transaction running file used in banking industry, in particular to a field segment bit-based transaction running file and an information marking method thereof.
Background
The transaction flow document (also called transaction detail document) is a very important data record in the whole bank card payment link, and by using the document, each transaction participant in different payment links can check the transaction detail and ensure the accuracy of the account, so that the transaction flow document is required to have a uniform format so that the transaction participants can mutually analyze the document data record of the other party. On the other hand, with the change of payment services, new transaction elements are in endless, which requires that transaction documents have flexible and changeable formats so that transaction participants can analyze document data without system modification. The entire disclosure of the invention patent application having application number 200310121631, filed as chinese union of silver limited, is incorporated herein by reference.
Fig. 1 shows a schematic table of constituting a transaction pipeline document in the prior art. Wherein the transaction pipeline file is composed of records related to the payment service, and each record contains a plurality of fields. Where records are arranged horizontally and fields are arranged vertically. As can be seen from the table, all records include a field 1, a field 2, a. All network access mechanisms (such as card issuing banks, settlement banks, agent banks or terminal equipment and the like) can mutually analyze the meaning of the files of the opposite party only by simultaneously complying with the fixed format, and in a sense, the fixed format based on fields for the transaction flow files provides convenience for transaction participants to process and analyze data.
However, as the variety of financial and transaction activities is increased, the transaction content is gradually enriched, and the requirements for transaction documents are continuously increased. For example, a previous transaction pipeline file may include only an acquirer code, an issuer code, and a transaction amount. But for organizations that have developed new businesses, how to make the current transaction pipeline file compatible with identifying transaction currencies and/or roll-out organization codes is also possible. In contrast, under the condition that the whole file structure is not changed, the currently common processing measures are as follows: the field n of each record in fig. 1 is defined as a "reserved field" occupying a large space, and redundant space in the reserved field is continuously enabled and redefined to accommodate the field required for developing new services. Indeed, the processing method can reduce the modification of each transaction participant to the application system as much as possible, and can meet the requirement of increasing the information amount in the transaction pipeline file.
However, it is obvious that even if the space reserved by the defined reserved field is larger, the redundant space is limited, and thus the persistent development and compatibility are not achieved. At present, situations where there are not enough reserved fields available have also been reflected by some application instances. Secondly, due to the limitation of reserved fields, the definition modification must be careful and careful, and also consider saving space as much as possible. In addition, the newly added content is completely placed in a reserved field, the structure is disordered, and the reserved field needs to be multiplexed and multiply defined sometimes.
Disclosure of Invention
Aiming at the technical defects existing in the prior art when each transaction participant uses the transaction pipeline file, the invention provides a field marking method for the transaction pipeline file. The transaction running file constructed by the field marking method is beneficial to breaking the boundary between the transaction file and the transaction message and breaking the construction mode of fixing the file sequence. The method has the advantages that the recording length is variable, the field sequence is variable, the method can be freely customized according to the requirements of the network access mechanism, the method is a file construction mode which is completely freely variable, the modification amount of the system can be reduced after the construction mode is adopted by a self system of the Unionpay or the network access mechanism system, and the service modification of one mechanism cannot influence other mechanisms.
According to one aspect of the present invention, there is provided a method for recording information in a field marked transaction pipeline file, the information comprising a plurality of fields, wherein for each field: identifying the field with one or more digits or characters as a field identifier; after the field identifier, identifying the occupied digit of the field content by a three-digit number as the field length; and setting transaction data corresponding to the field after the field length.
Preferably, the field identifier is any three-bit ACSII character.
Preferably, the field identifier may identify various transaction information such as basic transaction information, international business transaction information, commission authorization transaction information, and the like.
Preferably, the order among the fields or field combinations that make up the transaction pipeline document is not fixed.
Preferably, the field length is any three digit decimal number from 000 to 999.
According to yet another aspect of the present invention, there is provided a method for parsing information of a transaction pipeline file, the method including:
reading data information in a transaction flow file;
judging whether the transaction flow file is a line end symbol of the transaction flow file;
if not, analyzing the field identifier and the field length;
acquiring value content corresponding to the field length bit by bit; and
when the length of the field reaches the end of the length, whether the line end character appears is judged again.
According to still another aspect of the present invention, there is provided a method for processing a field mark type transaction pipeline document, the method including:
writing basic transaction information to form the field mark type transaction pipeline file;
reading in the basic transaction information to analyze the transaction flow file;
analyzing and judging the analyzed transaction pipeline file by using a judging unit;
if the analyzed transaction flow file meets the judgment criterion of the judgment unit, executing the writing/reading operation of the content and the quantity; and
and packaging the analyzed transaction flow file.
Preferably, the judging unit performs mark definition and length judgment on the field mark type transaction pipeline file.
According to still another aspect of the present invention, there is provided a field marking type transaction pipeline document processing apparatus, including:
the basic transaction information writing/reading unit is used for constructing and analyzing the field mark type transaction pipeline file;
the judging unit is used for analyzing and judging the analyzed transaction flow files according to a judging criterion;
the content writing/reading unit is used for executing content writing/reading operation when the transaction running file meets the judgment criterion;
the quantity writing/reading unit is used for executing quantity writing/reading operation when the transaction running file meets the judgment criterion; and
and the packaging unit is used for packaging the analyzed transaction pipeline file.
Preferably, the judgment criterion is used for judging whether the field mark type transaction pipeline file conforms to the field mark definition and length management of the judgment unit.
By adopting the information marking method for the transaction stream file, the new service is easy to expand, when each transaction party completes one system transformation, the purposes of flexibly combining service modes and developing new services are achieved only through parameter configuration, and the subsequent system transformation amount is reduced. In addition, after the field marking method is adopted, the newly added service expansion does not need to change the definition or the processing flow of the technical specification of the transaction detail information file, and only the new field identification and the content definition thereof are issued, thereby being beneficial to quickly realizing the service expansion.
Drawings
The various aspects of the present invention will become more apparent to the reader after reading the detailed description of the invention with reference to the attached drawings. Wherein,
FIG. 1 shows a schematic table of composing a transaction pipeline document in the prior art;
FIG. 2 shows an illustrative embodiment of a field-based transaction pipeline file in the present invention;
FIG. 3 illustrates file contents of a field marking record used to mark a transaction pipeline file such as that shown in FIG. 2;
FIG. 4 is a schematic block flow diagram illustrating a method of processing a transaction pipeline document constructed in accordance with the field marking method of the present invention; while
FIG. 5 shows a schematic diagram of an interactive unit processing an entire transaction pipeline document.
Detailed Description
Embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
As can be seen from the foregoing fig. 1, in the current transaction pipeline document, the meaning represented by each field is uniquely determined according to the position and the sequence thereof. For example, field 1 requires the acceptance agency code to be filled in, all parties to a transaction need to fill the acceptance agency code in field 1 when the document is generated, and when the document is received, the filled value in field 1 must be considered to uniquely represent the acceptance agency code and not to have other meanings. However, the content of these values cannot actually represent its meaning by itself. In addition, current transaction streamers have limited expansion capabilities due to the location and order of the fields when new services need to be added.
Fig. 2 shows an exemplary embodiment of a transaction pipeline file based on field marking in the present invention. To more pictorially describe the field segment bit-based transaction pipeline file of the present invention, as shown in fig. 2, records having three different services are exemplified. Wherein, the field 1 is the code of the accepting organization, the field 2 is the code of the card issuing organization, the field 3 is the transaction amount, the field 4 is the transaction currency, and the field 5 is the code of the roll-out organization. And record 1 is the existing pipeline file only comprising three field spaces, record 2 is the pipeline file added with the new transaction currency business, and record 3 is the pipeline file added with the new transfer business. According to the existing mode, the fixed-format pipelining file only has three field spaces, so that the field space of the transaction currency or the transfer service can not be increased, and the transaction currency service and the transfer service can not be identified by the existing pipelining file.
According to the conventional pipeline file model, the record 1 is 0102000001030000100.00, the field length is fixed, and the field sequence is fixed. That is, 01020000 uniquely identifies the acquirer code, 01030000 uniquely identifies the issuer code, and 100.00 uniquely identifies the transaction amount. If the record is inverted to 0103000001020000100.00, the acceptor code is changed to 01030000 and the issuer code is changed to 01020000, resulting in a substantial change from record 1.
According to the marking mode adopted in the present invention, the identifier of field 1 is predefined to be FF, the identifier of field 2 is predefined to be FE, and the identifier of field 3 is predefined to be FD, then record 1 can be expressed as:
FF801020000FE801030000FD6100.00
or, can be represented as
FE801030000FF801020000FD6100.00
Or, it can also be expressed as
FD6100.00FE801030000FF801020000
It will be understood by those skilled in the art that the three representations are recorded in exactly the same way, regardless of order. Since FF, FE, FD identify the acceptance agency code, the issuer code, and the transaction amount, respectively.
It should be pointed out again that, because the existing pipeline file with a fixed format only has three field spaces, and the transaction currency field space cannot be increased any more, as long as an organization requires to carry out international business, the whole pipeline file must add the transaction currency field for the pipeline file, and consequently all organizations using the pipeline file need to modify the application system, otherwise, the received file has one more field due to the empty space, which may cause an error in the application system. But in practice the corresponding fields of the institution are filled with default characters (e.g. spaces) except for the specific value of the currency of trade field of the institution.
In the face of this situation, the labeling mode of the present invention can be easily solved. For example, in record 2, an organization performs international business, a transaction currency field is added in the journal file, FC is predefined to identify the transaction currency, and then record 2 of the organization may be expressed as:
FF801030000FE801010000FD6400.00FC3156
in addition, if another institution opens the transfer service, needs to add a roll-out institution code in the pipeline file, and can define the FB identification roll-out institution code in advance, then the record 3 of this institution can be expressed as
FF801040000FE801020000FD73000.00FB01030000
Thus, there are three modes of streamlining files at each transaction participant: for the organization developing international business, the pipeline file thereof consists of an acceptance organization code, a card issuing organization code, a transaction amount and a transaction currency; for the institution developing the transfer service, the pipeline file of the institution is composed of an acceptance institution code, a card issuing institution code, a transaction amount and a transfer-out institution code; and for the organization which does not develop new business, the pipeline file of the organization still comprises an acceptance organization code, an issuing organization code and a transaction amount. The three service modes exist simultaneously and do not influence each other. When the international business organization opens the transfer business, the transfer business can be opened by adding the code identification of the transfer-out organization and other contents. When the international business needs to be opened by the mechanism for developing the transfer business, the contents such as transaction currency and the like are only required to be added. In addition, if the mechanism's pipeline file requires that the mechanism codes be arranged together and the transaction amount and the transaction currency be arranged together, then the sequence of the fields can be rearranged, the definition of the field identifiers can not cause the mechanism to be confused when analyzing the pipeline file, and the adjustment of the sequence can not affect other mechanisms.
It will be understood by those skilled in the art that the FF/FE/FD/FC/FB for identifying an acceptance agency code, an issuer code, a transaction amount, a transaction currency, or a roll-out agency code in fig. 2 is only an exemplary identification character, but the object of the present invention is not limited thereto.
FIG. 3 illustrates file contents of a field marking record used to mark a transaction pipeline file such as that shown in FIG. 2. Taking record 2 in fig. 2 as an example, it can be seen from the above that record 2 can be expressed as:
FF801030000FE801010000FD6400.00FC3156
splitting record 2 in units of fields, it can be found that field 1 is FF 801030000; field 2 is FE 801010000; field 3 is FD 6400.00; and field 4 is FC 3156. Wherein, FF, FE, FD, FC are field identifiers respectively, which respectively represent an acceptance institution code, an issuer code, a transaction amount and a transaction currency. In other words, the location and order of the fields in each record can be fixed and not confused by the presence of the field identifiers. As shown in fig. 3, each field is sequentially composed of a field identifier, a field length, and a field value, specifically, the field length of field 1 is 8, and the field value is 01030000; the length of field 2 is 8, and the value is 01010000; the length of field 3 is 6, and the value is 400.00; and field 4 has a value length of 3, and the value taken is 156.
FIG. 4 is a block schematic flow diagram illustrating a method of processing a transaction pipeline document formed by the field marking method according to the present invention. Referring to fig. 4, it can be seen that no matter how many service fields are in the transaction pipeline file, how each field is defined, the analysis of the transaction pipeline file is realized only by performing two nested loops according to the file line end symbol and the field value length bit. Specifically, the method is used for judging the number of service fields of a transaction pipeline file by using a schematic diagram of the method, analyzing each service field one by one, and analyzing field marks and field value lengths to obtain meanings represented by the service fields and specific data information. Those skilled in the art will appreciate that the schematic diagram shown in fig. 4 is independent of the definition of the service field, so that the network access mechanism system can flexibly extend new services and can customize services arbitrarily. Moreover, the substantial difference between the transaction pipeline file definition and the processing flow in the prior art is realized based on the processing flow and the design idea which are irrelevant to the service, and the defects in the traditional processing method and the field definition are overcome.
FIG. 5 shows a schematic diagram of an interactive unit processing an entire transaction pipeline document. Referring to fig. 5, writing of the basic information indicates an operation of the union pay system when constructing the transaction flow file, and reading of the basic information indicates an operation of the financial institution when analyzing the transaction flow file. The content writing/reading unit and the quantity writing/reading unit are core units of the whole file processing system and are used for judging the structure of the file or the analysis of the file according to the definition of the unit, only the content which is in line with the unit is written or read, and the error processing is carried out on the file which is not in line with the definition of the unit content.
It can be seen from the above description of the specific embodiment that, by using the field marking method for trading the stream files of the present invention, the new service expansion is easy to perform, and when each party of the trade completes one system modification, the purpose of flexibly combining the service modes and developing the new service is achieved only by parameter configuration, thereby reducing the subsequent system modification amount. In addition, after the information marking method is adopted, the newly added service expansion does not need to change the technical specification or the processing flow of the transaction detail information file, and only new field identification and content definition thereof are issued, thereby being beneficial to quickly realizing the service expansion.
Hereinbefore, specific embodiments of the present invention are described with reference to the drawings. However, those skilled in the art will appreciate that various modifications and substitutions can be made to the specific embodiments of the present invention without departing from the spirit and scope of the invention. Such modifications and substitutions are intended to be included within the scope of the present invention as defined by the appended claims.

Claims (4)

1. A processing device for field marking type trade water documents is characterized by comprising:
the basic transaction information writing/reading unit is used for constructing and analyzing the field mark type transaction pipeline file;
the judging unit is used for analyzing and judging the analyzed transaction flow files according to a judging criterion;
the content writing/reading unit is used for executing content writing/reading operation when the transaction running file meets the judgment criterion;
the quantity writing/reading unit is used for executing quantity writing/reading operation when the transaction running file meets the judgment criterion; and
the packaging unit is used for packaging the analyzed transaction pipeline file;
wherein the judgment criterion includes: judging the number of service fields of the transaction pipeline file, analyzing each service field one by one, and analyzing the field mark and the field value length to obtain the meaning and the specific data information represented by the service field;
wherein the following steps are performed in the processing device:
reading data information in a transaction flow file;
judging whether the transaction flow file is a line end symbol of the transaction flow file;
if not, analyzing the field identifier and the field length;
acquiring value content corresponding to the field length bit by bit;
judging whether a line end symbol appears again when the length of the field reaches the end of the length;
wherein the transaction pipeline file includes a plurality of fields, and for each field: identifying the field with one or more digits or characters as a field identifier; after the field identifier, identifying the occupied digit of the field content by a three-digit number as the field length; and setting transaction data corresponding to the field after the field length.
2. The processing apparatus of claim 1,
the judgment criterion is to judge whether the field mark type transaction pipeline file conforms to the field mark definition and the length management of the judgment unit.
3. The method for processing the field mark type transaction pipeline file is characterized by comprising the following steps:
writing basic transaction information to form the field mark type transaction pipeline file;
reading in the basic transaction information to analyze the transaction flow file;
analyzing and judging the analyzed transaction pipeline file by using a judging unit;
if the analyzed transaction flow file meets the judgment criterion of the judgment unit, executing the writing/reading operation of the content and the quantity; and
packaging the analyzed transaction flow file;
wherein the judgment criterion includes: judging the number of service fields of the transaction pipeline file, analyzing each service field one by one, and analyzing the field mark and the field value length to obtain the meaning and the specific data information represented by the service field;
wherein the transaction pipeline file includes a plurality of fields, and for each field: identifying the field with one or more digits or characters as a field identifier; after the field identifier, identifying the occupied digit of the field content by a three-digit number as the field length; and setting transaction data corresponding to the field after the field length.
4. The process of claim 3,
and the judging unit is used for carrying out mark definition and length judgment on the field mark type transaction pipeline file.
CN201110462230.6A 2008-12-18 2008-12-18 Field mark method transaction journal file and its information recording method Active CN102495911B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110462230.6A CN102495911B (en) 2008-12-18 2008-12-18 Field mark method transaction journal file and its information recording method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110462230.6A CN102495911B (en) 2008-12-18 2008-12-18 Field mark method transaction journal file and its information recording method
CN200810207264A CN101751413A (en) 2008-12-18 2008-12-18 Trading chronological file of field marking method and information recording method thereof

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN200810207264A Division CN101751413A (en) 2008-12-18 2008-12-18 Trading chronological file of field marking method and information recording method thereof

Publications (2)

Publication Number Publication Date
CN102495911A CN102495911A (en) 2012-06-13
CN102495911B true CN102495911B (en) 2018-06-22

Family

ID=46187736

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110462230.6A Active CN102495911B (en) 2008-12-18 2008-12-18 Field mark method transaction journal file and its information recording method

Country Status (1)

Country Link
CN (1) CN102495911B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109783701A (en) * 2018-12-20 2019-05-21 平安信托有限责任公司 Identical flowing water determination method, device, computer equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1635495A (en) * 2003-12-31 2005-07-06 中国银联股份有限公司 Transaction settlement processing system and information transmission and processing method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1635495A (en) * 2003-12-31 2005-07-06 中国银联股份有限公司 Transaction settlement processing system and information transmission and processing method

Also Published As

Publication number Publication date
CN102495911A (en) 2012-06-13

Similar Documents

Publication Publication Date Title
Pfeiffer The diffusion of electronic data interchange
Kinney Information quality assurance and internal control for management decision making
TW421747B (en) Value transfer system
CN101751413A (en) Trading chronological file of field marking method and information recording method thereof
US20030183685A1 (en) Coding, tracking and reporting negotiable items and related non-negotiable documents
US20060271450A1 (en) Computer-based method for automatic remote coding of debtor credit databases with bankruptcy filing information
US20050256789A1 (en) Real-time consolidated accounting systems and real-time consolidated accounting program
US20070228153A1 (en) Obtaining Transaction Accounts Using Identification Cards
CN101981585A (en) Dynamic currency conversion system and method
CA2054836A1 (en) Home financial transaction system
CN1989519A (en) Direct currency conversion
MX2007009926A (en) Apparatus and method for facilitating account restructuring in an electronic bill payment system.
CN106294125A (en) Core banking system data processing method
CN109886076B (en) Invoice storage method
CN101587615A (en) Information integrated platform of traffic IC card and bank card
CN113191130A (en) Bank electronic flow data preprocessing method
US20070179844A1 (en) System and method for insuring frequent traveler reward miles
KR20020083108A (en) An account ticket, its processing system, its preparing system, its printing system, its processing method, its preparing method and its printing method
CN102495911B (en) Field mark method transaction journal file and its information recording method
CN101754155B (en) Call bill format conversion method and device and call bill processing method and system
CN112750043A (en) Business data pushing method and device and server
CN114338850B (en) Message checking method, device, terminal equipment and computer readable storage medium
CN109299967A (en) Member's integration method and device, mobile terminal and readable storage medium storing program for executing
CN103793486B (en) Seal data splitting is stored, the method and system of print test
CN103578181B (en) Media processing apparatus and automatic trading apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant