Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
In an embodiment of the present invention, printout comprises the sales bill of the single information of commodity system, has avoided hand-written document to occur mistake easily and maybe can't discern, and opened the lower problem of single-action rate.By management data being sent to the supvr of market, special counter, make market, special counter supvr can grasp the sales situation of special counter in real time, exactly, realize the logistics management of commodity faster and betterly.
Fig. 1 shows the implementing procedure of the system folk prescription method of the sales bill that the embodiment of the invention provides, and details are as follows:
In step S101, receive the commodity sign information of input.
Need distinguish the commodity in the market in advance,,, can adopt bar code as commodity sign information as embodiments of the invention because present commodity generally have bar code.As another embodiment of the present invention, market or special counter also can be encoded to all commodity, can adopt this commodity code as commodity sign information.This is numbered the character string that numeral, monogram form.Certainly, commodity sign information also can be electronic tag.
At present, the bar code of commodity mainly contains types such as EAN8, EAN13, CODE25, CODE39 or CODE128.For the bar code on the commodity, just can read bar code by the barcode scanner of supporting this bar code type, thereby can receive commodity sign information from barcode scanner.When being commodity code, can receive the commodity sign information of input media inputs such as button or keyboard.When being electronic tag, can receive the commodity sign information of electronic tag fetch equipment input.
In step S102, obtain the single information of commodity system of this commodity sign information correspondence.
For each commodity sign information, in the information of goods information data storehouse, all preserve the information attribute value and the special counter information of this commodity sign information correspondence.Information attribute value comprises information such as the name of an article/specification, the amount of money, unit price, discount, stockpile number, vendor name of commodity.Special counter information comprises information such as special counter identification information, machine number, salesman and date.Wherein, the special counter identification information can be special counter number, special counter title etc.
As embodiments of the invention, with the amount information of the commodity that get access to, and the special counter information of the corresponding special counter of commodity is as the single information of commodity system.Certainly, also can increase out of Memory, for example name of an article/specification, discount, sales volume, stockpile number, machine number etc. on this basis again.
In embodiments of the present invention, the information of goods information data storehouse can set up internal database fully or set up the external data base that is connected communication fully with system for the system of being built in.For each commodity, can utilize input media to import the information attribute value and the special counter information of this commodity correspondence by the user.Like this, just can generate commodity sign information and the amount of money of commodity, the correspondence relationship information of special counter identification information, this correspondence relationship information is saved in the information of goods information data storehouse according to information attribute value and special counter information.
In order to guarantee the real-time update in information of goods information data storehouse, as embodiments of the invention, can edit the information of goods information data storehouse at any time, for example increase new merchandise news, modification or delete existing merchandise news etc.
In step S103, printout comprises the sales bill of the single information of this commodity system.
As embodiments of the invention, can configured in advance one print control documents, by print control file control print procedure.Print control and comprise that mainly print What chooses and print layout, parts such as number of copies control.Printed contents can comprise mall information, special counter information, information such as information attribute value.Wherein, mall information can comprise information such as market title, address, market.
When the consumer buys many commodity, according to the amount of money of commodity in the information of goods information data storehouse, the amount of money of all commodity of the purchase that adds up, required amount information in the single information of the commodity system that can obtain.
For convenience of the cashier cash register, as embodiments of the invention, the single information of the commodity systems such as the amount of money of special counter identification information and commodity can be made the form of a bar code, like this, cashier just can directly read in the amount information and the corresponding special counter identification information of commodity in the cashier's machine by barcode scanner.In order to distinguish the commodity transaction of many same amount of money of same special counter, can generate one and sell numbering, and should sell in the numbering adding bar code.Certainly, also can directly represent commodity sign information and amount information with character string forms.
When actual print procedure, can be from mall information, special counter information selects partial information or full detail to print in the information attribute value.And number of copies generally is defaulted as 3 parts, and portion is transferred to the market and preserved, and a by the special counter preservation, portion is preserved by the client.
Consult the sales bill of a cover western-style clothes shown in Figure 2, comprise market title, address, market, special counter number, special counter title, information such as machine number, salesman's numbering, date on the sales bill of this printing.In addition, understand, also comprise information attribute values such as the name of an article/specification, unit, quantity, unit price, discount, the amount of money on this sales bill in order to allow the consumer that commodity are had clearly.In addition, the bottom of this sales bill also provides this transaction corresponding bar code, comprise special counter number in this bar code, sell numbering, the amount of money three partial informations, read information needed, make things convenient for the cash register process thereby cashier can directly scan this bar code by barcode scanner.
In order to improve database, except when commodity are put in storage, warehouse-in commodity sign information and information attribute value are added to beyond the information of goods information data storehouse, when the commodity shipment, also need be in the information of goods information data storehouse quantity of corresponding these commodity of minimizing, and when commodity amount is not enough, can provide information.
After finishing transaction, sell relevant information according to this amount information, special counter sign etc. and generate management data, and management data is sent to the supvr of commodity provider or market, special counter by communication interface, make market, special counter supvr can grasp the sales situation of special counter in real time, exactly, realize the logistics management of commodity faster and betterly.As embodiments of the invention, this management data comprises the name of an article/specification of commodity, turnover goods quantity, unit price, discount, total charge, data such as special counter sign.
The system that Fig. 3 shows the sales bill that the embodiment of the invention provides sets up the structure that is equipped with, and this equipment comprises message input device 31, data-carrier store 32, main control MCU 33, printing equipment 34, program storage 35, random access memory 36 and communication interface 37.Main control MCU 33 is connected with message input device 31, data-carrier store 32, printing equipment 34, program storage 35, random access memory 36 and communication interface 37 respectively.Wherein, data-carrier store 32 stores a sales bill system single system 321.
When this system set up fully the starting up, main control MCU 33 accessed initialization files from program storage 35 and this system is set up carries out initialization fully.
Open when single, message input device 31 obtains commodity sign information, sales bill system single system 321 in the main control MCU 33 control service data storeies 32, sales bill system single system 321 receives the commodity sign information through these message input device 31 inputs, obtain the single information of commodity system of this commodity sign information correspondence, and control the sales bill that these printing equipment 34 printouts comprise the single information of this commodity system, the single information of this commodity system includes the amount information of commodity, and the special counter information of the corresponding special counter of commodity.In addition, this sales bill system single system 321 also generates management data, and sends management data by communication interface 37.
This sales bill comprises amount information, and the special counter identification information of the corresponding special counter of commodity of commodity.Random access memory 36 provides the effect of data buffering as the single device's memory of system in control procedure in main control MCU 33.
As embodiments of the invention, can make at this increases by a data exchange interface 38 in single device, this data exchange interface 38 is linked to each other with main control MCU 33, links to each other with exterior storage medium by this interface, realizes importing and exporting of data.This data exchange interface can be USB interface.
As embodiments of the invention, this message input device 31 is touch-screen or keyboard or electronic tag fetch equipment or the interface that connects scanner, keyboard, electronic tag fetch equipment, and the user can manually import commodity sign information by the touch-screen or the keyboard that are arranged on the single device of system.The interface that connects scanner, keyboard, electronic tag fetch equipment is RS232 interface or PS/2 interface or USB interface.
Certainly, in order to support more outside input-output device, not only multiple interfaces can be set, and a plurality of interfaces can be set, for example can increase common PS/2 interface 39, RS232 interface 40, USB interface 41 at every kind of interface.
As embodiments of the invention, can make at this increases by a display screen 42 in single device, display screen 42 is linked to each other with main control MCU 33, by main control MCU 33 these display screen 42 display of commodity attribute informations of control, special counter information etc.
Fig. 4 shows the structure of the system single system of the sales bill that the embodiment of the invention provides, and this system single system can set up the unit of the software unit, hardware cell or the soft or hard combination that are equipped with for the system that is built in sales bill.
This sales bill system single system 321 comprises the single information acquisition module 3212 of commodity sign information receiving module 3211, commodity system, printout module 3214, communication module 3215 and built-in or is connected the information of goods information data storehouse 3213 of communicating by letter with the outside.Wherein, information of goods information data storehouse 3213 stores the correspondence relationship information of commodity sign information and the single information of commodity system.
Commodity sign information receiving module 3211 receives the commodity sign information of input, the single information acquisition module 3212 of commodity system obtains the single information of commodity system of this commodity sign information correspondence from commodity information database 3213,3214 printouts of printout module comprise the sales bill of the single information of this commodity system.The single information of this commodity system includes the amount information of commodity, and the special counter information of the corresponding special counter of commodity.And communication module 3215 generates management data according to the data in the information of goods information data storehouse, and data are sought in the concurrent warp let-off.
As embodiments of the invention, can in this system, add amount information, merchandising that commodity information management module 3216 generates commodity sign information and commodity commodity special counter information correspondence relationship information and be stored in the information of goods information data storehouse 3213.
Wherein, this commodity sign information is the bar code of commodity, perhaps goods number.The single information of this commodity system is character string forms, perhaps bar code form.
In sum, by comprising the sales bill printout of the single information of this commodity system, avoided hand-written document to occur mistake easily and maybe can't discern, and opened the lower problem of single-action rate.Simultaneously,, make market, special counter supvr can grasp the sales situation of special counter in real time, exactly, realize the logistics management of commodity faster and betterly by management data being sent to the supvr of market, special counter.Generate bar code by the amount of money, and print bar code, thereby made things convenient for the relevant information of cashier to read, improved the work efficiency and the accuracy of cash register according to special counter identification information and commodity.Can allow market, special counter recognize management state more easily by importing and exporting of information of goods information data database data.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.