CN101989366B - Based on script treating apparatus and the data processing method thereof of POS terminal - Google Patents

Based on script treating apparatus and the data processing method thereof of POS terminal Download PDF

Info

Publication number
CN101989366B
CN101989366B CN200910160218.2A CN200910160218A CN101989366B CN 101989366 B CN101989366 B CN 101989366B CN 200910160218 A CN200910160218 A CN 200910160218A CN 101989366 B CN101989366 B CN 101989366B
Authority
CN
China
Prior art keywords
script
module
data
menu
main control
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
CN200910160218.2A
Other languages
Chinese (zh)
Other versions
CN101989366A (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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN200910160218.2A priority Critical patent/CN101989366B/en
Publication of CN101989366A publication Critical patent/CN101989366A/en
Application granted granted Critical
Publication of CN101989366B publication Critical patent/CN101989366B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Abstract

The invention discloses a kind of script treating apparatus based on POS terminal, this script treating apparatus is that a script drives the equipment run, and comprises main control module, data input processing module, data memory module and functional module collection.Wherein, main control module is connected to data input processing module, data memory module and functional module collection, with calling data input processing module, data memory module and the collaborative work of functional module collection; Data input processing module and data memory module are interconnected, and the two directly carries out data transmission.The present invention discloses a kind of data processing method of the script treating apparatus based on POS terminal.Utilize the present invention, to overcome when current POS terminal realizes new business function and must carry out system upgrade, performance period long shortcoming to POS terminal, financial POS characteristic service can be realized fast and effectively.

Description

Based on script treating apparatus and the data processing method thereof of POS terminal
Technical field
The present invention relates to POS terminal applied technical field, particularly relate to a kind of script treating apparatus based on POS terminal and data processing method thereof.
Background technology
The bank card business of current significant proportion has been come mutually alternately by sale teminal machine (hereinafter referred to as POS terminal) system and bank's Batch Processing disposal system, and the existing business processing mechanism for POS terminal system is relatively single, after POS terminal system accepts outside effective input, by the process of POS terminal internal system, the business demand of response user.But when user has new business demand, can only to POS terminal internal system modify and full dose upgrade just can satisfy the demands.
With regard to current POS terminal system, menu represents with business processing flow all fixing, and some small demands of business change also must carry out full dose transformation to POS terminal system, and the cycle of changing is long, and cost is high, does not therefore support the flexible realization of characteristic service.
Summary of the invention
(1) technical matters that will solve
In view of this, fundamental purpose of the present invention is to provide a kind of script treating apparatus based on POS terminal and data processing method thereof, must carry out system upgrade, performance period long shortcoming to overcome when current POS terminal realizes new business function to POS terminal.
(2) technical scheme
For the aspect achieved the above object, the invention provides a kind of script treating apparatus based on POS terminal, this script treating apparatus is that a script drives the equipment run, and comprises main control module, data input processing module, data memory module and functional module collection; Wherein, main control module is connected to data input processing module, data memory module and functional module collection, with calling data input processing module, data memory module and the collaborative work of functional module collection; Data input processing module and data memory module are interconnected, and the two directly carries out data transmission.
In such scheme, described main control module is the core component of this script treating apparatus, in this script treating apparatus operational process, main control module calls data input processing module, data memory module and the collaborative work of functional module collection, the orderly scheduling to data input processing module, data memory module and functional module collection is realized according to menu script and the content of transaction script, thus finishing service process.
In such scheme, described main control module logically comprises main control unit, menu script resolution unit, transaction script resolution unit, functional module scheduling unit, data flow control and signal processing unit, wherein:
Main control unit, it is the core cell of main control module, it is according to the transaction request of outside input, and schedule menu script resolution unit, transaction script resolution unit, functional module scheduling unit, data flow control and signal processing unit carry out the response process of transaction request respectively;
Menu script resolution unit, for reading the content of menu script, registration response instruction, and represented;
Transaction script resolution unit, for reading the content of transaction script, resolves to module schedules instruction and parameter;
Functional module scheduling unit, for sending instruction according to dispatch command to functional module, and the response signal of reception and processing capacity module;
Data flow control, for providing the mechanism of the data communication between each functional module, ensures security and the integrality of data transmission;
Signal processing unit, for reading the content of signal registration Script, provides the response mechanism of registered events.
In such scheme, described data input processing module inputs to the data of this script treating apparatus for receiving, and the type according to receiving data carries out classification process to data, completes corresponding customization function, and data are stored to data memory module.
In such scheme, the type that described data input processing module receives data at least comprises: menu script input data, transaction script input data, command function module input data and signal registration Script input data, wherein, menu script input data are data of user's flexible customization menu content as required; Transaction script input data are the treatment schemees from business, according to the order format that device provides, configure the data of different service scenarios; Command function module input data are functional module and instruction data one to one; Signal registration Script input data define terminal device at one's leisure, to the data of the response process of external event.
In such scheme, the data that described data memory module receives for storing data input reason, provide the access of data, increase newly, revise and delete function.
In such scheme, described data memory module at least comprises separate menu area, transaction script district, signaling zone and instruction area.
In such scheme, described functional module collection, for realizing concrete business function process, at least comprises following independently functional module: card processing module, cryptographic handling module, amount of money processing module, communication module, print module, input through keyboard module and screen display module.
For another aspect achieved the above object, the invention provides a kind of data processing method of the script treating apparatus based on POS terminal, be applied to the described script treating apparatus based on POS terminal, this script treating apparatus comprises main control module, data input processing module, data memory module and functional module collection, wherein main control module comprises main control unit, menu script resolution unit, transaction script resolution unit, functional module scheduling unit, data flow control and signal processing unit, the method first carries out self-inspection and the initialization of module when starting, then waiting status is entered, after receiving the wake-up signal of main control unit, read communication data, extract dependent instruction parameter, perform command content, generate result data, to main control unit transmission processing result data and END instruction, and then enter waiting status.
In such scheme, the method specifically comprises:
After POS terminal powers up, the main control unit calling data input processing module of main control module, completes menu script, transaction directive script and the reception of signal registration Script data and pre-service, and calling data memory module to receive data store;
Main control unit activates menu script resolution unit process menu input data, generates job menu; Then activation signal processing unit, waiting signal input data; Then, activating sale script resolution unit, data flow control and module schedules unit, complete the initialization of himself; Finally enter and wait for that user inputs transaction request state;
After user carries out key-press input according to job menu prompting, main control unit calls menu script resolution unit and represents submenu at screen or directly obtain the final menu item of user's selection; Then main control unit calling data stores processor module finds corresponding service scenario, call transaction script resolution unit again and resolve instruction sequence wherein and parameter, then the instruction sequence obtained is passed to functional module scheduling unit, functional module scheduling unit performs instruction one by one, dispatch corresponding functional module to process, article one, after instruction performs and terminates, then adjusted next instruction, until instruction sequence terminates;
After data flow control obtains the parameter of being resolved by transaction script resolution unit, systematic function module concentrates the data stream required for the corresponding function module, with the synthetic operation of functional module scheduling unit, give this functional module process by data stream transmitting, and receive the data that this functional module returns.
For another aspect achieved the above object, the invention provides a kind of method realizing characteristic service based on script treating apparatus, comprising:
Steps A: configuration menu script and service scenario;
Step B: the menu script configured and service scenario are downloaded to the POS terminal being provided with script treating apparatus, complete the installation of new menu script and service scenario;
Step C:POS terminal starts, and the menu script resolution unit of script treating apparatus resolves new menu script, and represents at screen;
Step D: use new business function by POS terminal, script treating apparatus completes the process of new business.
In such scheme, the script of configuration menu described in steps A and service scenario be user according to actual business requirement, by specified data format configuration menu script and service scenario, specifically comprise:
Analyze business demand, obtain business operation step and order, determine the instruction that each business operation is corresponding, editor generates the transaction script of new business;
Increase new business menu item in a menu, editor generates new menu script.
In such scheme, described in step B, the menu script configured and service scenario are downloaded to the POS terminal being provided with script treating apparatus and realized by data input processing module.
In such scheme, described step D comprises: when POS terminal operator button selects new business, the menu script resolution unit of main control module obtains corresponding new business script according to the input of user, transaction script resolution unit is resolved this new business script and is generated instruction sequence, then instruction sequence is passed to module schedules unit, module schedules unit calls corresponding functional module according to directive script, and import relevant parameter into by data flow control, after functional module is finished, execution result is passed to main control module by data flow control, main control module continues to resolve, perform next instruction until new business script is resolved complete, complete the process of new business.
(3) beneficial effect
As can be seen from technique scheme, this script treating apparatus based on POS terminal provided by the invention and data processing method thereof, to overcome when current POS terminal realizes new business function and must carry out system upgrade, performance period long shortcoming to POS terminal, financial POS characteristic service can be realized fast and effectively, there is following beneficial effect:
1), this script treating apparatus based on POS terminal provided by the invention and data processing method thereof, adopt the mode of script configuration to realize various characteristic service function, more fast succinct.
2), this script treating apparatus based on POS terminal provided by the invention and data processing method thereof, menu configuration feature is flexibly provided, is convenient to realize multi-traffic demand on a station terminal.
3), this script treating apparatus based on POS terminal provided by the invention and data processing method thereof, POS terminal system is made up of multiple independently module, and the collocation method of script file achieves the incremental update of POS terminal version.
4), this script treating apparatus based on POS terminal provided by the invention and data processing method thereof, be applicable to market mainstream POS terminal type, can be used for the places such as market, hotel, logistics distribution unit, wherein banking aspect supports that bank card (comprises magnetic card, IC-card) the various benchmark service such as consumption, pre-authorization, account transfer, inquiry, and withhold, all kinds of characteristic service such as to pay out.
Accompanying drawing explanation
Fig. 1 is the structural representation of the script treating apparatus based on POS terminal provided by the invention;
Fig. 2 is the module relationship schematic diagram of the script treating apparatus based on POS terminal provided by the invention;
Fig. 3 is the structural representation of data input processing module provided by the invention;
Fig. 4 is the structural representation of data memory module provided by the invention;
Fig. 5 is the schematic diagram that main control module provided by the invention carries out dispatching;
Fig. 6 is the schematic diagram that functional module provided by the invention performs;
Fig. 7 is the method flow diagram carrying out call charging according to the embodiment of the present invention;
Fig. 8 is the schematic diagram according to embodiment of the present invention menu script.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly understand, below in conjunction with specific embodiment, and with reference to accompanying drawing, the present invention is described in more detail.
As depicted in figs. 1 and 2, this script treating apparatus based on POS terminal provided by the invention is that a script drives the equipment run, and comprises main control module, data input processing module, data memory module and functional module collection.Wherein, main control module is connected to data input processing module, data memory module and functional module collection, with calling data input processing module, data memory module and the collaborative work of functional module collection; Data input processing module and data memory module are interconnected, and the two directly carries out data transmission.
Main control module, data input processing module, data memory module and functional module collection are relatively independent, and the interactive relation of intermodule as shown in Figure 2.Main control module is the core component of this script treating apparatus, in this script treating apparatus operational process, main control module calls data input processing module, data memory module and the collaborative work of functional module collection, the orderly scheduling to data input processing module, data memory module and functional module collection is realized according to menu script and the content of transaction script, thus finishing service process.
Refer again to Fig. 1, main control module logically comprises main control unit, menu script resolution unit, transaction script resolution unit, functional module scheduling unit, data flow control and signal processing unit, wherein:
Main control unit, it is the core cell of main control module, it is according to the transaction request of outside input, and schedule menu script resolution unit, transaction script resolution unit, functional module scheduling unit, data flow control and signal processing unit carry out the response process of transaction request respectively;
Menu script resolution unit, for reading the content of menu script, registration response instruction, and represented;
Transaction script resolution unit, for reading the content of transaction script, resolves to module schedules instruction and parameter;
Functional module scheduling unit, for sending instruction according to dispatch command to functional module, and the response signal of reception and processing capacity module;
Data flow control, for providing the mechanism of the data communication between each functional module, ensures security and the integrality of data transmission;
Signal processing unit, for reading the content of signal registration Script, provides the response mechanism of registered events.
Data input processing module inputs to the data of this script treating apparatus for receiving, the type according to receiving data carries out classification process to data, completes corresponding customization function, and data are stored to data memory module.The type that data input processing module receives data at least comprises: menu script input data, transaction script input data, command function module input data and signal registration Script input data, the classification process schematic diagram of input data as shown in Figure 3.Wherein, menu script input data are data of user's flexible customization menu content as required; Transaction script input data are the treatment schemees from business, according to the order format that device provides, configure the data of different service scenarios; Command function module input data are functional module and instruction data one to one; Signal registration Script input data define terminal device at one's leisure, to the data of the response process of external event.
Data memory module is for storing input data, and provide the functions such as the access of data, newly-increased, amendment, deletion, as shown in Figure 4, data memory module at least comprises separate menu area, conclude the business script district, signaling zone and instruction area.
The concrete business function process of Implement of Function Module, according to the demand of current bank card business, the invention provides following independently functional module: card processing module, cryptographic handling module, amount of money processing module, communication module, print module, input through keyboard module and screen display module.
Based on the script treating apparatus based on POS terminal shown in Fig. 1 to Fig. 4, the invention provides a kind of data processing method of the script treating apparatus based on POS terminal, be applied to the described script treating apparatus based on POS terminal, this script treating apparatus comprises main control module, data input processing module, data memory module and functional module collection, wherein main control module comprises main control unit, menu script resolution unit, transaction script resolution unit, functional module scheduling unit, data flow control and signal processing unit, the method first carries out self-inspection and the initialization of module when starting, then waiting status is entered, after receiving the wake-up signal of main control unit, read communication data, extract dependent instruction parameter, perform command content, generate result data, to main control unit transmission processing result data and END instruction, and then enter waiting status.
The data processing method of this script treating apparatus based on POS terminal provided by the invention, its bulk treatment flow process is as follows:
After POS terminal powers up, apparatus of the present invention main control module runs (the operation dispatching graph of a relation of main control module inside as shown in Figure 5): first, the main control unit calling data input processing module of main control module, completes the reception of the input data such as menu script, transaction directive script module, signal registration Script, pre-service; Then main control unit calling data memory module carries out the storage inputting data; Then main control unit activates menu script resolution unit, and this element process menu input data, generate job menu; Then activation signal processing unit, waiting signal input data; Then, activating sale script resolution unit, data flow control and module schedules unit, complete the initialization of himself; Finally enter and wait for that user inputs transaction request state.
User carries out key-press input according to job menu prompting, and main control unit calls menu script resolution unit and represents submenu at screen or directly obtain the final menu item of user's selection; Main control unit finds corresponding service scenario according to final menu item calling data stores processor module, call transaction script resolution unit again and resolve instruction sequence wherein and parameter, then the instruction sequence obtained is passed to functional module scheduling unit, functional module scheduling unit performs instruction one by one, dispatch corresponding functional module to process, article one, after instruction performs and terminates, then adjusted next instruction, until instruction sequence terminates.After data flow control obtains the parameter of being resolved by transaction script resolution unit, the data stream required for systematic function module, with the synthetic operation of functional module scheduling unit, by data stream transmitting to functional module process, and the data that receiving module returns.
Functional module mainly completes concrete function, first carries out self-inspection and the initialization of module, then enter waiting status when device starts, and after receiving the wake-up signal of master control, reads communication data, extracts dependent instruction parameter.Perform command content, generate result data, to master control transmission processing result data and END instruction, and then enter waiting status.Its implementation as shown in Figure 6.
Present invention also offers a kind of method realizing characteristic service based on POS terminal, it step comprised is as follows:
Steps A: configuration menu script and service scenario;
In this step, described configuration menu script and service scenario be user according to actual business requirement, by specified data format configuration menu script and service scenario, specifically comprise:
Analyze business demand, obtain business operation step and order, determine the instruction that each business operation is corresponding, editor generates the transaction script of new business;
Increase new business menu item in a menu, editor generates new menu script.
Step B: the menu script configured and service scenario are downloaded to the POS terminal being provided with script treating apparatus, complete the installation of new menu script and service scenario;
The described POS terminal being provided with script treating apparatus that the menu script configured and service scenario downloaded to is realized by data input processing module in this step.
When step C:POS terminal starts, the menu script resolution unit of script treating apparatus resolves new menu script, and represents at screen.
Step D: use new business function, complete the process of new business;
When POS terminal operator button selects new business, the menu script resolution unit of main control module obtains corresponding new business script according to the input of user, transaction script resolution unit is resolved this new business script and is generated instruction sequence, then instruction sequence is passed to module schedules unit, module schedules unit calls corresponding functional module according to directive script, and import relevant parameter into by data flow control, after functional module is finished, execution result is passed to main control module by data flow control, main control module continues to resolve, perform next instruction until new business script is resolved complete, complete the process of new business.
It is below the embodiment that the application script treating apparatus based on POS terminal provided by the invention and data processing method thereof carry out call charging business realizing.
1) business demand:
In order to alleviate commercial bank's sales counter pressure, increase the income of intermediary service, certain bank increases the business of charging call fee on POS terminal.Idiographic flow is: first operator inputs telephone number on POS terminal, the telephone expenses that inquiry client should pay; If client confirms payment, then operator swipes the card on POS terminal, and prompting client inputs password, finally completes and pays the fees and print corresponding strip.
2) performing step:
Steps A: analyze business demand, by menu script and the service scenario of specified data format editing charging call fee business.
◇ business demand is analyzed: according to the definition of business demand instructions, the business processing flow of charging call fee as shown in Figure 7.
A) payment interface is entered, input telephone number.
B) inquiring telephone fee information.
C) system returns Query Information, and the prompting telephone expenses amount of money, pays the fees by payment confirmation.
D) swipe the card.
E) account password is inputted.
F) communication, completes payment.
G) Transaction Success, prints transaction slip.
◇ configuration of transaction script:
Need configuration following transaction script 5001.txs.
INPUT, 0, ask defeated telephone number, 11,6,1,23
COMM
SHOW, the PLSCONFM payment amount of money, 1
READCARD, 1, please swipe the card or inserted IC card, or the defeated card number of hand
READPWD, please input password
COMM
PRINT
Every a line of script represents an operational order, and the corresponding functional module of each instruction, in a line, different element is with CSV, and first element represents instruction name, and other element represents the parameter of instruction.
1, " INPUT " represents input instruction, " 0 " represents common input operation, " please input telephone number " is information, " 11 " parameter, represent the maximum length allowing input, " 6 " represent minimum input length, and " 1 " represents that input content is numeral or character, and inputted need by acknowledgement key, " 23 " are characteristic service data storage domain tag number.When master control set receives INPUT instruction, call keyboard load module, and import relevant parameter into.Input through keyboard module analytic parameter, screen shows " please input telephone number ", when the input length of user is more than 11, does not allow to continue input.The telephone number data that user inputs is passed to master control set by input through keyboard module.
2, " COMM " represents communication instruction, when master control set receives COMM instruction, calls communication module.Communication module connects, and uploads the data such as telephone number, receives the data such as the payment amount of money and these data are passed to master control set.
3, " SHOW " represents screen display instruction, " the PLSCONFM payment amount of money " Parametric Representation information, and " 1 " represents need wait for that user confirms, when master control set receives SHOW instruction, calls keyboard load module, and imports relevant parameter into.Input through keyboard module analytic parameter, screen shows " the PLSCONFM payment amount of money ".User gets back to master control set by after confirmation.
4, " READCARD " represents Card Reader instruction, and " 1 " represents first card that this transaction relates to, " please swipe the card or inserted IC card, or the defeated card number of hand " be information, when master control set receives READCARD instruction, call card reading module.Card reading module shows on screen please swipe the card or plug-in card or the defeated card number of hand, and after user card punching or plug-in card, the data such as card number are passed to master control set by card reading module.
5, " READPWD " represents input cipher instruction, and " please input password " is information, when master control set receives READPWD instruction, calls defeated close module.Defeated close module shows on screen please input password, and after user inputs password, the password after encryption is passed to main control module by defeated close module.
6, " COMM " represents communication instruction, when master control set receives COMM instruction, calls communication module.Communication module connects, and uploads the data such as card number, password, the payment amount of money, receives the data such as background system return code and these data are passed to master control set
7, " PRINT " represents the instruction of printing strip.When master control set receives PRINT instruction, call print module.Print module prints the relevant information of transaction.
◇ configuration menu script
After script has configured, need to increase new menu item in menu template, menu template as shown in Figure 8, increases charging call fee menu item below financial transaction, generates new menu script.
Step B: the service scenario configured and menu script are downloaded to the POS terminal being provided with apparatus of the present invention, complete the installation of new business script.
When step C:POS terminal starts, primary module menu script resolution unit resolves new menu script, represents menu.
Step D: when operator selects charging call fee in a menu, main control module resolution unit resolves script, calls corresponding module successively, complete paying of telephone charge by directive script order.
Above-described specific embodiment; object of the present invention, technical scheme and beneficial effect are further described; be understood that; the foregoing is only specific embodiments of the invention; be not limited to the present invention; within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (11)

