A kind of Intelligent logistics method and system based on Third-party payment shopping online
Technical field
The present invention relates to the fields such as internet security, ecommerce, online payment and Intelligent logistics dispensing, the present invention is based on domestic Third-party payment platform, relate to based on the B/S framework (i.e. browser/server framework) of Third-party payment platform, inner realization and transaction data processing method, the logistics information based on certain Third-party payment transaction platform can be integrated, safety dispensing goods and fast replacing of goods are provided support, particularly a kind of Intelligent logistics method and system based on Third-party payment shopping online.
Background technology
Nowadays E-Payment, online transaction have become the important modes of payments of one of people's daily life gradually, and the trend that proportion increases gradually is had compared with the modes of payments under traditional wire, logistics security problem wherein, more and more be taken seriously, because the checking mechanism of logistics bill or receipts list is strict not in existing commercial field, the generation that result in the unsafe incidents of Express Logistics aspect is more and more frequent.
The shopping online basic framework based on Third-party payment run in Current commercial field comprises following entity:
Buyer's browser: merchant website can be linked and browse commodity and place an order, and Third-party payment platform can be linked carry out payment for goods and to remit money process, buyer needs respectively in trade company, third-party platform registered client information;
Merchant website with third party's interface: be a website having independent domain name, and be integrated with the special purpose interface of Third-party payment platform distribution, and will in third-party registration trade company's account, for receiving the payment for goods shifted after client receives, obtain a key MKey for digital signature simultaneously; Wherein, the function of Third-party payment platform interface: constructing variable: trade company, after the request of placing an order receiving buyer, before third-party platform is submitted in the order request of remitting money, needs the form order data requires according to third party to carry out parametric configuration; Data receiver: allow merchant website to receive the message informing of third-party platform with synchronous or asynchronous system, the third-party data of interface, carry out data verification, and result is informed merchant website with the sequence information in more new database;
Third-party payment platform: contract with each big bank, can remit money third party's account from bank with the client after ensureing registration, also there is oneself independently domain name, the remitting money request of order that trade company submits to can be processed, client or trade company can be met and log in and inquire about detailed Transaction Information.In net purchase, play the effect of a guarantee transaction, realize the task that in online transaction, credit is safeguarded; Third party can be selected when buyer pays the bill to pay the bill, payment for goods is temporarily stored in third party's account, then notify that trade company can deliver by third party, buyer receive the goods of trade company and satisfied to goods after reinform third party payment for goods be transferred to trade company.
Mode of receiving after existing buyer uses Third-party payment to carry out shopping online, has these shortcomings:
Buyer is unsatisfied with commodity, when requiring goods return and replacement, needs manual contact seller and logistics company to carry out goods return and replacement; In the online shopping mall using third-party logistics (third-party logistics: the not one's own logistics distribution system of logistics distribution mode that online shopping mall uses), the particularly online shopping mall of C2C (interindividual ecommerce) class, after buyer receives, can not be reflected in time in merchant website system, Third-party payment platform can not obtain the information that goods is sent in time; Logistics information is at random, is dispersed in the place such as merchant website, third-party logistics, and not only logistics security can not be guaranteed, nor can carry out unified supervision to logistics information; In the transaction flow of some ecommerce, the after sale service provided for buyer after buyer finally receives is not in place: buyer also needs to contact logistics company voluntarily except needs are linked up except goods return and replacement address information with seller.Buyer demonstrates in use after sale service the one side wasted time and energy, its basic reason is exactly the existing shopping online architecture design based on Third-party payment platform, do not consider goods return and replacement service after sale, whether the goods that merchant website or Third-party payment platform can not obtain buyer in the very first time is sent to safely, must wait for that buyer confirms to receive or time of the receiving time-out of Third-party payment regulation.
Patent of invention " application system in conjunction with net purchase and logistics ", a kind of application system in conjunction with net purchase and logistics of this disclosure of the invention, it comprises a transnational net and claps page system, its mounted a shopping webpage platform with make client considerable depending on and choose purchase; One customer data login system, it is available for users to carry out the customer data such as account registration and login authentication and builds service action; One charging system, it can after client chooses shopping, provides user to check out action do paying, and confirms whether client pays successfully; And a logistics system, it can require that client inputs an addressee money, this addressee money at least include client name and address details for sending article of merchandise object, and the article of merchandise of correspondence can be sent the address of mailbag to correspondence in the mode of mailing in transnational mode of sending by this logistics system after addressee's money input.But foregoing invention thinking mainly achieves a kind of net shooting system, and according to customer information, realize logistics mailing function, and the present invention can realize a kind of on-line shopping system based on Third-party payment, and the intellectuality of logistics receiving and dispatching goods can be realized.
Patent of invention " net purchase managing physical distribution of merchandise device and management method ", a kind of net purchase managing physical distribution of merchandise device and method of this disclosure of the invention, comprise sales platform, join goods platform terminal, join goods electronic label read/write, goods sorting electronic label read/write, outbound management platform terminal, printer, electronic tag, cargo sorting device, this system also comprises hand-held goods and sends electronic tag office terminal with charge free, and hand-held goods is sent electronic tag office terminal with charge free and comprised electronic label read/write, Micro-processor MCV, touch display screen, key-press module.During use, every single goods configuration is had the electronic tag of commodity and client's essential information, and on this basis the process of commodity logistics is operated and managed, goods automatic sorting can be realized, preserve goods sorting, logistics transportation information, automatically complete goods to check, the goods sending process with charge free such as to search at the function.Solve on-line shop and logistics company goods sorting, search, work of sending with charge free easily makes mistakes, the problem that work efficiency is low.But the thinking of foregoing invention discloses goods sorting between a kind of efficient on-line shop and logistics company, searches and dispensing work, and the present invention is on the basis of the on-line shopping system based on Third-party payment, the each third-party logistics company of unified management, realizes based on the physical-distribution intelligent in the net purchase platform of Third-party payment.
Summary of the invention
Not enough for prior art, the present invention proposes a kind of Intelligent logistics method and system based on Third-party payment shopping online.
The invention provides a kind of Intelligent logistics method based on the shopping online of Third-party payment platform, comprising:
Step 1, arranges logistics proxy server, and will increase the interface that connects described logistics proxy server in described Third-party payment platform, by described interface, described Third-party payment platform and described logistics proxy server carry out information transmission;
Step 2, described Third-party payment platform submits to described logistics proxy server placing an order request to, described logistics proxy server according to described in place an order the Shipping Information in asking and information of receiving, choose the logistics side nearest with ship-to and receive;
Step 3, the described request of placing an order is sent to the logistics scanning device of described logistics side by described logistics proxy server, after goods is sent to, the order number mark that the described logistics scanning device scanning buyer provides, and described order number mark is uploaded to described logistics proxy server verify, feedback validation result simultaneously, after being verified, described logistics scanning device feeds back described goods to described Third-party payment platform and described logistics proxy server and sends to successful information, described Third-party payment platform upgrades sequence information, to complete Intelligent logistics.
The described Intelligent logistics method based on the shopping online of Third-party payment platform, described step 2 also comprises logistics side's interface of the integrated described logistics proxy server in logistics side.
The described Intelligent logistics method based on the shopping online of Third-party payment platform, described logistics side registers in described logistics proxy server, and described logistics proxy server is that described logistics side distributes key and logistics side ID.
The described Intelligent logistics method based on the shopping online of Third-party payment platform, described logistics scanning device comprises key from described logistics proxy server and logistics side's server and device id respectively.
The described Intelligent logistics method based on the shopping online of Third-party payment platform, when described logistics scanning device and described logistics side's server communication, after the communication information is signed with described key, the described communication information comprising described device id is sent together with described signature, described logistics side server inquires about the authentication secret of described logistics scanning device according to described device id, described authentication secret is signed to the described communication information, generate new signature, authentication and data integrity validation is carried out by the value contrasting described signature and described new signature.
The present invention also proposes a kind of Intelligent logistics system based on the shopping online of Third-party payment platform, comprising:
Logistics proxy modules is set, for arranging logistics proxy server, to increase the interface that connects described logistics proxy server in described Third-party payment platform, by described interface, described Third-party payment platform and described logistics proxy server carry out information transmission;
Submission places an order request module, submit to described logistics proxy server the request of placing an order to for described Third-party payment platform, described logistics proxy server according to described in Shipping Information in the request of placing an order with to receive information, choose the logistics side nearest with ship-to and receive;
Checking is update module also, for described logistics proxy server, the described request of placing an order is sent to the logistics scanning device of described logistics side, after goods is sent to, the order number mark that the described logistics scanning device scanning buyer provides, and described order number mark is uploaded to described logistics proxy server verify, feedback validation result simultaneously, after being verified, described logistics scanning device feeds back described goods to described Third-party payment platform and described logistics proxy server and sends to successful information, described Third-party payment platform upgrades sequence information, to complete Intelligent logistics.
The described Intelligent logistics system based on the shopping online of Third-party payment platform, the described submission request module that places an order also comprises logistics side's interface of the integrated described logistics proxy server in logistics side.
The described Intelligent logistics system based on the shopping online of Third-party payment platform, described logistics side registers in described logistics proxy server, and described logistics proxy server is that described logistics side distributes key and logistics side ID.
The described Intelligent logistics system based on the shopping online of Third-party payment platform, described logistics scanning device comprises key from described logistics proxy server and logistics side's server and device id respectively.
The described Intelligent logistics system based on the shopping online of Third-party payment platform, when described logistics scanning device and described logistics side's server communication, after the communication information is signed with described key, the described communication information comprising described device id is sent together with described signature, described logistics side server inquires about the authentication secret of described logistics scanning device according to described device id, described authentication secret is signed to the described communication information, generate new signature, authentication and data integrity validation is carried out by the value contrasting described signature and described new signature.
From above scheme, the invention has the advantages that:
When buyer requirements carry out after sale service, quick goods return and replacement can be carried out to goods online, not need phone to contact logistics company; Whether the goods that merchant website or the Third-party payment platform energy very first time obtain buyer is sent to safely; Prevent buyer's arrearage and the situation that seller first delivers; Logistics integration information, ensures logistics security, can provide the service such as quotation, freight charges danger; Based in the shopping online flow process of Third-party payment, can guarantee that correct buyer receives; The application's motion be complete set based on Third-party payment, realize quick goods return and replacement service solution.Be applicable to the large-scale B2C market that there is oneself logistics in Amazon, Jingdone district etc., being applicable to similar Taobao, cat store, sky etc. does not have oneself fixing logistics need by B2C or the C2C market of third-party logistics yet; The framework of existing Third-party payment platform or inner realization need not be changed.Such as Alipay needs the method that this motion integrated provides, integrate the logistics information using Alipay to carry out the transaction of paying the bill, the inside of revising Alipay can not be needed completely to realize, only need to increase a logistics proxy server again and be supplied to courier's receipts and set up the standby terminal device as proxy server; Need to newly increase logistics proxy server in the present invention and increase the terminal device of a proxy server for logistics side, communication between terminal device and agency have employed encryption and digital signature technology, ensure logistics information safety, guarantee accurate delivery, can not invaded person attack, can man-in-the-middle attack be avoided, meet the basic security specifications such as the message integrity of protocol specification, non-repudiation, Authentication Property.
Accompanying drawing explanation
Fig. 1 is overall flow figure of the present invention.
Embodiment
The present invention is based on existing Third-party payment service, by the original service carrying out settlement of transactions of Third-party payment platform and each bank, so the present invention ignores the part that Third-party payment platform and bank realize.
By increasing a logistics proxy server, integrate the logistic resources of each logistics company, and the logistics information of specific indent can be collected by logistics scanning device, according to the logistics information of this order, this order status in real-time update Third-party payment platform, this logistics scanning device, thered is provided by Third-party payment platform, by the logistics distribution goods librarian use of this logistics company, each scanning device identifies the information of this logistics company and logistics personnel, the wireless signal from this proxy server and this logistics company can be received, the feedback result that the request of placing an order (this request of placing an order is provided according to this order number by logistics proxy server) of this logistics scanning device reception logistics company and response logistics are sent to, this logistics scanning device Receiving Agent server to logistics proxy server feedback stream information, provide buyer to hold to should the identity information of order number and merchant website.This logistics proxy server, need an exclusive link channel and connect Third-party payment platform, or this logistics proxy server is under the jurisdiction of this Third-party payment platform, ensure that the logistics information that logistics proxy server is collected can be reflected to payment platform in real time, thus the order status in real-time update payment platform.
This logistics proxy server needs the logistic resources integrating each logistics company, the interface that places an order online of integrated each logistics company, can according to certain order number in Third-party payment platform (information of receiving of order number association vendor information and buyer), Intelligent Matching provides the service of addressee of visiting by the logistics personnel of certain logistics company: to place an order requirement for certain trade company, logistics personnel can be recommended to locate addressee to trade company; For the return of goods requirement of certain order, the logistics information can come according to trade company's delivery, allows specific logistics personnel pickup, allows return of goods goods former road original stream return;
Be below overall flow of the present invention, as shown in Figure 1:
1>. buyer C browses commodity at merchant website M place and places an order, if sign in merchant website M, then enters step 4.If buyer carries out the purchase that places an order under non-Entered state, and proceeds to next step;
2>. merchant website M returns sequence information OI and logs in entrance;
3>. buyer submits log-on message (user name+password) and information of receiving to;
4>. merchant website M gives in merchant website M sequence information OI (comprising descriptive labelling, price and buyer's identification identifier) the payment gateway interface being connected Third-party payment platform G, these parameters of interface process, are configured to meet the parameter that Third-party payment platform G requires: the payment information PI of band digital signature (comprising merchant website transaction id number, merchandise news, the digital signature value sign etc. that encrypts with trade company M key K ey);
5>. Third-party payment platform G receives the solicited message of remitting money sent from merchant website M, verifies the identity of this information determination merchant website M, the integrality of validation of payment information PI.If be verified, for this buyer provides the entrance logging in Third-party payment platform G, show payment information PI to this buyer simultaneously, and allow this buyer C confirm payment;
This buyer C of 6>. is after this payment platform G pays the bill, payment platform G submits to logistics proxy server P the buyer's logistics information associated by this order number OrderId, logistics proxy server P intelligent selection logistics side, flow down single request to this logistics side's exhalation, notify that logistics cargo allocation personnel are to merchant website appointed place addressee by logistics scanning device D;
7>. merchant website M shows merchant website identity MerchantId to logistics scanning device D, logistics scanning device D is according to this merchant website M identity finder order number OrderId to be processed and point out the specifying information (quantity, specification etc.) wanting addressee, completes merchant website M and to deliver matters.Logistics scanning device D feeds back to Third-party payment platform G trade company's information of having delivered by logistics proxy server P, and payment platform G upgrades the state of this this order number OrderId;
This order number of 8>. OrderId state transition is the shipped state of merchant website M, and Third-party payment platform G is the order number mark OrderToken that this order number OrderId generates that a buyer C receives, and sends to buyer C;
9>. express mail is sent to buyer C and is specified ship-to, and buyer shows order number mark OrderToken, logistics scanning device D scanning and carries out identity validation and goods confirmation, completes the matters of receiving of buyer C;
This logistics scanning device of 10>. D feeds back to Third-party payment platform G buyer C information of receiving by logistics proxy server P, Third-party payment platform G upgrades the state of this order number OrderId, if buyer C is satisfied to goods, then this shopping process completes; This logistics scanning device D receives result feedback to logistics side's server user simultaneously, and this logistics order completes.
This buyer C of 11>. logs in this payment platform G, submits goods return and replacement request to and carries out identity validation;
12>. payment platform G is submitted to logistics proxy server P order number OrderId and goods return and replacement application, placed an order to logistics side by logistics proxy server P after this proxy server P inquires and plans single ship-to, and notify that payment platform G upgrades order number OrderId state, the logistics personnel before sending to this order number OrderId goods visit addressee, buyer C needs to show order and identifies well OrderToken to logistics scanning device D, carry out identity validation under line, after having confirmed, buyer C provides goods, completes buyer and to return goods matters;
13>. goods arrives, merchant website M provides identity information MerchantId to logistics scanning device D, logistics scanning device D submits this identity information to proxy server P and payment platform G, after verifying this identity information, upgrade order status, complete merchant website M to receive matters, this buyer C has returned goods, and one time shopping online flow process terminates.Simultaneously logistics scanning device D submits to client to receive information to logistics side's server, and this logistics order completes.If this buyer exchanges goods, flow process skips to 7.
Be below one embodiment of the invention, as follows:
The present invention is based on the online shopping framework basis of Third-party payment, framework is revised a little, to reach the object realizing Intelligent logistics in Third-party payment platform, the present invention needs increase by independently logistics proxy server P (also can depend on Third-party payment platform G); For each logistics cargo allocation staffing logistics scanning device of each logistics side; The interface of integrated this logistics proxy server distribution of each logistics company.
The implementation of the increase described in the present invention or amendment entity, details are as follows respectively.
A: increment stream proxy server P
The function of logistics proxy server P: and Third-party payment platform carries out the data-transformation facility between sequence information, wherein implementation method: the interface increasing a connector stream proxy server in Third-party payment platform G, by this interface, logistics proxy server can provide order number to receive informational function to inquire about buyer to payment platform, provide order number to identify or vendor information to verify the identity of buyer or merchant website; The logistics information of unified each logistics company, realize carrying out according to certain order number the function that intelligence places an order, implementation method: Third-party payment platform can flow down single request to logistics proxy server submission, logistics proxy server is according to the Shipping Information in the logistics request of placing an order and information of receiving, according to the logistics post distribution situation on transmitting-receiving ground, Intelligent Matching logistics company also notifies that suitable logistics personnel visit addressee (according to nearby principle, namely preferentially choose and carry out addressee send part from receiving and dispatching nearest logistics); There is provided the interface being connected to logistics proxy server P to each logistics company, each logistics side this interface integrated, by this interface logistics proxy server can to Intelligent Matching to logistics side place an order online, and order placement information is informed to logistics scanning device.
B: increment scan flow equipment D
Need each logistics cargo allocation staffing logistics scanning device for each logistics side, the function of logistics scanning device D: each logistics scanning device identifies a special logistics company and dispensing person belonging to it, implementation method: each logistics scanning device retains one respectively from key and device id: the PKey of logistics proxy server and logistics company server, PID and SKey, SID, when equipment will communicate with logistics service device owner of cargo logistics company server, after information key is signed, the communication information and signature that comprise ID are together sent, take over party inquires about the key of this equipment according to this ID, sign by the cipher key pair communication information inquired, contrast new and old signature value and carry out authentication and data integrity validation, collect the identity from buyer or merchant website, order number identification information, implementation method: after buyer's payment, this logistics scanning device can obtain the addressee information sent from logistics proxy server or logistics company server, this information comprises the address etc. of addressee, join the identity MID scanning merchant website after goods personnel arrive appointment posting address, and upload this MID to payment platform, payment platform is verified this MID and is wanted the title of addressee to equipment display, quantity and color equal-specification, after merchant website delivery, this logistics scanning device can to payment platform and the successful information of logistics company server feedback addressee, it is shipped to trade company that payment platform can upgrade this order status, this logistics company server can record this logistics order, arrival deliver goods is local, scan the order number mark of receiving that buyer provides, and upload this order number and be identified to logistics proxy server, logistics proxy server verifies this order number mark and feedback validation result, after buyer receives, this equipment can send to successful information to payment platform and logistics company server feedback goods, payment platform can upgrade this order status and receive for buyer.
C: the interface of the logistics proxy server P that is integrated and connected in each logistics company S
The task that the interface that logistics company S is integrated and connected logistics proxy server P will complete is: each logistics company S must register at logistics proxy server P, and obtains the logistics side S key SPKey and ID (SPID) of logistics proxy server P distribution.
Data between logistics company S and logistics proxy server P will complete task below before and after transmitting:
Constructing variable: with the key SPKey of logistics company S, signature sign is encrypted to one-parameter under logistics, and the logistics comprising sign is placed an order parametric configuration into about fixed form, submit to logistics company S, carry out logistics and place an order;
Reception, verification msg: the request of placing an order of logistics company S receiver stream proxy server P.In the solicited message received, the goods information, the Shipping Information that have logistics proxy server P to send and the data such as information of receiving also comprise signing messages, and logistics company uses key SPKey to carry out verifying that this signs, and complete single command under logistics.