Embodiment
In the present invention, bar code image can be one dimension sign indicating number, two-dimension code or multidimensional code, as long as can store fully and serve relevant information corresponding codes information.Though the information memory capacity of one dimension sign indicating number is limited, in theory also be feasible.This paper is following to be example with the two-dimension code, and method of the present invention, portable terminal and device are set forth in detail.
The device that Fig. 1 communicates for employing bar code image of the present invention also is the structured flowchart of first execution mode of service provider system 1.As shown in Figure 1, service provider system 1 comprises two portable terminals 21,22, wireless network 3 and background server 4.Portable terminal 21,22 and background server 4 carry out wireless connections through wireless network 3.Background server 4 communicates through wireless network or cable network with external server 5.Background server 4 is preferably through wireless network with being connected of external server 5 and connects.
In this execution mode, service provider system 1 comprises portable terminal 21,22.But the invention is not restricted to this, also can be personal computer 21,22 with the background server communicating devices.
Wireless network can make portable terminal 21,22 and background server 4 at the network that has the network signal part to communicate at any time for GPRS network, 3G network, 4G network, WIFI network, blueteeth network etc.Portable terminal 21 is taken pictures to bar code image 61 through its built-in camera, and to bar code image 61 decodings that photograph, the coded message that decoding obtains combines with the user profile of portable terminal 21, regenerates new bar code image 62 again.Wherein, User profile comprises one or more in user's the physical address of interface of user name and portable terminal 21 of SIM number, portable terminal 21 of equipment identification number, the portable terminal 21 of IMEI, the portable terminal 21 of telephone number, the portable terminal 21 of portable terminal 21 at least, to identify the user of portable terminal 21 uniquely.If replace portable terminal 21 with personal computer 21, then user profile comprises one or more in user's the physical address of interface of user name and personal computer 21 of personal computer 21 at least, to identify the user of personal computer 21 uniquely.
Portable terminal 22 is taken pictures to bar code image 62 through its built-in camera; To bar code image 62 decodings that photograph, the coded message that decoding obtains comprises after resolving: the information on services that the user profile of portable terminal 21 and bar code image 61 are comprised.
Portable terminal 22 provides service to background server 4 requests.According to the type of service, background server 4 can provide service for portable terminal 21,22 separately, also can come for portable terminal 21,22 service to be provided with external server 5 cooperations.
As preferred embodiments of the present invention, 21,22 need of portable terminal are that the portable terminal that is built-in with camera gets final product.Portable terminal 21,22 can obtain client software through download, storage card or other modes, communicates by letter with background server 4 through this client software after the installation.Portable terminal 21,22 can be the mobile phone that is built-in with camera, PDA(Personal Digital Assistant), IPAD etc.
In this embodiment, be example with two portable terminals 21,22, but the present invention is not limited to this, service provider system 1 can comprise a plurality of portable terminals.For example; Service provider system 1 can also comprise portable terminal 23,24; Portable terminal 23,24 can be taken pictures and decode the bar code image 62 that secondary generates, the information on services that the bar code image 61 that once generates with acquisition is comprised and the user profile of portable terminal 21.
Fig. 2 is the structured flowchart of first execution mode of the portable terminal 21 among Fig. 1.As shown in Figure 2, portable terminal 21 comprises control unit 211, is used to produce the signal of other each unit of control and controls other each unit realizations function separately.Camera 212 is used for two-dimension code 61 is taken pictures.The above camera of 30 everything elements can both clearly photograph two-dimension code 61.Decoder 213 is used for the two-dimension code 61 that photographs is decoded to obtain coded message.The coded message that two-dimension code generation unit 214 is used for decoding is obtained combines with the user profile of portable terminal 21, regenerates new bar code image 62 again.Transmission/receiving element 215 is used for sending log-on message to background server 4; Receive the message that succeeds in registration in the back of succeeding in registration from background server 4, transmission/receiving element 215 also is used for request message being provided and receiving service from background server 4 to background server 4 services of sending.Input unit 216 is used to import the information that background server 4 requiresinput.Display unit 217 is used to show that background server 4 requires the information that shows.
Input unit 216 can be imported user's log-on message, for example, and user name (also being ID), password, ID card No., address, hobby, QQ number, payment accounts etc.Also can carry out background server 4 desired selections through input unit 216.Input unit 216 can be keyboard or touch-screen.
Correspondingly, the log-on message thatdisplay unit 217 can explicit user, background server 4 desired selection information, information and the descriptive information relevant with service.
Fig. 3 is the structured flowchart of first execution mode of the portable terminal 22 among Fig. 1.As shown in Figure 3; The function of the camera 212 of the camera 222 of portable terminal 22, decoder 223, control unit 221, transmission/receiving element 225,input unit 226,display unit 227 and portable terminal 21, decoder 213, control unit 211, transmission/receiving element 215,input unit 216,display unit 217 is identical; Difference is; Portable terminal 22 does not have two-dimension code generation unit 214, can not generate new two-dimension code.But; Portable terminal 22 has coded message resolution unit 224; Be used to resolve the coded message of decoder 223 decoding gained, to extract the information on services (also being the information on services that is comprised in the two-dimension code 61) that comprised in the two-dimension code 62 and the user profile of portable terminal 21.
Fig. 4 is the structured flowchart of first execution mode of the background server 4 among Fig. 1.As shown in Figure 4, background server 4 comprises control unit 41, is used to produce the signal of other each unit of control and controls other each unit realizations function separately.Two-dimension code generation unit 42, the coded message that is used to generate corresponding to information on services also generates the two-dimension code 6 corresponding to coded message.Transmission/receiving element 43, being used for receiving service from portable terminal 21,22 provides request message and to portable terminal 21,22 service is provided, and also is used for receiving log-on message and sending the message that succeeds in registration to portable terminal 21,22 from portable terminal 21,22.User register unit 44 is used to accomplish user's registration, and user's log-on message is stored in the outside database 45.Background server 4 can call the data in the database 45 at any time.
The two-dimension code 61 that supplies portable terminal 21 to take pictures can be generated by the two-dimension code generation unit 42 of background server 4, also can be generated by the two-dimension code generating apparatus 7 of outside.Certainly, two-dimension code generation unit 42 is consistent with the coding rule of the two-dimension code generating apparatus 7 of outside.
In this embodiment, database 45 is positioned at the outside of background server 4, but the present invention is not limited to this, and database 45 also can be positioned at the inside of background server 4.
The flow chart of first execution mode of the method that Fig. 5 communicates between portable terminal 21,22 and background server 4 for employing bar code image of the present invention.
As shown in Figure 5, at step S500, generate two-dimension code 61 according to predetermined coding rule by two-dimension code generating apparatus 7.According to the service that background server 4 is provided, the information that service is relevant generates corresponding codes information according to predetermined coding rule, again this coded message is generated corresponding two-dimension code 61.The coding rule of the coding rule of two-dimension code generating apparatus 7 and background server 4 is consistent, also correspondingly is complementary with the decoding rule of portable terminal 21.
In step S505, the user registers the user of background server 4 as through portable terminal 21, background server 4 storage users' log-on message, and send the message that succeeds in registration to portable terminal 21.Log-on message comprises unique username and password at least.Certainly, log-on message also can comprise other personal information such as identification card number, address, hobby, QQ number, payment accounts.
In step S510, the user registers the user of background server 4 as through portable terminal 22, background server 4 storage users' log-on message, and send the message that succeeds in registration to portable terminal 22.
In step S515, the user who two-dimension code 61 is published to portable terminal 21 can contact part.For example; Two-dimension code 61 can be distributed on the pages of Internet, can also be distributed on the multiple information platform such as screen, building advertisement medium of microblogging, IM crowd, forum, search engine, ecommerce intermediary platform, videozine, sales catalogue, TV shopping.As another embodiment of the present invention, in step S515, two-dimension code 61 can directly be sent to portable terminal 21, and is not published on the information platform.
In step S520, two-dimension code 61 is taken pictures through the camera that is arranged in the portable terminal 21.Camera is generally 30 everythings element or more than the 30 everything elements, can guarantees the definition of two-dimension code 61.When enough clear, camera is taken pictures to two-dimension code 61 automatically on camera alignment two-dimension code 61 and two-dimension code 61 are being found a view screen.
In step S525, the two-dimension code 61 that portable terminal 21 decodings photograph is to obtain the coded message corresponding to information on services.
In step S530, portable terminal 21 combines coded message with the pairing coded message of the user profile of portable terminal 21, generates two-dimension code 62.
In step S535, the user who two-dimension code 62 is published to other portable terminals (for example portable terminal 22) can contact part.For example; Two-dimension code 62 can be distributed on the pages of Internet, also can be distributed on the multiple information platform such as screen, building advertisement medium of microblogging, IM crowd, forum, search engine, ecommerce intermediary platform, videozine, sales catalogue, TV shopping.
In step S540, two-dimension code 62 row are taken pictures through the camera that is arranged in the portable terminal 22.When enough clear, camera is taken pictures to two-dimension code 62 automatically on camera alignment two-dimension code 62 and two-dimension code 62 are being found a view screen.
In step S545, the two-dimension code 62 that portable terminal 22 decoding photographs is to obtain corresponding to the coded message of information on services (consistent with the information on services that is comprised in the two-dimension code 61) with corresponding to the coded message of the user profile of portable terminal 21.
In step S550, resolve coded message, portable terminal 22 extracts the information on services of being stored from the database 45 of background server 4, and will be presented on the display screen of portable terminal 22 with the relevant information of service, checks for the user.
In step S555, portable terminal 22 provides request message to background server 4 services of sending, and with request background server 4 service is provided.Service provides request message to comprise the information of unique identification portable terminal 21 of ability and portable terminal 22 at least.Can unique identification portable terminal 21 and 22 information comprise one or more in telephone number, portable terminal 21 and 22 IMEI, portable terminal 21 and 22 equipment identification number, portable terminal 21 and 22 SIM number, portable terminal 21 and 22 the user's of portable terminal 21 and 22 the physical address of user name, portable terminal 21 and 22 interface.Portable terminal 21 and 22 telephone number, portable terminal 21 and 22 IMEI, portable terminal 21 and 22 equipment identification number, portable terminal 21 and 22 SIM number, portable terminal 21 and 22 user's the user name or the physical address of interface can be used as the user's of portable terminal 21 and 22 unique identification, make background server 4 can correctly discern portable terminal 21 and 22.Certainly, service provides request message can also comprise that background server 4 thinks necessary other information.
In step S560, background server 4 provides the content of request message to portable terminal 21 and 22 service to be provided according to service.In this embodiment, background server 4 and external server 5 collaborative works are to provide service to portable terminal 21 and 22.Certainly, portable terminal 21 is communicated by letter with background server 4 with 22, and does not directly communicate by letter with external server 5.
In this embodiment, two-dimension code 61 is generated by two-dimension code generating apparatus 7, but the present invention is not limited to this, and two-dimension code 61 also can be generated by the two-dimension code generation unit 42 in the background server 4.
In this embodiment, step S500, step S505, step S510 and step S515 carry out successively.But the present invention is not limited to this, and the sequencing between step S500, step S505, step S510 and the step S515 can change.For example, step S505, step S510 can be before step S500, also can be after step S515.
Commodity are bought and payment is an example, the method that employing bar code image of the present invention is communicated between portable terminal 21,22 and background server 4 describes in detail below.
The flow chart of second execution mode of the method that Fig. 6 communicates between portable terminal 21,22 and background server 4 for employing bar code image of the present invention.Portable terminal 21,22 has unique equipment identification number respectively.In this execution mode; Be separately installed with software client in the portable terminal 21,22; But portable terminal 21,22 need not registered the user of background server 4 as, and only need come unique portable terminal 21,22 of discerning accordingly through unique equipment identification number.
In step S600, background server 4 is encoded the merchandise news of commodity, generates the two-dimension code 61 corresponding to merchandise news, and merchandise news is stored in the database 45.Merchandise news can comprise commercial product code, commodity grouping, region GIS classified information, transaction value, marketing team, Sales Channel, Payment Methods, receiving bank's account number, the third party information relevant with commodity such as account number of collecting money.
In step S605, the two-dimension code 61 of commodity is published in the custom magazine that portable terminal 21 can contact, the user of portable terminal 21 is the recommendation side of commodity.
In step S620, the two-dimension code 61 of commodity is taken pictures through the camera that is arranged in the portable terminal 21.
In step S625, the two-dimension code 61 that photographs is decoded to obtain the coded message corresponding to merchandise news.
In step S630, portable terminal 21 combines coded message with the pairing coded message of the user profile of portable terminal 21, generates two-dimension code 62.The user profile of the portable terminal 21 that two-dimension code 62 is comprised makes two-dimension code 62 and portable terminal 21 have corresponding relation, and portable terminal 21 is closely related with two-dimension code 62 as the information of recommendation side.
In step S635, portable terminal 21 can contact part with the user that two-dimension code 62 is published to portable terminal 22, also is that portable terminal 21 is recommended commodity as recommendation side.
In step S640, two-dimension code 62 row are taken pictures through the camera that is arranged in the portable terminal 22.
In step S645, the two-dimension code 62 that portable terminal 22 decoding photographs is to obtain corresponding to the coded message of merchandise news with corresponding to the coded message of the user profile of portable terminal 21.
In step S650, extract merchandise news according to coded message from background server 4, and be presented on the display screen of portable terminal 22, check for the user.
In step S655,, then send to background server 4 and buy request messages through portable terminal 22 if the user of portable terminal 22 is satisfied to the commodity of user's recommendation of portable terminal 21.This purchase request message comprises one or more in telephone number, portable terminal 21 and 22 IMEI, portable terminal 21 and 22 equipment identification number, portable terminal 21 and 22 SIM number, portable terminal 21 and 22 users' of portable terminal 21 and 22 the physical address of user name, portable terminal 21 and 22 interface, can also comprise other user profile.This purchase request message also comprises Transaction Information, for example quantity purchase, the means of payment etc.When buying commodity, background server 4 learns that the purchaser of commodity is portable terminals 22, and the recommendation side of commodity is portable terminals 21.
In step S660, background server 4 generates order.
In step S665, background server 4 sends payment request message to paying server 8.Paying server 8 can be the paying server of bank, the paying server of mobile operator, the paying server of Alipay etc.
In step S670, paying server 8 is handled payment, accomplishes the payment to commodity.
In step S675, paying server 8 sends the payment success message to background server 4.
In step S680, background server 4 sends the payment success message to portable terminal 22, and is presented on the display screen of portable terminal 22, to inform the user.
In step S685, background server 4 sends to portable terminal 21 and calculates deduction message, and is presented on the display screen of portable terminal 21, to inform the user.Recommend because the commodity that the user of portable terminal 22 buys are the users by portable terminal 21, the user who gives portable terminal 21 is recommended deduction.
In this execution mode, have only portable terminal 21 these recommendation sides, but the present invention is not limited to this, a plurality of recommendation sides can be arranged and repeatedly generate two-dimension code.After the commodity purchasing success, background server 4 is deducted a percentage for a plurality of recommendation sides according to predefined deduction rule.
In this execution mode, 62 of two-dimension codes have comprised the user profile of merchandise news and portable terminal 21, but the invention is not restricted to this, and two-dimension code 62 can also comprise other information.For example, two-dimension code 62 can also comprise the evaluation information of the user of portable terminal 21 to these commodity.Correspondingly, in step S650, on the display screen of portable terminal 22 except display of commodity information, also can show recommendation side (user's of portable terminal 21) evaluation information.For example, a two-dimension code is set on the webpage of Taobao, the page viewers of Taobao can be on the basis of this two-dimension code again secondary generate new two-dimension code.New two-dimension code also includes the information of recommendation side and the evaluation information of recommendation side except comprising original merchandise news.The follow-up page viewers of Taobao can be to the new two-dimension code that secondary the generates parsing of taking pictures; The evaluation history (be not limited to the evaluation information in Taobao, also can comprise the evaluation information that recommendation side issues on other webpages) of extracting evaluation information wherein and following the trail of recommendation side.
In this execution mode, generate two-dimension code 62 by portable terminal 21, but invention is not limited to this, also can generate and issue two-dimension code 62 by background server 4.
In this execution mode, background server 4 can also with the server communication of logistics company, with the notice Shipping Address.Background server 4 can also be communicated by letter with businessman, to inform commodity purchasing and to pay successfully.Background server 4 can also calculate other royalties from sales, for example issues the deduction of the information platform of two-dimension code 62.
The brand-new Sales Channel that the method for this execution mode can provide the whole people to sell directly to households is resolved with the statistics of corresponding condition of sales.Anyone; For example represent the star of commodity; For example the administrative staff of microblogging perhaps the generic web page viewer of certain certain commodity of webpage discovery, only need take the two-dimension code that these commodity once generate through the portable terminal of oneself; Through oneself portable terminal or background server 4 again secondary generate two-dimension code, and the two-dimension code that secondary is generated extensively issue to recommend.The user profile that has comprised the referrer in the two-dimension code that secondary generates is to bind corresponding with referrer's portable terminal uniquely.Therefore, after commodity were bought by other people, purchase each time all can be extracted referrer's user profile, gives referrer's deduction with calculating.
The method of this execution mode can provide safe method of payment.Because two-dimension code, portable terminal 21,22 and background server 4 all include predetermined coding rule, therefore, as long as the danger that payment accounts is divulged a secret not simultaneously by same virus infections, just can not take place in the three parts.
Because the scope that two-dimension code distributes is extremely wide and the mobile flexibility of portable terminal 21,22, and the user can be bought and pay whenever and wherever possible extremely expediently.The method of this execution mode must obtain the coml howling success.
The flow chart of the 3rd execution mode of the method that Fig. 7 communicates between portable terminal 21,22 and background server 4 for employing bar code image of the present invention.
As shown in Figure 7, at step S700, the user registers the user of background server 4 as through portable terminal 21, background server 4 storage users' log-on message, and send the message that succeeds in registration to portable terminal 21.
In step S705, generate two-dimension code 61 according to predetermined coding rule by two-dimension code generating apparatus 7.According to the service that background server 4 is provided, the information that service is relevant and the user profile of portable terminal 21 generate corresponding codes information according to predetermined coding rule, again this coded message are generated corresponding two-dimension code 61.
In step S710, the user registers the user of background server 4 as through portable terminal 22, background server 4 storage users' log-on message, and send the message that succeeds in registration to portable terminal 22.
In step S715, the user who two-dimension code 61 is published to portable terminal 21 can contact part.For example; Two-dimension code 61 can be distributed on the pages of Internet; Can also be distributed on the multiple information platform such as screen, building advertisement medium of microblogging, IM crowd, forum, search engine, ecommerce intermediary platform, videozine, sales catalogue, TV shopping, also can be distributed on bank draft, electricity bill, the portable terminal bill etc.
In step S720, two-dimension code 61 is taken pictures through the camera that is arranged in the portable terminal 21.
In step S725, the two-dimension code 61 that portable terminal 21 decodings photograph is to obtain the coded message corresponding to the user profile of information on services and portable terminal 21.
In step S730, the user profile of portable terminal 21 is sent to background server 4.
In step S735; When the user profile of the portable terminal 21 that is comprised in the user profile of the portable terminal 21 that step S730 is sent and the two-dimension code 61 is complementary the authentication success of the portable terminal 21 (time); Background server 4 generates two-dimension code 62, comprises the user profile of information on services and portable terminal 21 in the two-dimension code 62.
In step S740, background server 4 sends to portable terminal 21 with two-dimension code 62, with as the successful voucher of portable terminal 21 authentications.
In step S745, the user of portable terminal 21 shows two-dimension code 62 to the user of portable terminal 22.
In step S750, two-dimension code 62 row are taken pictures through the camera that is arranged in the portable terminal 22.
In step S755, the two-dimension code 62 that portable terminal 22 decodings photograph is to obtain the coded message corresponding to the user profile (consistent with the user profile of information on services that is comprised in the two-dimension code 61 and portable terminal 21) of information on services and portable terminal 21.
In step S760; Resolve coded message; Portable terminal 22 extracts the information on services of being stored from the database 45 of background server 4; And will be presented on the display screen of portable terminal 22 with the relevant information of service, check (identity that is the user of portable terminal 22 user that confirms portable terminal 21 is legal) for the user of portable terminal 22.
In step S765, portable terminal 21 is sent to background server 4 with the user profile of portable terminal 22.Wherein, User profile comprises one or more in user's the physical address of interface of user name and portable terminal 22 of SIM number, portable terminal 22 of equipment identification number, the portable terminal 22 of IMEI, the portable terminal 22 of telephone number, the portable terminal 22 of portable terminal 22 at least, to identify the user of portable terminal 22 uniquely.In this execution mode, the user profile of the portable terminal 22 here is preferably the telephone number of portable terminal 22.
In step S770, background server 4 generates two-dimension code 63, comprises the user profile of information on services and portable terminal 22 in the two-dimension code 63.
In step S775, background server 4 is sent to portable terminal 22 with two-dimension code 63, with as the legal voucher of portable terminal 22 identity.
In step S780, portable terminal 22 provides request message to background server 4 services of sending, and with request background server 4 service is provided.Service provides request message to comprise the information of the unique identification portable terminal 22 of ability at least.
In step S785, background server 4 provides the content of request message to portable terminal 22 service to be provided according to service.In this embodiment, in the implementation of entire method, background server 4 and external server 5 collaborative works are to provide service to portable terminal 21 and 22.
In this embodiment, step S700 must be before step S705, because the two-dimension code 61 that two-dimension code generating apparatus 7 generates must contain the user profile of portable terminal 21.The present invention only need carry out getting final product for the not restriction of order of step S710 before step S750.Below be example with the service for checking credentials of financial document, in conjunction with Fig. 8 and Fig. 9 the method that adopts bar code image to carry out authentication is set forth in detail.
The flow chart of the 4th execution mode of the method that Fig. 8 communicates between portable terminal 21 and background server 4 for employing bar code image of the present invention.
As shown in Figure 8, at step S800, the user registers the user of background server 4 as through portable terminal 21, background server 4 storage users' log-on message, and send the message that succeeds in registration to portable terminal 21.
In step S805, by the predetermined coding rule generation two-dimension code 61 of two-dimension code generating apparatus 7 bases of bank.In this execution mode, the service that provides is the service for checking credentials of financial document.The information (the for example amount of money of financial document, bill type, check drawer etc.) that background server 4 is relevant with the service for checking credentials generates corresponding codes information according to predetermined coding rule, again this coded message is generated corresponding two-dimension code 61.The staff of bank sets up related between portable terminal 21 and two-dimension code 61, also is that the staff of bank specifies the user who has only portable terminal 21 could do next step operation to this financial document.This financial document is bound with portable terminal 21 through two-dimension code 61, has formed unique corresponding relation, has only the user of portable terminal 21 to hold financial document and just can obtain the corresponding amount of money.
As another embodiment of the present invention, except service for checking credentials information, also can comprise the user profile of portable terminal 21 in the two-dimension code 61, so that financial document is set up related with the user of portable terminal 21.
In step S810, two-dimension code 61 is printed on the financial document.
In step S815, two-dimension code 61 is taken pictures through the camera that is arranged in the portable terminal 21.
In step S820, the two-dimension code 61 that portable terminal 21 decodings photograph is to obtain the coded message corresponding to the user profile of information on services and portable terminal 21.
In step S825, the user profile of portable terminal 21 is sent to background server 4.
In step S830; When the user profile of the portable terminal 21 that is comprised in the user profile of portable terminal 21 and the two-dimension code 61 is complementary the authentication success of the portable terminal 21 (time); Background server 4 generates two-dimension code 62, comprises the relevant information of the service for checking credentials and the user profile of portable terminal 21 in the two-dimension code 62.
In step S835, background server 4 sends to portable terminal 21 with two-dimension code 62, with as the successful voucher of portable terminal 21 authentications.
In step S840, the user of portable terminal 21 goes to bank, and request bank carries out authentication.
In step S845; The staff of bank discerns the two-dimension code 62 on two-dimension code 61 and the portable terminal 21 on the financial document through two-dimension code recognition device 9; Information like both matches, and then verifies successfully, and bank pays the amount of money on the financial document to the user of portable terminal 21.As another embodiment of the present invention, background server 4 also can send a hyperlink to the staff's of bank portable terminal.This staff clicks and opens hyperlink, the information that two-dimensional code display 62 is comprised on the screen of this staff's portable terminal.Correct like information, verify then that successfully bank pays the amount of money on the financial document to the user of portable terminal 21.
The flow chart of the 5th execution mode of the method that Fig. 9 communicates between portable terminal 21,22 and background server 4 for employing bar code image of the present invention.
The step S700 of step S900~step S975 and Fig. 7~step S775 is similar; Particularly; Step S900~step S940 is when mobile terminal user information that the user profile of portable terminal 21 and the two-dimension code on the financial document 61 are comprised is complementary; Background server 4 sends two-dimension code 62 to portable terminal 21, with the voucher of verifying through background server 4 as portable terminal 21.
Step S945~step S960 is a portable terminal 22 through the two-dimension code on the portable terminal 21 62 is taken pictures, thereby the identity of bill and portable terminal 21 is verified.
Step S965~step S975 is the user that user's endorsement of portable terminal 21 is given portable terminal 22; The user of portable terminal 21 sends to background server 4 with the telephone number of portable terminal 22; Background server generates two-dimension code 63 and also sends to portable terminal 22, is legal financial document holder's voucher with the user as portable terminal 22.
The step S840 of step S980~step S990 and Fig. 8~step S850 is similar, and the user of portable terminal 22 holds financial document that is printed with two-dimension code 61 and the portable terminal 22 with two-dimension code 63 and goes to bank, two-dimension code recognition device 9 identifications through bank.Information like two-dimension code 61 and two-dimension code 63 matches, and verifies then that successfully bank pays the amount of money on the financial document to the user of portable terminal 22.
Through Fig. 8 and financial document verification method shown in Figure 9, can thoroughly stop existing financial document swindle, prevent the false claiming of financial document.
The execution mode of Fig. 8 and Fig. 9 is with the example that is verified as of financial document, communicates by letter with background server 4 through portable terminal 21,22 and realizes authentication.Verification method of the present invention is not limited to the checking of financial document, can be widely used in the occasion that the for example gate inhibition of company, safety box etc. need authentication.
The flow chart of the 6th execution mode of the method that Figure 10 communicates between portable terminal 21 and background server 4 for employing bar code image of the present invention.
Shown in figure 10, in step S1000, generate two-dimension code 61 according to predetermined coding rule by two-dimension code generating apparatus 7.
In step S1005, the user registers the user of background server 4 as through portable terminal 21, background server 4 storage users' log-on message, and send the message that succeeds in registration to portable terminal 21.
In step S1010, the user who two-dimension code 61 is published to portable terminal 21 can contact part.For example, two-dimension code 61 can be distributed on the sales catalogue in shop.
In step S1015, two-dimension code 61 is taken pictures through the camera that is arranged in the portable terminal 21.In step S1020, the two-dimension code 61 that portable terminal 21 decodings photograph is to obtain the coded message corresponding to information on services.
In step S1025, resolve coded message, portable terminal 21 extracts the information on services of being stored from the database 45 of background server 4, and will be presented on the display screen of portable terminal 21 with the relevant information of service, checks for the user.
In step S1030, portable terminal 21 provides request message to background server 4 services of sending, and with request background server 4 service is provided.Service provides request message to comprise the information of the unique identification portable terminal 21 of ability at least.
In step S1035, background server 4 provides the content of request message to portable terminal 21 service to be provided according to service.
In step S1040, background server 4 combines coded message with the pairing coded message of the user profile of portable terminal 21, generates two-dimension code 62.
In step S1045, background server 4 is sent to portable terminal 21 with two-dimension code 62, with the voucher of accomplishing as service.
The flow chart of the 7th execution mode of the method that Figure 11 communicates between portable terminal 21 and background server 4 for employing bar code image of the present invention.Execution mode shown in Figure 11 is example with payment services, and the communication means between portable terminal 21 and the background server 4 is set forth in detail.
Shown in figure 11, step S1100~step 1120 is similar with step S1000~step 1020 of Figure 10.Comprise payment information in the two-dimension code 61, the bank card type of for example supporting etc., in step S1110, two-dimension code 61 is printed on the sales catalogue or special payment handbook in shop.
In step S1125, resolve coded message, portable terminal 21 from the database 45 of background server 4, extract stored and payment related information, and it is presented on the display screen of portable terminal 21, check for the user.This amount of money of paying ofinput unit 216 inputs through portable terminal 21.
Step S1130~step 1145 is similar with S665~step 675 of Fig. 6, and background server 4 is paid with paying server 8 common completion.
In step S1150, after paying successfully, background server 4 generates two-dimension code 62.Include the payment information of successful in the two-dimension code 62, two-dimension code 62 preferably also comprises the user profile (but and nonessential comprising) of portable terminal 21.
In step S1155, background server 4 is sent to portable terminal 21 with two-dimension code 62, as the successful voucher of payment.
Certainly, the staff in shop can discern two-dimension code 62 through two-dimension code recognition device 9, whether pays success with checking.As another embodiment of the present invention, background server 4 also can send a hyperlink to the staff's in shop portable terminal.This staff clicks and opens hyperlink, the information that two-dimensional code display 62 is comprised on the screen of this staff's portable terminal.Correct like information, verify then that successfully the staff in shop can be sure of to have paid success.
Through the method for execution mode shown in Figure 11, the POS machine can be cancelled in the shop, and through two-dimension code 61 realize payment (from portable terminal 21 directly withhold the related bank card).After paying successfully, portable terminal 21 can be received the voucher that payment is successful, also is two-dimension code 62.Whole payment process is efficient and convenient, and Information Security is high.Portable terminal 21 is received two-dimension code 62, and the payment that is equivalent to after the POS machine is swiped the card, to obtain is signed on bar; Discern two-dimension code 62 through two-dimension code recognition device 9, the staff who is equivalent to the shop identifies signature.
Figure 12 is the structured flowchart of second execution mode of service provider system 1 of the present invention.Service provider system 1 comprises portable terminal 22 and service providing device 10, and portable terminal 22 is connected with the interface of service providing device 10 through portable terminal 22.
The interface of portable terminal 22 can be storage card slot, and 10 of service providing device correspondingly are the SD card that reservation service can be provided.The interface of portable terminal 22 can be USB interface, and 10 of service providing device correspondingly are the USB device that reservation service can be provided.The interface of portable terminal 22 can be the SIM slot, and 10 of service providing device correspondingly are the SIM that reservation service can be provided.The interface of portable terminal 22 can be wireless communication interfaces such as infrared interface or blue tooth interface, and 10 of service providing device correspondingly are infrored equipment that reservation service can be provided or bluetooth equipment etc.This execution mode is to the not restriction of interface of portable terminal 22, and the interface of portable terminal 22 all is applicable to this execution mode arbitrarily.
Portable terminal 22 among Figure 12 is identical with the portable terminal 22 of Fig. 3, all comprises control unit 221, camera 222, decoder 223, coded message resolution unit 224, transmission/receiving element 225,input unit 226 and display unit 227.Service providing device 10 comprises transmission/receiving element 100, and being used for receiving service from portable terminal 22 provides request message and to portable terminal 22 service is provided; Also comprise two-dimension code generation unit 101, be used to generate two-dimension code 62.Service providing device 10 builds are small and exquisite, and the user can carry.When the user need provide service, can take out service providing device 10, be connected with portable terminal 22.This execution mode is compared with the execution mode that needs background server 4 of front, on service provides, has higher independence.In the execution mode in front, because background server 4 and portable terminal 21,22 are connected through wireless network, so, under the situation that does not have wireless network or wireless network signal difference, background server 4 can not provide service for portable terminal 21,22.But service providing device 10 is not having service to be provided whenever and wherever possible under the situation of wireless network yet.
The flow chart of first execution mode of the method that Figure 13 communicates between portable terminal 22 and service providing device 10 for employing bar code image of the present invention.The difference of Figure 13 and Figure 10 is, is service to be provided and to be generated two-dimension code 62 by service providing device 10 in Figure 13, in Figure 10, service is provided and is generated two-dimension code 62 by background server 4.In addition, service providing device 10 provides service separately, does not need the participation of external server 5.
In this execution mode, generate two-dimension code 62 by service providing device 10, but the present invention is not limited to this, two-dimension code 62 also can be generated by portable terminal 22.
In addition, not needing step S1005 among Figure 13, also is that portable terminal 22 need not send log-on message through wireless network.But the user of portable terminal 22 must sign an agreement with the supplier of service providing device 10, user profile is offered the supplier of service providing device 10.At present, providing through written of this user profile provides.For example, service providing device 10 is transportation cards, and then the supplier is a public transport company.Again for example, service providing device 10 is SIMs, and then the supplier is mobile operator.Certainly, this execution mode is not got rid of in the future providing of user profile and can be transmitted through wireless network.
The flow chart of second execution mode of the method that Figure 14 communicates between portable terminal 22 and service providing device 10 for employing bar code image of the present invention.The difference of Figure 14 and Figure 11 is, is to pay and generate two-dimension code 62 by service providing device 10 in Figure 14, in Figure 11, is paid by background server 4 and paying server 8, and generates two-dimension code 62 by background server 4.Further, not needing step S1105 among Figure 14, also is that portable terminal 22 need not send log-on message through wireless network.
Through the method for execution mode shown in Figure 14, the POS machine can be cancelled in the shop, and realizes payment (from service providing device 10, directly withholing) through two-dimension code 61.After paying successfully, portable terminal 22 can be received the voucher that payment is successful, also is two-dimension code 62.Whole payment process is efficient and convenient, and Information Security is high.
The communication means of this execution mode can be obstructed station server 4 later, only can for example accomplish in portable terminal 22 this locality buy, the service of payment etc.Like this, even under the situation that does not have wireless network or wireless network signal difference, service providing device 10 also can provide service whenever and wherever possible.
Figure 15 is the flow chart of the 8th execution mode of the method that between portable terminal and background server, communicates of employing bar code image of the present invention.
In step S1500, the user of portable terminal 21 imports username and password, registers the user of background server 4 as, and background server 4 is stored users' log-on message, and sends the message that succeeds in registration to portable terminal 21.
In step S1505, background server 4 is encoded the merchandise news of commodity, generates two-dimension code 61 and hyperlink 71 corresponding to merchandise news, and merchandise news is stored in the database 45.Two-dimension code 61 has all comprised merchandise news with hyperlink 71, and the user opens hyperlink 71 and extracts merchandise news through two-dimension code 61 being taken pictures or clicking.
In step S1510, background server 4 directly is sent to portable terminal 21 with the two-dimension code 61 of commodity with hyperlink 71, and the user of portable terminal 21 is the recommendation side of commodity.As another embodiment of the present invention, background server 4 also can be published to the two-dimension code 61 of commodity on the public information platform with hyperlink 71.
In step S1515, the user of portable terminal 22 imports username and password, registers the user of background server 4 as, and background server 4 is stored users' log-on message, and sends the message that succeeds in registration to portable terminal 22.
In step S1520 and step S1525, click and open hyperlink 71, extract merchandise news according to hyperlink 71 from background server 4, and be presented on the display screen of portable terminal 21, check for the user.As another embodiment of the present invention, also can take pictures and decode the two-dimension code 61 of commodity, to extract merchandise news from background server 4 through the camera that is arranged in the portable terminal 21.
In step S1530, want to recommend these commodity like the user of portable terminal 21, then the user profile with portable terminal 21 is sent to background server 4.As another embodiment of the present invention, also can the user profile of merchandise news and portable terminal 21 be sent to background server 4 together.
In step S1535, background server 4 combines the user profile of merchandise news with portable terminal 21, generates two-dimension code 62 and hyperlink 72.Two-dimension code 62 makes two-dimension code 62 and hyperlink 72 and portable terminal 21 have corresponding relation with the user profile of the portable terminal 21 that hyperlink 72 is comprised, and portable terminal 21 is closely related with two-dimension code 62 and hyperlink 72 as the information of recommendation side.
In step S1540, background server 4 can contact part with the user that two-dimension code 62 and hyperlink 72 are published to portable terminal 22, also is that portable terminal 21 is recommended commodity as recommendation side.
In step S1545, two-dimension code 62 row are taken pictures through the camera that is arranged in the portable terminal 22.
In step S1550, the two-dimension code 62 that portable terminal 22 decoding photographs is to obtain corresponding to the coded message of merchandise news with corresponding to the coded message of the user profile of portable terminal 21.
The step S640 of step S1545~S1590 and Fig. 6~S685 is similar, and portable terminal 22 is taken pictures, decode two dimensional codes 62, extracts merchandise news and accomplishes purchase and payment, and background server 4 is that portable terminal 21 calculates deduction.As another embodiment of the present invention, also can click and open hyperlink 72 and extract merchandise news.
In this execution mode, have only portable terminal 21 these recommendation sides, but the present invention is not limited to this, a plurality of recommendation sides can be arranged and repeatedly generate two-dimension code and hyperlink.For example; Total 21,22,23 3 recommendation sides of portable terminal; The two-dimension code 61 and the hyperlink 71 that generate for the first time comprise merchandise news; Two-dimension code 62 and the hyperlink 72 that generate the second time comprises the user profile of merchandise news and portable terminal 21, and two-dimension code 63 and the hyperlink 73 that generates for the third time comprises the user profile of merchandise news and portable terminal 21,22, and the two-dimension code 64 and the hyperlink 74 of the 4th generation comprises the user profile of merchandise news and portable terminal 21,22,23.Certainly, because background server 4 all has record for each step and the object of method, two-dimension code and hyperlink also can only comprise the information of the recommendation side of direct recommendation.For example; The two-dimension code 61 and the hyperlink 71 that generate for the first time comprise merchandise news; Two-dimension code 62 and the hyperlink 72 that generates for the second time comprises the user profile of merchandise news and portable terminal 21; Two-dimension code 63 and the hyperlink 73 that generates for the third time comprises the user profile of merchandise news and portable terminal 22, and the two-dimension code 64 and the hyperlink 74 of the 4th generation comprises the user profile of merchandise news and portable terminal 23.After the commodity purchasing success, background server 4 is deducted a percentage for a plurality of recommendation sides according to predefined deduction rule.
As another embodiment of the present invention, the order of step S1500 and step S1515 does not have strict restriction, only need portable terminal 21 and 22 pairs of two-dimension codes or hyperlink operate before completion get final product.
In this execution mode, hyperlink 71 and 72 can be the text of hyperlink, also can be picture, video etc., only need be anyly can comprise merchandise news and extraction merchandise news that can triggering following, the link of buying behavior gets final product.
Through the method for embodiment shown in Figure 15, commodity can recommended or buy in recommendation side and purchaser easily.Because two-dimension code need be taken pictures; Then portable terminal and two-dimension code must be independently; For the two-dimension code of the portable terminal inside (two-dimension code that sends of note for example; Perhaps background server sends to the two-dimension code at the client software interface of portable terminal installation, perhaps browses the webpage with two-dimension code through portable terminal), portable terminal then can not be taken pictures and decode.In this embodiment, background server 4 generates two-dimension code and hyperlink, even two-dimension code and hyperlink are inner at portable terminal, portable terminal still can be opened hyperlink through click and realize recommending or buying.
As preferred embodiments of the present invention, the user of portable terminal 21,22 can certainly not carry out user's registration through portable terminal 21,22.For example can pass through personal computer, for example desktop computer, notebook are accomplished user's registration.Certainly, this desktop computer or notebook must be communicated by letter with background server 4.
As another embodiment of the present invention, secondary or the technical scheme that repeatedly generates two-dimension code also can be applicable in the recreation.For example, step 1, game user A generate two-dimension code 61 for the first time and two-dimension code 61 are published in the webpage of recreation, and two-dimension code 61 comprises the attribute (oxygen element) of game user A self;
Step 2, game user B (its attribute is a protium) are on the basis of two-dimension code 61, and secondary generates new two-dimension code 62, and two-dimension code 62 comprises synthetic (the water element) of the attribute of game user A and game user B.
Further, game user C can be repeatedly time generates two-dimension code 63 on the basis of two-dimension code 62, comprises attribute synthetic of user A, B, C in the two-dimension code 63.The number of times that two-dimension code generates is unqualified, arbitrarily time generation two-dimension code.Certainly, the recreation publisher also can be provided with the attribute in the recreation arbitrarily.
Thus, the technical scheme that two-dimension code more than 62 time the generates basis of social gaming that becomes a reality, thus realize that Internet of Things is in real-life application.
The flow chart of the 9th execution mode of the method that Figure 16 communicates between portable terminal 21 and background server 4 for employing bar code image of the present invention.
Shown in figure 16, at step S1600, generate two-dimension code 61 according to predetermined coding rule by two-dimension code generating apparatus 7.According to the service that background server 4 is provided, the information that service is relevant generates corresponding codes information according to predetermined coding rule, again this coded message is generated corresponding two-dimension code 61.Except information on services, also include web page interlinkage information, for example in the two-dimension code 61WWW.O2OBUY.COM/123456
In step S1605, the user who two-dimension code 61 is published to portable terminal 21 can contact part.
In step S1610, the user registers the user of background server 4 as through portable terminal 21, background server 4 storage users' log-on message, and send the message that succeeds in registration to portable terminal 21.
In step S1615, two-dimension code 61 is taken pictures through the camera that is arranged in theportable terminal 2.
In step S1620, the two-dimension code 61 that portable terminal 21 decodings photograph is to obtain the coded message corresponding to information on services.
In step S1625; Portable terminal 21 is resolved coded message; Judge whether two-dimension code 61 generates (comprising web page interlinkage information in the two-dimension code 61) according to predetermined coding rule, judge that promptly two-dimension code 61 is 7 generate or other device generations of two-dimension code generating apparatus.Generate if two-dimension code 61 is two-dimension code generating apparatus 7, then portable terminal 21 can ask to obtain the service that background server 4 provides.Do not generate if two-dimension code 61 is not a two-dimension code generating apparatus 7, then portable terminal 21 sends web-page requests message to a certain web browser, and this web browser is sent to portable terminal 21 with corresponding webpage, and is presented on the screen of portable terminal 21.Do not generate if two-dimension code 61 is not a two-dimension code generating apparatus 7, after being connected to corresponding webpage WWW.O2OBUY.COM, the method for this embodiment is no longer carried out.
In step S1630, resolve coded message, portable terminal 21 extracts the information on services of being stored the database 45 from background server 4, and will be presented on the display screen of portable terminal 21 with the relevant information of service, checks for the user.
In step S1635, portable terminal 21 provides request message to background server 4 services of sending, and with request background server 4 service is provided.Provide request message to comprise the information of the unique identification portable terminal 21 of ability at least.
In step S1640, background server 4 provides the content of request message to portable terminal 21 service to be provided according to service.In this embodiment, background server 4 and external server 5 collaborative works are to provide service to portable terminal 21.
In the two-dimension code of prior art, the two-dimension code that has only comprises web page interlinkage information, and the two-dimension code that has only comprises information on services.In this execution mode, two-dimension code 61 had both comprised web page interlinkage information, comprised information on services again.Predetermined coding rule also correspondingly comprises the coding rule to web page interlinkage information coding.
More than describe preferred embodiment of the present invention in detail.Should be appreciated that those of ordinary skill in the art need not creative work and just can design according to the present invention make many modifications and variation.Therefore, the technical staff in all present technique field all should be in the determined protection range by claims under this invention's idea on the basis of existing technology through logical analysis, reasoning or the limited available technical scheme of experiment.