1. based on a script treating apparatus for POS terminal, it is characterized in that, this script treating apparatus is that a script drives the equipment run, and comprises main control module, data input processing module, data memory module and functional module collection; Wherein, main control module is connected to data input processing module, data memory module and functional module collection, with calling data input processing module, data memory module and the collaborative work of functional module collection; Data input processing module and data memory module are interconnected, and the two directly carries out data transmission;
Described data input processing module is for receiving the menu script input data and transaction script input data that input to this script treating apparatus, type according to receiving data carries out classification process to data, complete corresponding customization function, and data are stored to data memory module, wherein, menu script input data are data of user's flexible customization menu content as required; Transaction script input data are the treatment schemees from business, according to the order format that device provides, configure the data of different service scenarios;
Described main control module logically comprises main control unit, menu script resolution unit, transaction script resolution unit, wherein:
Main control unit is the core cell of main control module, and it is according to the transaction request of outside input, and schedule menu script resolution unit, transaction script resolution unit carry out the response process of transaction request respectively;
Menu script resolution unit, for reading the content of menu script, registration response instruction, and represented;
Transaction script resolution unit, for reading the content of transaction script, resolves to module schedules instruction and parameter.
2. the script treating apparatus based on POS terminal according to claim 1, it is characterized in that, described main control module is the core component of this script treating apparatus, in this script treating apparatus operational process, main control module calls data input processing module, data memory module and the collaborative work of functional module collection, the orderly scheduling to data input processing module, data memory module and functional module collection is realized according to menu script and the content of transaction script, thus finishing service process.
3. the script treating apparatus based on POS terminal according to claim 1, it is characterized in that, described main control module also comprises functional module scheduling unit, data flow control and signal processing unit, wherein:
Also it is according to the transaction request of outside input for main control unit, and scheduling feature module schedules unit, data flow control and signal processing unit carry out the response process of transaction request respectively;
Functional module scheduling unit, for sending instruction according to dispatch command to functional module, and the response signal of reception and processing capacity module;
Data flow control, for providing the mechanism of the data communication between each functional module, ensures security and the integrality of data transmission;
Signal processing unit, for reading the content of signal registration Script, provides the response mechanism of registered events.
4. the script treating apparatus based on POS terminal according to claim 1, it is characterized in that, the type that described data input processing module receives data also comprises: command function module input data and signal registration Script input data, wherein, command function module input data are functional module and instruction data one to one; Signal registration Script input data define terminal device at one's leisure, to the data of the response process of external event.
5. the script treating apparatus based on POS terminal according to claim 1, is characterized in that, the data that described data memory module receives for storing data input reason, provides the access of data, increases newly, revises and delete function.
6. the script treating apparatus based on POS terminal according to claim 5, is characterized in that, described data memory module at least comprises separate menu area, transaction script district, signaling zone and instruction area.
7. the script treating apparatus based on POS terminal according to claim 1, it is characterized in that, described functional module collection, for realizing concrete business function process, at least comprises following independently functional module: card processing module, cryptographic handling module, amount of money processing module, communication module, print module, input through keyboard module and screen display module.
8. the data processing method based on the script treating apparatus of POS terminal, be applied to the script treating apparatus based on POS terminal according to claim 1, this script treating apparatus comprises main control module, data input processing module, data memory module and functional module collection, wherein main control module comprises main control unit, menu script resolution unit, transaction script resolution unit, functional module scheduling unit, data flow control and signal processing unit, it is characterized in that, the method first carries out self-inspection and the initialization of module when starting, then waiting status is entered, after receiving the wake-up signal of main control unit, read communication data, extract dependent instruction parameter, perform command content, generate result data, to main control unit transmission processing result data and END instruction, and then enter waiting status,
The method specifically comprises:
After POS terminal powers up, the main control unit calling data input processing module of main control module, completes menu script, transaction directive script and the reception of signal registration Script data and pre-service, and calling data memory module to receive data store;
Main control unit activates menu script resolution unit process menu input data, generates job menu; Then activation signal processing unit, waiting signal input data; Then, activating sale script resolution unit, data flow control and module schedules unit, complete the initialization of himself; Finally enter and wait for that user inputs transaction request state;
After user carries out key-press input according to job menu prompting, main control unit calls menu script resolution unit and represents submenu at screen or directly obtain the final menu item of user's selection; Then main control unit calling data stores processor module finds corresponding service scenario, call transaction script resolution unit again and resolve instruction sequence wherein and parameter, then the instruction sequence obtained is passed to functional module scheduling unit, functional module scheduling unit performs instruction one by one, dispatch corresponding functional module to process, article one, after instruction performs and terminates, then adjusted next instruction, until instruction sequence terminates;
After data flow control obtains the parameter of being resolved by transaction script resolution unit, systematic function module concentrates the data stream required for the corresponding function module, with the synthetic operation of functional module scheduling unit, give this functional module process by data stream transmitting, and receive the data that this functional module returns.
9. realize a method for characteristic service based on script treating apparatus, it is characterized in that, comprising:
Steps A: configuration menu script and service scenario;
Step B: the menu script configured and service scenario are downloaded to the POS terminal being provided with script treating apparatus, complete the installation of new menu script and service scenario;
Step C:POS terminal starts, and the menu script resolution unit of script treating apparatus resolves new menu script, and represents at screen;
Step D: by POS terminal choice for use new business function, script treating apparatus completes the process of new business;
The script of configuration menu described in steps A and service scenario be user according to actual business requirement, by specified data format configuration menu script and service scenario, specifically comprise:
Analyze business demand, obtain business operation step and order, determine the instruction that each business operation is corresponding, editor generates the transaction script of new business;
Increase new business menu item in a menu, editor generates new menu script.
10. the method realizing characteristic service based on script treating apparatus according to claim 9, it is characterized in that, described in step B, the menu script configured and service scenario are downloaded to the POS terminal being provided with script treating apparatus and realized by data input processing module.
11. methods realizing characteristic service based on script treating apparatus according to claim 9, it is characterized in that, described step D comprises:
When POS terminal operator button selects new business, the menu script resolution unit of main control module obtains corresponding new business script according to the input of user, transaction script resolution unit is resolved this new business script and is generated instruction sequence, then instruction sequence is passed to module schedules unit, module schedules unit calls corresponding functional module according to directive script, and import relevant parameter into by data flow control, after functional module is finished, execution result is passed to main control module by data flow control, main control module continues to resolve, perform next instruction until new business script is resolved complete, complete the process of new business.
CN200910160218.2A 2009-07-30 2009-07-30 Based on script treating apparatus and the data processing method thereof of POS terminal Active CN101989366B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910160218.2A CN101989366B (en) 2009-07-30 2009-07-30 Based on script treating apparatus and the data processing method thereof of POS terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910160218.2A CN101989366B (en) 2009-07-30 2009-07-30 Based on script treating apparatus and the data processing method thereof of POS terminal

