Network cash register system and its implementation
Technical field
The present invention relates to cash register clearing field, specifically be meant the integrated network cash register system of the usefulness that gathering, individual check out of selling goods a kind of user of convenience, and the implementation method of this system is provided.
Background technology
Traditional electronic cash register is the product of microelectric technique development and modernized circulation of commodities management philosophy and technical development combination, be one of modernization, the requisite basic electronic equipment of robotization commercial management, along with progress commercial and science and technology, the merits and demerits of traditional cashier's machine also highlights day by day:
Its advantage is:
1) rapid, correct, the Customer Satisfaction of gathering.
The cashier is by the typing to customer purchase information, cashier's machine is made response fast, correctly calculate this transaction volume, and demonstrate should collect money, real information such as collect money, give change, reduced the computing time of cashier to turnover, improved cash register speed, particularly the technology of commodity bar code is used and is made cash register speed improve three times, reduce the single exchange hour, improved operational efficiency, made things convenient for client.
2) support multiple Payment Methods.
Support client's pay-us-you-go plan, support Payment Methods such as check, credit card, foreign currency, gift token, invoice of withdrawals.Even in same transaction, also can pay in many ways, satisfied the demand of client's different levels.
3) the achievement statistics is management service.
The cash register function record sales achievement of cashier in business and client's shopping information, and can print the form of various ways are directly for management service, provide objective basis for the decision maker.
4) check out accurately, stop to practice fraud.
The application of cashier's machine is strictly controlled the money of enterprise and thing, shortens the check-out time, has improved correctness and degree of accuracy.
But its shortcoming is also very obvious:
1) the cash register equipment part is various, and the equipment heaviness is carried inconvenience.
2) cash register fixed-site, range of application is narrow.
3) need build special network system, the complicated network structure, cost is higher.
4) individual and user can not realize the interaction of shopping online information.
Summary of the invention
Purpose of the present invention is just at the defective of background technology, and discloses a kind of network cash register system, and it is achieved by the following technical programs:
A kind of network cash register system acts on the usefulness that the gathering of selling goods, individual are checked out, and the convenient gathering of online back-stage management and front end is mutually combined, and can monitor cashier's cash register situation when making the user management commodity with the gathering order in real time, and it includes:
Network cash register terminal: constitute by the control on traction equipment, the subscriber computer, described traction equipment is used to realize that magnetic stripe card is swiped the card or IC-card read-write, input password, encryption, group bag, prints the function of transaction receipt, the one machine that it is made up of the connecting line of code keypad, receipt printer, card reader or read write line, display screen, battery, the above-mentioned code keypad of connection, receipt printer, card reader or read write line, display screen and battery, described code keypad is as the input equipment of input password or card number; Card reader or read write line are the equipment that card is gone up electronic information that reads of magnetic stripe card or IC-card; In the receipt printer printer paper is housed, is used for printing the transaction receipt; Display screen is used to show transaction results information; Control on the described subscriber computer is as the client-side program that is embedded on user PC computer or the notebook computer browser, be used to realize the transaction communication of managing web, card transaction front-end system and traction equipment, the subscriber computer control sends to traction equipment to the order transactions information of managing web, and sends card transaction front-end system to after traction equipment receives the transactional cards Transaction Information;
Managing web: adopt the B/S framework, be used for realization system and user's man-machine interaction, and the function that offers customer transaction inquiry, statement analysis statistics;
Card transaction front-end system: adopt the SOCKET communication modes, data message adopts the ISO8583 message packing of standard, key adopts the encryption equipment hardware encipher and generates key with encryption, be used to receive the transaction request of sending on the traction equipment, carry out being transmitted to card transaction background processing system after the interior business logical process of system, card transaction background processing system receives transaction results carries out after internal logic is handled transaction results being returned to card transaction front-end system, by card transaction front-end system the result is returned traction equipment again;
In above-mentioned, the computed browser of user is by the internet access managing web, be connected with serial ports or USB between traction equipment and the subscriber computer, control program by subscriber computer drives, subscriber computer end control communicates by the internet with card transaction front-end system, and card transaction front-end system carries out communication with card transaction background processing system by the DDN special line.
Described subscriber computer is meant PC computer or notebook computer.
In above-mentioned, described swiping the card comprises bank card and enterprise's card, and the bank card of indication and enterprise's card are magnetic stripe card and IC-card.
Technical scheme of the present invention also comprises the implementation method that above-mentioned network cash register system is provided, and step is implemented to comprise:
(1) user is by the internet access managing web, and input login account number, login password login backstage generate withhold order or bill, comprise information such as order number, the order amount of money, merchandise news, exchange hour;
(2) after the subscriber computer control on the user browser receives the order transaction instruction of managing web, call traction equipment prompting consumer swipe the card input password or Card Reader;
(3) consumer swipes the card or Card Reader on the card reader of traction equipment or read write line, with code keypad input card password, traction equipment is connected with the computing machine communication by serial ports or USB mouth, traction equipment is encrypted clip pin, card magnetic track or chip data sensitive information, and the card Transaction Information of encrypting is returned to the subscriber computer control;
(4) after the subscriber computer control receives the card Transaction Information of traction equipment, transaction interface according to the definition of card transaction front-end system, form transaction message, the universe of utilizing the key that stores on the subscriber computer control to carry out packet is encrypted, the data that guarantee transmission course are encrypted entirely, at last the transaction message of encrypting by delivering to the card front-end system of concluding the business on the internet;
(5) card transaction front-end system receives the encryption transaction bag that send on the subscriber computer control, call encryption equipment and carry out replacement of keys, the key that calling card transaction background processing system the provides bag re-encryption of concluding the business, deliver on the form according to card transaction background processing system interface easily to card transaction background processing system, the front-end system of card transaction is simultaneously noted relevant Transaction Informations such as transaction details and daily record;
(6) card transaction front-end system receives the transaction results bag that card transaction background processing system is returned, checking MAC, and in database, note the transaction journal information that comprises transaction details and transaction log, the encryption encrypt data bag that card transaction background processing system is returned is passed to encryption equipment then, encryption equipment converts the Secret Key Cipher of preposition transaction system and traction equipment definition to, and returns to the subscriber computer control;
(7) after the subscriber computer control receives transaction results, the serial ports or the connection of USB mouth that utilize subscriber computer to be connected with traction equipment send transaction results to traction equipment, traction equipment is decrypted enciphered message, extract transaction results information, and transaction results is presented on the display screen of traction equipment, print the transaction receipt simultaneously;
(8) the subscriber computer control is delivered easy result by the internet simultaneously on managing web;
(9) Transaction Information of managing web registration order, and make inner logical process, offer the individual and do relevant Transaction Inquiries, statement analysis statistical function with the user, return order consumer sale result, closing the transaction with the form of webpage to the user simultaneously.
Network cash register of the present invention has been realized the perfect combination of the convenient gathering of online back-stage management and front end as a kind of user instrument of collecting money, and can be used as user's usefulness that gathering, individual check out of selling goods.Not only can easily solve the problem that it is difficult that the user collects money, monitor cashier's cash register situation when also can allow the user management commodity in real time, reduce user's gathering risk to a certain extent with the gathering order.Compared with prior art, the present invention has following beneficial technical effects:
1, swipes the card conveniently, simple and fast is installed.Support bank card and enterprise's card that all meet finance norms, even can in office or family, easily finish bank settlement;
2, make things convenient for the realization fund to collect.The terminal bank settlement service of innovation provides perfect solution for the fund of enterprise collects;
3, trade fund to account will faster, safer, turnover of funds more the smoothness, the product sales volume significantly promotes.
Description of drawings
The invention will be further described below in conjunction with drawings and Examples.
Fig. 1 is a system topological synoptic diagram of the present invention;
Fig. 2 is an operating process synoptic diagram of the present invention.
Among the figure: 1, managing web, 2, card transaction front-end system, 3, traction equipment, 4, the subscriber computer control, 5, card transaction background processing system, 6, encryption equipment, 7, the user.
Embodiment
With reference to shown in Figure 1, system of the present invention is made up of network cash register terminal, managing web 1, card transaction front-end system more than 2 parts.Wherein the network cash register terminal is made of traction equipment 3, subscriber computer control 4, the one machine that traction equipment 3 is made up of card reader (or read write line), code keypad, display screen, receipt printer, power supply, connecting line is realized mainly that magnetic stripe card is swiped the card or IC-card read-write, input card password, encryption, group bag, is printed the function of receipt; Subscriber computer control 4 refers to be embedded in the client-side program on user PC computer or the notebook computer browser, and major function is to realize the transaction communication of managing web 1, card transaction front-end system 2 and traction equipment 3.Subscriber computer control 4 sends to traction equipment 3 to the order transactions information of managing web, and sends card transaction front-end system to after traction equipment 3 receives the transactional cards Transaction Information.
The present invention adopts the safety standard " machine one close " of user to machine, so data all send to card transaction front-end system with the ciphertext form, comprises user number, terminal number, time on date, the amount of money, card number, password, magnetic track information, MAC etc. in the information; If according to traditional technology implementation method, PC and transaction be preposition to be connected and be to adopt dialing or special line, but we have adopted the internet to transmit information under the situation that guarantees safety.Send the transaction data package of encrypting, its cipher mode adopts following two kinds: the one, and traction equipment 3 utilizes the key of self storing to carry out the encryption of transaction data package, cryptographic algorithm is used the DES/3DES algorithm of standard, encrypt the back transaction data package is sent to subscriber computer control 4, be transmitted to card transaction front-end system again.The 2nd, 3 pairs of clip pins of traction equipment, card magnetic track or chip data sensitive information are encrypted, and the key that is called traction equipment 3 by subscriber computer control 4 carries out the encryption of transaction data package, mail to card transaction front-end system again.
Managing web: adopt present popular B/S framework, realization system and user's 7 man-machine interaction, and the function that offers user's 7 Transaction Inquiries, statement analysis statistics.
Block the front-end system of concluding the business: according to the standard design of Unionpay, communication modes adopts the SOCKET communication, and data message adopts the ISO8583 message packing of standard, and key and encryption are adopted the encryption equipment hardware encipher and generated key.Main effect is to receive the transaction request of sending on the traction equipment 3, carry out the interior business logical process of system, and be transmitted to card transaction background processing system 5, card transaction background processing system 5 receives transaction results carries out after internal logic is handled transaction results being returned to card transaction front-end system, by card transaction front-end system the result is returned traction equipment 3 again.Card transaction front-end system mainly has been transaction forwarding effect on the whole.
Card transaction background processing system: be used for transaction data package is verified and transaction processing, and transaction results encrypted set bag is returned to card transaction front-end system 2.
User 7 uses the browser of PC computer by the internet access managing web, be connected by serial ports between traction equipment 3 and the user PC computer, control program by subscriber computer drives, subscriber computer control 4 and card transaction front-end system 2 communicate by the internet, and card transaction front-end system 2 carries out communication with card transaction background processing system 5 by the DDN special line.
With reference to shown in Figure 2, the concrete operations step of above-mentioned network cash register system is:
(1) be connected by serial ports between PC computer and the traction equipment 3, user 7 is by PC computer to access managing web, and input login account number, login password login backstage generate the order of withholing, and comprise the information of order number, the order amount of money, merchandise news, exchange hour;
(2) after the subscriber computer control 4 on the user browser receives the order transaction instruction of managing web 1, call the traction equipment 3 prompting consumers input password of swiping the card;
(3) consumer swipes the card on the card reader of traction equipment 3, with code keypad input card password, traction equipment 3 connects by serial ports or the communication of USB mouth, traction equipment is encrypted clip pin, card magnetic track or chip data sensitive information, and the card Transaction Information of encrypting is returned to subscriber computer control 4;
(4) after subscriber computer control 4 receives the card Transaction Information of traction equipment 3, transaction interface according to the definition of card transaction front-end system, form transaction message, utilize the key of storage on the subscriber computer control 4 to carry out the universe encryption of packet, the data that guarantee transmission course are encrypted entirely, at last the transaction message of encrypting by delivering to the card front-end system of concluding the business on the internet;
(5) card transaction front-end system receives the encryption transaction bag that send on the subscriber computer control 4, call encryption equipment and carry out replacement of keys, the key that calling card transaction background processing system 5 the provides bag re-encryption of concluding the business, deliver on the form according to card transaction background processing system interface easily to card transaction background processing system, the front-end system of card transaction is simultaneously noted relevant Transaction Informations such as transaction details and daily record;
(6), card transaction front-end system receives the transaction results bag that card transaction background processing system is returned, checking MAC, and in database, note the transaction journal information that comprises transaction details and transaction log, the encryption encrypt data bag that card transaction background processing system 5 is returned is passed to encryption equipment then, encryption equipment 6 converts the Secret Key Cipher of preposition transaction system and traction equipment 3 definition to, and returns to the subscriber computer control;
(7) after subscriber computer control 4 receives transaction results, the serial ports or the connection of USB mouth that utilize subscriber computer to be connected with traction equipment 3 send transaction results to traction equipment 3,3 pairs of enciphered messages of traction equipment are decrypted, extract transaction results information, and transaction results is presented on the display screen of traction equipment 3, print the transaction receipt simultaneously;
(8) subscriber computer control 4 is delivered easy result by the internet simultaneously on managing web 1;
(9) Transaction Information of managing web 1 registration order, and make inner logical process, offer the user and do relevant Transaction Inquiries, statement analysis statistical function, return order consumer sale result, closing the transaction with the form of webpage to the user simultaneously.After managing web 1 obtains transaction data, provide the purpose of Transaction Inquiries to be intended to make things convenient for the user to understand the transaction situation of current transaction and historical trading, avoid unnecessary dispute, for example: may be owing to reasons such as communication/terminal devices, cause transaction unusual, the user needs the result of inquiry transaction in time, so that whether decision delivers to the buyer.And system the purpose of analytic statistics form is provided is the sales situation statistics that helps on the one hand the user, can offer third party credit agency on the other hand, risk supervision and control as user's fund, can be used as the amount reference of credit according to user's transaction situation, also can be used as simultaneously the risk guarantee of user's credit, credit agency can realize the purpose of supervisory user credit funds function situation by the transaction situation of analysis user.