[embodiment]
Below in conjunction with drawings and Examples the utility model is elaborated.
As shown in Figure 1, Fig. 1 is the schematic block diagram of a preferred embodiment of mobile phone purchase system of the present utility model.Mobile phone purchase system of the present utility model comprises mobile phone 10 and checks out server 20.
As shown in Figure 1, mobile phone 10 comprises camera head 11, decoding device 12, input unit 13, storage device 14, code device 15 and display unit 16.Camera head 11 has camera function, is used to obtain the bar code 01 that contains commodity code.Obtain after the bar code 01, decode, to obtain commodity code by the bar code 01 that 12 pairs of camera heads 11 of decoding device are obtained.Input unit 13 is used to import the correspondence forward purchasing quantity of commodity code, determines the purchase volume of commodity.
Storage device 14 storing commodity coding and corresponding forward purchasing quantity.In the present embodiment, input unit 13 can determine also whether the user will carry out the purchase of next part commodity, if the user continues to buy, then continue to obtain next bar code, and store this commodity code and corresponding forward purchasing quantity into storage device 14 by camera head 11.When the user finishes to buy, can determine to buy by input unit 13 and finish.At this moment, in storage device 14, store the purchase data inventory that comprises at least one commodity code and corresponding forward purchasing quantity.
Code device 15 will be bought the data inventory and be encoded into two-dimension code, show this two-dimension code by display unit 16 then.In the present embodiment, code device 15 judges further whether the size of data of the purchase data inventory that will be encoded into two-dimension code that storage device 14 is stored surpasses preset upper limit.If the size of data of the data of purchase inventory surpasses preset upper limit, then will buy the data inventory and be divided into a plurality of sub-inventories, and respectively a plurality of sub-inventories will be encoded into a plurality of two-dimension codes.Purchase data inventory is preferably the best data quantity setting preset upper limit of the two-dimension code that can show according to 16 of display unit and carries out data when cutting apart cuts apart.Display unit 16 shows a plurality of two-dimension codes at interval or according to the input instruction of input unit 13 successively with preset time.Display unit 16 can further show the instructions that commodity code that decoding device 12 obtains and input unit 13 are imported, to make things convenient for determining of user.
As shown in Figure 1, the server 20 of checking out of the present utility model comprises: two-dimension code scanning means 21, two-dimension code decoding device 22 and inventory processing unit 23.The display unit 16 shown two-dimension codes of mobile phone 10 are scanned by the two-dimension code scanning means 21 in the server 20 of checking out.Then, decode, obtain purchase data inventory by the two-dimension code that 22 pairs of two-dimension code scanning means 21 of two-dimension code decoding device are scanned.At last, handle the purchase data inventory that two-dimension code decoding device 22 is obtained by inventory processing unit 23.The processing of inventory processing unit 23 can comprise and show purchase data inventory and the total amount of buying the commodity in the data inventory such as is settled accounts at operation.
As shown in Figure 2, Fig. 2 is the flow chart of first embodiment of the utility model mobile phone purchase method.
In step S101, System Operation begins.
In step S102, use mobile phone to take the bar code of forward purchasing commodity by the user, to obtain the bar code that contains commodity code.
In step S103, by mobile phone the bar code that obtains is decoded, to obtain commodity code.
In step S104, use the correspondence forward purchasing quantity of the commodity code that mobile phone input obtains by the user in step S103.
In step S105, store the purchase data inventory that comprises commodity code and corresponding forward purchasing quantity that above-mentioned steps draws by mobile phone.
In step S106, whether carry out next record by mobile phone inquiry user and buy.If, get back to step S102, if not, then proceed to step 107.Therefore, the purchase data inventory stored of mobile phone is at least one pen.
In step S107, whether the data capacity of being bought the data inventory by the mobile phone inspection surpasses preset upper limit.If then forward step S112 to; If not, then forward step S108 to.
In step S108, directly will buy the data inventory by mobile phone and be encoded to two-dimension code.
In step S109, the two-dimension code that in step S109, obtains by handset displays.
In step S110, by the shown two-dimension code of the server scanning mobile phone in step S109 of checking out and decode, obtain purchase data inventory.
In step S111, by the purchase data inventory that is obtained among the server process step S110 that checks out.Can comprise the processing of buying the data inventory and to show purchase data inventory and the total amount of buying the commodity in the data inventory such as is settled accounts at operation.
In step S118, System Operation finishes.
In step S112, will buy the data inventory by mobile phone and be divided into a plurality of sub-inventories.If the data of the data of purchase inventory obtain M divided by the preset upper limit that can show at every turn, then cut apart umber and be preferably M part.
In step S113, one one's share of expenses for a joint undertaking inventory is encoded to two-dimension code by mobile phone.
In step S114, the two-dimension code that in step S113, obtains by handset displays.
In step S115, by the shown two-dimension code of the server scanning mobile phone in step S114 of checking out and decode, obtain purchase data inventory.
In step S116, judgement demonstration frequency n and the data of purchase inventory are cut apart the relation of umber M.When showing that frequency n is cut apart umber M less than the data of purchase inventory, then return step S113, to next one's share of expenses for a joint undertaking inventory encode, step such as demonstration.When showing that frequency n equals to buy the data inventory and cuts apart umber M, then enter step S117.
In step S117, by the purchase data inventory that is obtained among the server process step S115 that checks out.Can comprise the processing of buying the data inventory and to show purchase data inventory and the total amount of buying the commodity in the data inventory such as is settled accounts at operation.
In step S118, System Operation finishes.
As shown in Figure 3, Fig. 2 is the flow chart of second embodiment of the utility model mobile phone purchase method.Step S201-S212 is identical with step S101-S112, and difference is:
In step S213, the many one's shares of expenses for a joint undertaking inventory that is partitioned among the step S212 all is encoded to two-dimension code by mobile phone.
In step S214, be presented at a plurality of two-dimension codes that obtain among the step S213 successively at interval or according to the input instruction of user's input with preset time by mobile phone.
In step S215, by the server scanning of the checking out two-dimension code that mobile phone shows successively in step S214 and decode, obtain purchase data inventory.
In step S216, judgement scanning times n and the data of purchase inventory are cut apart the relation of umber M.When showing that frequency n is cut apart umber M less than the data of purchase inventory, then return step S214, to next one's share of expenses for a joint undertaking inventory encode, step such as demonstration.When showing that frequency n equals to buy the data inventory and cuts apart umber M, then enter step S217.
In step S217, by the purchase data inventory that is obtained among the server process step S215 that checks out.Can comprise the processing of buying the data inventory and to show purchase data inventory and the total amount of buying the commodity in the data inventory such as is settled accounts at operation.
In S218, System Operation finishes.
By the way, make user's more convenient and quicker in mobile phone shopping, and can effectively reduce cost.
In the above-described embodiments, only the utility model has been carried out exemplary description, but those skilled in the art can carry out various modifications to the utility model after reading present patent application under the situation that does not break away from spirit and scope of the present utility model.