A kind of third party based on locker authorizes empty van to use system and method
Technical field
The present invention relates to technical field is collected in a kind of express delivery, more specifically to a kind of third party based on locker authorizes empty van to use system and its authorize empty van using method.
Background technology
Intelligent express delivery locker is one and can be identified article (express mail) based on Internet of Things, temporary, the equipment of monitoring and management.Intelligent express delivery drop-off box system is constituted together with PC server.PC server can carry out unitized management (such as the information of express delivery locker, the information of express mail, information of user etc.) to each express delivery drop-off box of the system, and carry out confluence analysis process to various information.
Current locker realizes part cast, pickup function, and in use, some personal or express companies have exclusive cell, there will be empty van in individual or company's hand, and many lockers have reservation function, i.e. postman when express delivery is delivered now, can preengage an empty van.If these empty vans are not used, waste has been resulted in, and has wanted inconvenience also to be brought using the people of cell to other.
The content of the invention
In order to overcome defect of the prior art, the invention provides a kind of third party based on locker authorizes empty van to use system and its authorize empty van using method, empty van can be authorized to use by third party on line, after carrying out empty van delivery use under licensee's line, with the tracking information for authorizing empty van to use so that empty van can carry out turnover in time and effectively improve capacity utilization.
For solving deficiency of the prior art, the present invention is achieved through the following technical solutions:
A kind of third party based on locker authorizes empty van to use system, it is characterised in that:Business and server are authorized including locker, intelligent terminal, third party, locker is used for depositing the empty van to be used of user, intelligent terminal authorizes empty van to use result using the mandate empty van of request and the reception server feedback for being sent with user orientation server, third party authorizes business to provide the information for obtaining that the empty van for authorizing uses people to server, and server is used for processing the operation for authorizing empty van to use.
Empty van using people in locker if any empty van to be used, empty van authorizes business to obtain using people by third party to authorize empty van to use people's information, and completes empty van using treating Authorized operation by server;After mandate, licensee takes correspondence express mail away to locker.
Empty van to be used is that, with empty van right to use cell, empty van licensee can carry out delivery use to empty van by line under type.
The server is at least provided with authentication module, cell information module and server database;
Authentication module, for intelligent terminal interactive user profile, for verifying whether user profile legal;
Cell information module, calls and updates the cell information in server database for intelligent terminal interactive cell information and empty van using authorization message is treated;
Server database, authorizes business's information for storing site information, cell information, user profile and third party.
The locker is provided with cell information module and locker database;Locker database is used for storing cell information, authorized user's numbering;Cell information module for server interaction empty van using treating authorization message and for updating the information in locker database.
For said system, the server is additionally provided with third party's authorization module, third party's authorization module is used for authorizing the information of business and empty van using authorization message is treated respectively with intelligent terminal, locker interaction third party, and the third party being additionally operable in invoking server database authorizes business's information.
The locker database is used for storing cell information, authorized user's numbering and third party's mandate business's information;The cell information module of locker for server interaction empty van using treat authorization message and for update the cell information in locker database, authorized user numbering and third party authorize business's information.
The site information includes number node, site title.
Cell information in the server database include number node, cell numbering, cell specification, using people numbering, express mail numbering, cell state.
Cell information in the locker database include number node, cell numbering, cell specification, using people numbering, express mail numbering, cell state.
The user profile includes Customs Assigned Number, user cipher, User Status.In specific implementation process, logging in the user profile for using can only include user account, user cipher, it is also possible to including the other information of user.
The third party authorizes business to include authorizing business's numbering, authorize business's title, authorize business's state, authorization service interface.
The intelligent terminal can be the intelligent electronic devices such as mobile phone, panel computer, desktop computer, locker.
Third party for said system authorizes empty van using method, comprises the steps:
A, user are input into identity information by intelligent terminal and are logged in, and identity information is sent to server, verify by authentication module whether the identity information of user is legal;Next step is carried out if legal;If illegal, user re-enters identity information and verifies;
B, the empty van cell information to be used for for successful user is logged in, retrieving the user from server database, cell information empty van to be used is sent to the intelligent terminal of user by cell information module;
C, user select empty van to be used, input authorized user's numbering to confirm to authorize according to the empty van cell information to be used that intelligent terminal for reception is arrived;Then, empty van is sent to the cell information module of server using treating authorization message by intelligent terminal;
D, the cell information module of server receive empty van using after authorizing, and empty van is sent to the cell information module of correspondence locker using treating authorization message;
It is authorized user's numbering that E, the cell information module of locker receive empty van using the use people numbering for after authorization message, updating correspondence cell in locker database;Use the cell information module for successful information being authorized back to server after authorizing success and by empty van;
F, the cell information module of server receive empty van using authorizing after successful information, and the use people numbering for updating correspondence cell in server database is authorized user's numbering;Server notifies that licensee comes pickup;Server sends empty van by cell information module to intelligent terminal and uses license confirmation information;
G, intelligent terminal for reception confirmation, and point out empty van use to authorize successfully.
Empty van using treat authorization message include number node, cell numbering, authorized user numbering, empty van using authorize successful information also include number node, cell numbering, authorized user numbering, empty van using treat authorization message with it is corresponding authorize empty van use information in number node, cell numbering, authorized user numbering it is consistent.
For the third party of the system for being provided with third party's authorization module authorizes empty van using method, comprise the steps:
A, user are input into personal log-on message by intelligent terminal, and personal log-on message is sent to the authentication module of server, and whether checking user identity is legal;Next step is carried out if legal, if illegal, user re-enters personal log-on message and verifies;
B, the empty van cell information to be used for for successful user is logged in, retrieving the user from server database, cell information empty van to be used is sent to the intelligent terminal of user by cell information module;Meanwhile, third party being retrieved from server database and authorizing business's information, the intelligent terminal of user is sent to by third party's authorization module;
C, user authorize business's information to select empty van to be used, third party to authorize business according to empty van cell information to be used that intelligent terminal for reception is arrived, third party, and empty van is sent to third party's authorization module of server using treating authorization message then;
D, third party's authorization module of server receive empty van using after authorization message, the cell information of the service interface of business, correspondence cell is authorized by server data library searching correspondence third party, is authorized input information to be sent to the authorized third party of correspondence using third party empty van by third party's authorization module and is authorized business;
E, third party are authorized business to receive empty van and are authorized after input information using third party, calculate authorized user's numbering, are generated empty van using third party's mandate output information, and are authorized output information to give third party's authorization module of server using third party empty van;
F, third party's authorization module of server are received empty van and are authorized after output information using third party, and authorize output information to be sent to the cell information module of correspondence locker using third party empty van;
G, the cell information module of locker receive empty van using after authorization message, the use people numbering of correspondence cell in locker database is updated to into authorized user's numbering, empty van is represented using authorizing successfully, and then empty van is used the cell information module of locker the cell information module for successful information being authorized back to server;
H, the cell information module of server receive empty van using authorizing after successful information, and the use people numbering for updating correspondence cell in server database is authorized user's numbering;Server sends empty van by cell information module to intelligent terminal and uses license confirmation information;Server authorizes business to send empty van by third party's authorization module to third party and uses license confirmation information;
I, intelligent terminal for reception confirmation, and point out empty van use to authorize successfully;Third party authorizes business to receive confirmation, and points out empty van use to authorize successfully.
The intelligent terminal of user is sent to the empty van of server third party's authorization module includes number node, cell numbering, authorized user's numbering using treating authorization message;The cell information retrieved from server database is included number node, cell numbering, cell specification, is numbered using people;Third party authorizes the empty van that business is sent to third party's authorization module of server to authorize output information to include that number node, cell numbering, authorized user's numbering, third party authorize business to number using third party;Using mandate successful information, the cell information module of locker includes that number node, cell numbering, authorized user's numbering, third party authorize business to number back to the empty van of the cell information module of server;Wherein, empty van is consistent with the number node in corresponding cell information, cell numbering using authorization message is treated, empty van authorizes business's numbering to use third party to authorize the authorized user's numbering in output information with corresponding relation with empty van using the authorized third party treated in authorization message.
Compared with prior art, the beneficial technique effect brought by the present invention shows:
The present invention compared with prior art, with following Advantageous Effects:
The present invention can meet, there is empty van part cast under line, the requirement of all-the-way tracking on line, information exchange is carried out by intelligent terminal and server, preengaging third party in advance authorizes empty van to use, can need to select different users to authorize empty van to use according to user, occupation mode is very flexible, and can carry out subscription authorization empty van use according to user time;Empty van can also be authorized to use by third party on line, empty van licensee can carry out delivery use to empty van by line under type, with the tracking information for authorizing empty van to use so that empty van can carry out turnover in time and effectively improve capacity utilization.
Description of the drawings
Fig. 1 is the network implementation schematic diagram of the present invention;
Fig. 2 is the framework schematic diagram of the server of the present invention;
Fig. 3 is the framework schematic diagram of the locker of the present invention;
Fig. 4 is that the third party of the present invention authorizes empty van to use system control process figure;
Fig. 5 is that the direct mandate empty van of the present invention uses system flow control figure.
Reference:1 locker, 2 intelligent terminals, 3 third parties authorize business, 4 servers.
Specific embodiment
Embodiment 1
A kind of third party based on locker authorizes empty van to use system, business 3 and server 4 are authorized including locker 1, intelligent terminal 2, third party, locker 1 is used for depositing the empty van to be used of user, intelligent terminal 2 authorizes empty van to use result using the mandate empty van of request and the reception server feedback for being sent with user orientation server 4, third party authorizes business 3 to provide the information for obtaining that the empty van for authorizing uses people to server 4, and server 4 is used for processing the operation for authorizing empty van to use.
Empty van using people in locker 1 if any empty van to be used, empty van authorizes business 3 to obtain using people by third party and authorizes empty van using people's information, and completes empty van using treating Authorized operation by server 4;After mandate, licensee takes correspondence express mail away to locker 1;
Empty van to be used is that, with empty van right to use cell, empty van licensee can carry out delivery use to empty van by line under type.
The server 4 is at least provided with authentication module, cell information module and server database;
Authentication module, for 2 interacting user information of intelligent terminal, for verifying whether user profile legal;
Cell information module, for interacting cell information and empty van using authorization message is treated with intelligent terminal 2, calls and updates the cell information in server database;
Server database, authorizes business's information for storing site information, cell information, user profile and third party.
The locker 1 is provided with cell information module and locker database;Locker database is used for storing cell information, authorized user's numbering;Cell information module for interacting empty van using treating authorization message and for updating the information in locker database with server 4.
Further, the locker database is used for storing cell information, authorized user's numbering and third party's mandate business's information;The cell information module of locker 1 for interact with server 4 empty van using treat authorization message and for update the site information in locker database, cell information, authorized user numbering and third party authorize business's information.
The site information includes number node, site title.
Cell information in the server database include number node, cell numbering, cell specification, using people numbering, express mail numbering, cell state.
Cell information in the locker database include number node, cell numbering, cell specification, using people numbering, express mail numbering, cell state.
The user profile includes Customs Assigned Number, user cipher, User Status.In specific implementation process, logging in the user profile for using can only include user account, user cipher, it is also possible to including the other information of user.
The third party authorizes business 3 to include authorizing business's numbering, authorize business's title, authorize business's state, authorization service interface.
Third party for said system authorizes empty van using method, comprises the steps:
A, user are input into identity information by intelligent terminal 2 and are logged in, and identity information is sent to server 4, verify by authentication module whether the identity information of user is legal;Next step is carried out if legal;If illegal, user re-enters identity information and verifies;
B, the empty van cell information to be used for for successful user is logged in, retrieving the user from server database, cell information empty van to be used is sent to the intelligent terminal 2 of user by cell information module;
C, user select empty van to be used, input authorized user's numbering to confirm to authorize according to the empty van cell information to be used that intelligent terminal 2 is received;Then, empty van is sent to the cell information module of server 4 using treating authorization message by intelligent terminal 2;
D, the cell information module of server 4 receive empty van using after authorization message, and empty van is sent to the cell information module of correspondence locker 1 using treating authorization message;
It is authorized user's numbering that E, the cell information module of locker 1 receive empty van using the use people numbering for after authorization message, updating correspondence cell in locker database;Use the cell information module for successful information being authorized back to server 4 after authorizing success and by empty van;
F, the cell information module of server 4 receive empty van using authorizing after successful information, and the use people numbering for updating correspondence cell in server database is authorized user's numbering;Server 4 notifies that licensee comes pickup;Server sends empty van by cell information module to intelligent terminal 2 and uses license confirmation information;
G, intelligent terminal 2 receive confirmation, and point out empty van use to authorize successfully.
Empty van using treat authorization message include number node, cell numbering, authorized user numbering, empty van using authorize successful information also include number node, cell numbering, authorized user numbering, empty van using treat authorization message with it is corresponding authorize empty van use information in number node, cell numbering, authorized user numbering it is consistent.
For example:Lee's (Customs Assigned Number 13455555555) inhabitation A cells have 1 locker (locker numbering 610091A01);Lee successfully preengages No. 01 big cell to 610091A01 lockers, and server notifies that Lee carries out empty van use to scene;
The cell information of server database and locker database all includes the cell information that 1 express mail numbers the express mail for being 123456789, specially:Number node:610091A01, cell numbering:01st, cell specification:Big cell, numbered using people:13455555555th, cell state:With the empty van right to use.
The user profile of server database and locker database all includes 2 datas of Lee and courier:
Lee's data, Customs Assigned Number:13455555555th, user cipher:XXXXX, User Status:Normally;
Lee is input into identity information (Customs Assigned Number by intelligent terminal (for example, panel computer):13455555555th, user cipher:XXXXX) logged in, identity information is sent to server, verified that the identity information of user verifies legal by authentication module.
Lee being retrieved in server database the empty van right to use successfully being preengage to No. 01 big cell of 610091A01 lockers, the cell information empty van to be used is sent to by the cell information module of server for the intelligent terminal of Lee.
Empty van to be used cell information of Lee according to intelligent terminal for reception to No. 01 cabinet of 610091A01 lockers, selects the empty van to be used of 610091A01 lockers 01, input authorized user numbering 13499996666 to confirm to authorize;Then, the intelligent terminal of Lee by empty van using treating authorization message (number node:610091A01, cell numbering:01st, 13499996666) authorized user's numbering is sent to the cell information module of server.
The cell information module of server receives empty van using after authorization message, and empty van is sent to the cell information module of 610091A01 lockers using treating authorization message;
It is that authorized user's numbering is that the cell information module of 610091A01 lockers receives empty van using the use people numbering for after authorization message, updating No. 01 cell in locker database:13499996666;Using mandate successful information (number node after authorizing success and by empty van:610091A01, cell numbering:01, authorized user's numbering:13499996666) back to the cell information module of server.
The cell information module of server receives empty van using authorizing after successful information, and it is authorized user's numbering i.e. 13499996666 to update the use people numbering that number node is 610091A01, cell numbering is 01 cell in server database;Server notifies that the licensee that authorized user's numbering is 13499996666 comes empty van using delivery;Server sends empty van using treating license confirmation information by cell information module to Lee's intelligent terminal.
The intelligent terminal for reception confirmation of Lee, and point out to authorize empty van to use successfully.
Embodiment 2
Empty van is authorized to use system based on the third party of locker in for embodiment 1, server 4 is additionally provided with third party's authorization module, third party's authorization module is used for authorizing the information of business and empty van using authorization message is treated respectively with intelligent terminal 2, the interaction third party of locker 1, and the third party being additionally operable in invoking server database authorizes business's information.
For the third party of the system for being provided with third party's authorization module authorizes empty van using method, comprise the steps:
A, user are input into personal log-on message by intelligent terminal 2, and personal log-on message is sent to the authentication module of server 4, and whether checking user identity is legal;Next step is carried out if legal, if illegal, user re-enters personal log-on message and verifies;
B, the empty van cell information to be used for for successful user is logged in, retrieving the user from server database, cell information empty van to be used is sent to the intelligent terminal 2 of user by cell information module;Meanwhile, third party being retrieved from server database and authorizing business's information, the intelligent terminal 2 of user is sent to by third party's authorization module;
C, user authorize business's information to select empty van to be used, third party to authorize business according to empty van cell information to be used that intelligent terminal 2 is received, third party, and empty van is sent to third party's authorization module of server 4 using treating authorization message then;
D, third party's authorization module of server 4 receive empty van using after authorization message, the cell information of the service interface of business, correspondence cell is authorized by server data library searching correspondence third party, is authorized input information to be sent to the authorized third party of correspondence using third party empty van by third party's authorization module and is authorized business;
E, third party are authorized business 3 to receive empty van and are authorized after input information using third party, calculate authorized user's numbering, generate empty van and output information is authorized using third party, and authorize output information to give third party's authorization module of server 4 using third party empty van;
F, third party's authorization module of server 4 are received empty van and are authorized after output information using third party, and authorize output information to be sent to the cell information module of correspondence locker 1 using third party empty van;
G, the cell information module of locker 1 receive empty van using after authorization message, the use people numbering of correspondence cell in locker database is updated to into authorized user's numbering, empty van is represented using authorizing successfully, and then empty van is used the cell information module of locker 1 the cell information module for successful information being authorized back to server 4;
H, the cell information module of server 4 receive empty van using authorizing after successful information, and the use people numbering for updating correspondence cell in server database is authorized user's numbering;Server 4 sends empty van by cell information module to intelligent terminal 2 and uses license confirmation information;Server 4 authorizes business to send empty van by third party's authorization module to third party and uses license confirmation information;
I, intelligent terminal 2 receive confirmation, and point out empty van use to authorize successfully;Third party authorizes business to receive confirmation, and points out empty van use to authorize successfully.
The intelligent terminal 2 of user is sent to the empty van of 4 third party's authorization module of server includes number node, cell numbering, authorized user's numbering using treating authorization message;The cell information retrieved from server database is included number node, cell numbering, is numbered using people;Third party authorizes the empty van that business is sent to third party's authorization module of server to authorize output information to include that number node, cell numbering, authorized user's numbering, third party authorize business to number using third party;Using mandate successful information, the cell information module of locker 1 includes that number node, cell numbering, authorized user's numbering, third party authorize business to number back to the empty van of the cell information module of server;Wherein, empty van is consistent with the number node in corresponding cell information, cell numbering using authorization message is treated, empty van authorizes business's numbering to use third party to authorize the authorized user's numbering in output information with corresponding relation with empty van using the authorized third party treated in authorization message.
For example, system and method for the present invention are applied to into empty van buying/selling system, after both sides confirm concluded price, authorize empty van to realize that the empty van right to use is delivered using system by the third party of locker:
The third party of server database authorizes quotient data to preserve 2 datas.
Data 1, power business's numbering:0001st, authorize business's title:Express company A, mandate business's state:Normally, authorization service interface:http://wwww.aaa.com/shouqun.
Data 2, power business's numbering:0002nd, authorize business's title:Express company B, mandate business's state:Normally, authorization service interface:http://wwww.bbb.com/shouqun.
Server database, the user profile of locker database are all stored with following user:
Express company A courier Zhangs, Customs Assigned Number:13455555555th, user cipher AAAA, User Status:Normally.
Express company A courier Wang, Customs Assigned Number:13466666666th, user cipher BBBB, User Status:Normally.
Express company A Lee courier, Customs Assigned Number:13477777777th, user cipher CCCC, User Status:Normally.
Express company B courier Zhengs, Customs Assigned Number:13488888888th, user cipher DDDD, User Status:Normally.
Courier Zheng successfully preengages the empty van right to use to No. 01 big cell of 610091A01 lockers.Now server database, 610091A01 lockers database can all record 1 empty van of Zheng cell data to be used:Number node:610091A01, cell numbering:01st, cell specification:Big cell, numbered using people:13488888888th, cell state:With the empty van right to use.
Zheng sells No. 01 empty van right to use of 610091A01 lockers by express company A empty vans purchase platform and gives express company A, and Zheng needs for the empty van right to use to hand to express company A, and concrete operation step is as follows:
Zheng is input into identity information (Customs Assigned Number by intelligent terminal (such as, mobile phone):13488888888th, user cipher:DDDD) logged in, identity information is sent to server, verified that the identity information of user verifies legal by authentication module.
In server database, the big cell of express mail numbering 610091A01 locker 01 of retrieval Zheng successfully preengages the empty van right to use, and cell information empty van to be used is sent to the intelligent terminal of Zheng by cell information module;Meanwhile, 0001 third party is retrieved from server database authorizes business, 0002 third party to authorize business, be sent to the intelligent terminal with Zheng by third party's authorization module;
Zhang according to intelligent terminal for reception to the big cell of 610091A01 lockers 01 successfully preengage the empty van right to use, 0001,002 third party authorize business's information, Zheng selects the empty van to be used of express mail 610091A01 lockers 01,001 third party to authorize business express company A, empty van is sent to third party's authorization module of server using treating authorization message (the big cell of 610091A01 lockers 01,001 third party authorize business express company A) by Zheng's intelligent terminal.
Third party's authorization module of server receives empty van using after authorization message, and it is http to authorize the service interface of business express company A by server data library searching 001 third party of correspondence:Empty van is authorized input information (the corresponding cell information of 610091A01 lockers 01) to be sent to 001 third party using third party by third party's authorization module and authorizes business express company A by //wwww.aaa.com/shouqun.
001 third party is authorized business express company A to receive empty van and is authorized after input information using third party, recognize that the empty van right to use is 610091A01 lockers, current 001 third party authorizes the postman of business express company A on duty for receiving clerk Wang, so final 001 third party authorizes business express company A output authorized users for the courier Wang of express company A, final 001 third party authorizes business express company A that empty van is authorized output information information (No. 01 cell of 610091A01 lockers using third party, 13466666666) authorized Wang's Customs Assigned Number gives third party's authorization module of server.
After third party's authorization module of server receives the empty van for coming from 001 third party mandate business express company A using third party's mandate output information information, and output information information will be authorized by empty van to be sent to the cell information module of 610091A01 lockers using third party.
The cell information module of 610091A01 lockers is received empty van and is authorized after output information information using third party, the use people numbering of 123456789 express mails correspondence cell in locker database is updated to into the Customs Assigned Number 13466666666 of Wang, authorize successfully, now by empty van, using successful information is authorized, (express mail numbering is 123456789 express mail cell information to the cell information module of 610091A01 lockers, authorized user's numbering of Wang cell information module 13466666666) back to server;
The cell information module of server receives empty van using authorizing after successful information, and in renewal server database, express mail numbering is authorized user's numbering 13466666666 that the use people numbering of 123456789 express mail correspondence cell information is Wang;Server sends empty van by cell information module to the intelligent terminal of Zhang and uses license confirmation information;Server authorizes business express company A to send empty van by third party's authorization module to 001 third party and uses license confirmation information;
The intelligent terminal for reception confirmation of Zhang, and point out to authorize empty van to use successfully;001 third party authorizes business express company A to receive confirmation, and points out to authorize empty van to use successfully.