Publications (2)

Publication Number Publication Date
CN101989366A CN101989366A (en) 2011-03-23
CN101989366B true CN101989366B (en) 2015-11-25

Family

ID=43745893

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910160218.2A Active CN101989366B (en) 2009-07-30 2009-07-30 Based on script treating apparatus and the data processing method thereof of POS terminal

Country Status (1)

Country Link
CN (1) CN101989366B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102800153B (en) * 2012-07-17 2015-09-23 武汉天喻信息产业股份有限公司 The service downloading method and system of card swiping terminal
CN104038605B (en) * 2014-06-04 2016-08-17 福建升腾资讯有限公司 The method of telephone POS payment terminal transaction test
CN104484197A (en) * 2014-12-04 2015-04-01 深圳长城开发科技股份有限公司 Management method, management device and management system based on configuration file
CN105930312B (en) * 2015-09-29 2019-06-07 中国银联股份有限公司 A kind of printing strip edit methods and device based on POS terminal
CN106204968A (en) * 2016-07-25 2016-12-07 无锡酷银科技有限公司 A kind of many hardware adaptation device based on POS and adaptation method thereof
CN106789154A (en) * 2016-11-18 2017-05-31 武汉天喻信息产业股份有限公司 A kind of POS terminal firmware update and more new system
US11037123B2 (en) * 2019-01-07 2021-06-15 Visa International Service Association System, method, and computer program product for customizing functions of a point-of-sale terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1997963A (en) * 2004-05-25 2007-07-11 亚历山大·索雷斯·皮·法里亚斯 System for accessing a POS terminal, method for downloading and updating applications and method for performing electronic operation using such a system
CN201242788Y (en) * 2008-09-11 2009-05-20 北京凌创超胜科技有限公司 Display device for multimedia customer
CN101438292A (en) * 2005-11-17 2009-05-20 海泊柯姆公司 System and method to purchase applications by a point of sale terminal
CN201498058U (en) * 2009-07-30 2010-06-02 中国工商银行股份有限公司 POS terminal based script processing device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1997963A (en) * 2004-05-25 2007-07-11 亚历山大·索雷斯·皮·法里亚斯 System for accessing a POS terminal, method for downloading and updating applications and method for performing electronic operation using such a system
CN101438292A (en) * 2005-11-17 2009-05-20 海泊柯姆公司 System and method to purchase applications by a point of sale terminal
CN201242788Y (en) * 2008-09-11 2009-05-20 北京凌创超胜科技有限公司 Display device for multimedia customer
CN201498058U (en) * 2009-07-30 2010-06-02 中国工商银行股份有限公司 POS terminal based script processing device

Also Published As

Publication number Publication date
CN101989366A (en) 2011-03-23

Similar Documents

Publication Publication Date Title
CN101989366B (en) Based on script treating apparatus and the data processing method thereof of POS terminal
JP3718236B2 (en) Chip card and method of communication between external device and chip card
US9866989B2 (en) Payment application download to mobile phone and phone personalization
US20140012414A1 (en) System and method of telemetry applied to vending machines
CN104335237A (en) Systems, methods, and computer program products for providing a contactless protocol
CN204270418U (en) A kind of wholesale market trade integrated machine with the multiple modes of payments
CN102867377A (en) Method and system for realizing services on point-of-sale (POS) terminal machine and POS terminal machine
KR20130089896A (en) Portable device, payment device, payment agency server having dutch pay function, and payment method and agency method for payment
CN103049847A (en) Electronic receipt/invoice record transmitting method in NFC (Near Field Communication) mobilephone payment
CN103400461A (en) POS (point-of-sale) machine, card service realization system and method
JP7134325B1 (en) Electronic payment system, payment management device, card, electronic payment method, and program
CN108694578A (en) Method of payment, payment mechanism, terminal device and computer readable storage medium
JP2013041575A (en) Electronic transaction system
JP2023076517A (en) Purchase management system, server device, purchase management method, and program
CN201498058U (en) POS terminal based script processing device
CN107229962A (en) A kind of universal smart card based on mobile terminal
CN110678909A (en) Information processing apparatus, information processing method, and computer program
CN108682054A (en) It is a kind of that there is the vehicle-mounted consumption terminal device and method of IC card for recognizing function
JP5781585B2 (en) Code system, code system operation method and program
CN201084219Y (en) A drugs catalog manager
CN208061253U (en) A kind of intelligent terminal, payment mechanism and the cloud payment system of supporting cloud to pay
CN204270421U (en) A kind of wholesale market trade integrated machine with multiple I/O mode
CN102842192A (en) Financial terminal equipment transaction system based on android platform
CN112465562A (en) Parking payment system with parking discount function
CN102542226A (en) Secure access implementation method applying terminal access intelligent card

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant