Third party authorized empty box using system and method based on storage cabinet
Technical Field
The invention relates to the technical field of express delivery collection, in particular to a third-party authorized empty box using system based on a storage cabinet and an authorized empty box using method thereof.
Background
The intelligent express storage cabinet is based on the Internet of things, and can identify, temporarily store, monitor and manage articles (express mails). And the intelligent express delivery box system is formed together with the PC server. The PC server can perform unified management (such as information of express storage cabinets, information of express mails, information of users and the like) on each express delivery box of the system, and perform integrated analysis processing on various information.
The current locker realizes throwing a, gets a function, and in use, some individual or express delivery company have the cell of monopolizing, just have the free box in this individual or company's hand to a lot of lockers all have the reservation function now, and the postman can reserve an free box when posting the express delivery promptly. These empty boxes, if not used, are wasted and inconvenient for others who want to use the compartments.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention provides a third-party authorized empty box using system based on a storage cabinet and an authorized empty box using method thereof.
In order to solve the defects in the prior art, the invention is realized by the following technical scheme:
the utility model provides a third party authorizes empty case use system based on locker which characterized in that: the system comprises a storage cabinet, an intelligent terminal, a third-party authorizer and a server, wherein the storage cabinet is used for storing an empty box to be used of a user, the intelligent terminal is used for sending an authorized empty box use request to the server by the user and receiving an authorized empty box use result fed back by the server, the third-party authorizer provides information of an authorized empty box user for the server, and the server is used for processing operation of authorized empty box use.
If the user of the empty box has the empty box to be used in the storage cabinet, the user of the empty box obtains the information of the authorized user of the empty box through a third-party authorizer and completes the operation of using the empty box to be authorized through the server; and after authorization, an authorized person goes to the storage cabinet to take away the corresponding express item.
The empty box to be used is a box grid with an empty box use right, and an authorized person can deliver the empty box for use through an offline mode.
The server is at least provided with an identity verification module, a cell information module and a server database;
the identity authentication module is used for interacting user information with the intelligent terminal and authenticating whether the user information is legal or not;
the box information module is used for interacting box information with the intelligent terminal and using information to be authorized by an empty box, and calling and updating the box information in the server database;
and the server database is used for storing the website information, the cell information, the user information and the third-party authorized merchant information.
The storage cabinet is provided with a cell information module and a storage cabinet database; the storage cabinet database is used for storing the information of the cells and the numbers of authorized users; the cell information module is used for interacting the information to be authorized for the empty box with the server and updating the information in the locker database.
Aiming at the system, the server is also provided with a third party authorization module which is used for interacting the information of the third party authorizer with the intelligent terminal and the storage cabinet respectively, using the information to be authorized by the empty box and calling the information of the third party authorizer in the server database.
The locker database is used for storing cell information, authorized user numbers and third party authorized merchant information; and the cell information module of the locker is used for interacting the information to be authorized used by the empty box with the server and updating the cell information, the authorized user number and the third party authorizer information in the locker database.
The website information comprises website numbers and website names.
The cell information in the server database comprises a website number, a cell specification, a user number, an express item number and a cell state.
The cell information in the locker database comprises a website number, a cell specification, a user number, an express number and a cell state.
The user information comprises a user number, a user password and a user state. In a specific implementation process, the user information used for login may only include a user account and a user password, or may include other information of the user.
The third party authorized provider comprises an authorized provider number, an authorized provider name, an authorized provider state and an authorized service interface.
The intelligent terminal can be intelligent electronic equipment such as a mobile phone, a tablet computer, a desktop computer and a storage cabinet.
The third party authorized empty box using method for the system comprises the following steps:
A. the user inputs identity information through the intelligent terminal to log in, the identity information is sent to the server, and whether the identity information of the user is legal or not is verified through the identity verification module; if the code is legal, the next step is carried out; if the user is illegal, the user inputs identity information again and verifies the identity information;
B. for the user who successfully logs in, retrieving the information of the empty boxes to be used of the user from the server database, and sending the information of the empty boxes to be used to the intelligent terminal of the user through the box information module;
C. the user selects an empty box to be used according to the information of the empty box to be used box received by the intelligent terminal, inputs the number of the authorized user and confirms authorization; then, the intelligent terminal sends the information to be authorized for the empty box to a box information module of the server;
D. after receiving the information to be authorized for the use of the empty box, the box information module of the server sends the information to be authorized for the use of the empty box to the box information module of the corresponding storage cabinet;
E. after the cell information module of the locker receives the information to be authorized for the use of the empty box, the user number of the corresponding cell in the locker database is updated to be the authorized user number; after the authorization is successful, the information of successful authorization of the empty box use is sent back to the box information module of the server;
F. after the cell information module of the server receives the successful information of the empty box use authorization, the user number corresponding to the cell in the server database is updated to be the authorized user number; the server informs an authorized person of taking the file in the future; the server sends the empty box use authorization confirmation information to the intelligent terminal through the box information module;
G. and the intelligent terminal receives the confirmation information and prompts that the empty box is successfully used and authorized.
The information to be authorized for the use of the empty box comprises a website number, a box number and an authorized user number, the information successful in the authorization for the use of the empty box also comprises the website number, the box number and the authorized user number, and the website number, the box number and the authorized user number in the information to be authorized for the use of the empty box are all consistent with the corresponding information for the use of the authorized empty box.
The third party authorized empty box using method for the system provided with the third party authorized module comprises the following steps:
A. the user inputs personal login information through the intelligent terminal, and the personal login information is sent to an identity verification module of the server to verify whether the identity of the user is legal or not; if the user is legal, the next step is carried out, and if the user is illegal, the user inputs the personal login information again and verifies the personal login information;
B. for the user who successfully logs in, retrieving the information of the empty boxes to be used of the user from the server database, and sending the information of the empty boxes to be used to the intelligent terminal of the user through the box information module; meanwhile, third party authorization merchant information is retrieved from a server database and is sent to the intelligent terminal of the user through a third party authorization module;
C. the user selects an empty box to be used and a third party authorizer according to the information of the empty box to be used and the information of the third party authorizer received by the intelligent terminal, and then the information of the empty box to be used and the information of the third party authorizer are sent to a third party authorization module of the server;
D. after receiving the information to be authorized for the empty box use, a third party authorization module of the server retrieves a service interface corresponding to a third party authorizer and box information corresponding to boxes through a server database, and sends the information input for the empty box use third party authorization to the corresponding authorized third party authorizer through the third party authorization module;
E. after receiving the input information of the empty box using the third party authorization, the third party authorizer calculates the number of the authorized user, generates the output information of the empty box using the third party authorization, and sends the output information of the empty box using the third party authorization to the third party authorization module of the server;
F. after receiving the third-party authorization output information used by the empty box, the third-party authorization module of the server sends the third-party authorization output information used by the empty box to the cell information module of the corresponding storage cabinet;
G. after receiving the information to be authorized for the use of the empty box, the box information module of the storage cabinet updates the user number of the corresponding box in the storage cabinet database to the number of the authorized user to indicate that the use authorization of the empty box is successful, and then the box information module of the storage cabinet sends back the information of the successful use authorization of the empty box to the box information module of the server;
H. after the cell information module of the server receives the successful information of the empty box use authorization, the user number corresponding to the cell in the server database is updated to be the authorized user number; the server sends the empty box use authorization confirmation information to the intelligent terminal through the box information module; the server sends the empty box use authorization confirmation information to a third-party authorization provider through a third-party authorization module;
I. the intelligent terminal receives the confirmation information and prompts that the empty box is successfully used and authorized; and the third party authorizer receives the confirmation information and prompts that the empty box is successfully used and authorized.
The information to be authorized for the empty box to use sent by the intelligent terminal of the user to the server third-party authorization module comprises a website number, a box number and an authorized user number; the cell information retrieved from the server database comprises a website number, a cell specification and a user number; the third party authorizer sends the empty box of the third party authorization module of the server to use the third party authorization output information including the website number, the box number, the authorized user number and the third party authorizer number; the information of successful use and authorization of the empty box of the box information module of the server sent back by the box information module of the storage cabinet comprises a website number, a box number, an authorized user number and a third party authorization provider number; the information to be authorized for the empty box use is consistent with the website number and the box number in the corresponding box information, and the authorized third-party authorizer number in the information to be authorized for the empty box use and the authorized user number in the information output by the empty box use third-party authorization have a corresponding relation.
Compared with the prior art, the beneficial technical effects brought by the invention are as follows:
compared with the prior art, the invention has the following beneficial technical effects:
the invention can meet the requirements of a user on-line authorizing others to obtain the empty box right of use, off-line having an empty box to throw a piece and on-line whole-process tracking, and performs information interaction with the server through the intelligent terminal to reserve the third party to authorize the empty box to use in advance, can select different users to authorize the empty box to use according to the user requirement, has very flexible use mode, and can reserve and authorize the empty box to use according to the user time; the empty box can be authorized to be used by an online third party, an authorized person can deliver the empty box in an offline mode, and tracking information for authorizing the use of the empty box is provided, so that the empty box can be timely recycled, and the utilization rate of equipment is effectively improved.
Drawings
FIG. 1 is a schematic diagram of a network implementation of the present invention;
FIG. 2 is a schematic diagram of the architecture of the server of the present invention;
FIG. 3 is a schematic view of a cabinet frame according to the present invention;
FIG. 4 is a control flow diagram of a third party authorized empty box use system of the present invention;
FIG. 5 is a flow chart of the direct authorized empty box using system of the present invention.
Reference numerals: the system comprises a storage cabinet 1, an intelligent terminal 2, a third party authorizer 3 and a server 4.
Detailed Description
Example 1
A third party authorized empty box using system based on a storage cabinet comprises a storage cabinet 1, an intelligent terminal 2, a third party authorizer 3 and a server 4, wherein the storage cabinet 1 is used for storing an empty box to be used of a user, the intelligent terminal 2 is used for sending an authorized empty box using request to the server 4 by the user and receiving an authorized empty box using result fed back by the server, the third party authorizer 3 provides information of an authorized empty box user to the server 4, and the server 4 is used for processing operation of authorized empty box using.
If the user of the empty box has the empty box to be used in the storage cabinet 1, the user of the empty box obtains the information of the authorized user of the empty box through the third-party authorizer 3 and completes the operation of the empty box to be authorized through the server 4; after authorization, an authorized person goes to the storage cabinet 1 to take the corresponding express item;
the empty box to be used is a box grid with an empty box use right, and an authorized person can deliver the empty box for use through an offline mode.
The server 4 is at least provided with an identity verification module, a cell information module and a server database;
the identity authentication module is used for interacting user information with the intelligent terminal 2 and authenticating whether the user information is legal or not;
the cell information module is used for interacting cell information with the intelligent terminal 2 and using information to be authorized by an empty box, and calling and updating the cell information in the server database;
and the server database is used for storing the website information, the cell information, the user information and the third-party authorized merchant information.
The storage cabinet 1 is provided with a cell information module and a storage cabinet database; the storage cabinet database is used for storing the information of the cells and the numbers of authorized users; the cell information module is used for interacting the information to be authorized for the empty box use with the server 4 and updating the information in the locker database.
Further, the locker database is used for storing cell information, authorized user numbers and third party authorized merchant information; the box information module of the locker 1 is used for interacting the information to be authorized for empty box use with the server 4 and updating website information, box information, authorized user number and third party authorized merchant information in the locker database.
The website information comprises website numbers and website names.
The cell information in the server database comprises a website number, a cell specification, a user number, an express item number and a cell state.
The cell information in the locker database comprises a website number, a cell specification, a user number, an express number and a cell state.
The user information comprises a user number, a user password and a user state. In a specific implementation process, the user information used for login may only include a user account and a user password, or may include other information of the user.
The third party authorizer 3 comprises an authorizer number, an authorizer name, an authorizer state and an authorization service interface.
The third party authorized empty box using method for the system comprises the following steps:
A. the user inputs identity information through the intelligent terminal 2 to log in, the identity information is sent to the server 4, and whether the identity information of the user is legal or not is verified through the identity verification module; if the code is legal, the next step is carried out; if the user is illegal, the user inputs identity information again and verifies the identity information;
B. for the user who successfully logs in, the information of the cells to be used in the empty box of the user is retrieved from the server database, and the information of the cells to be used in the empty box is sent to the intelligent terminal 2 of the user through the cell information module;
C. the user selects an empty box to be used according to the information of the empty box to be used box received by the intelligent terminal 2, inputs the number of the authorized user and confirms authorization; then, the intelligent terminal 2 sends the information to be authorized for the empty box use to a box information module of the server 4;
D. after receiving the information to be authorized for the empty box use, the cell information module of the server 4 sends the information to be authorized for the empty box use to the cell information module corresponding to the storage cabinet 1;
E. after the cell information module of the locker 1 receives the information to be authorized for the use of the empty box, the number of the user corresponding to the cell in the locker database is updated to be the number of the authorized user; after the authorization is successful, the information of successful authorization of the empty box use is sent back to the box information module of the server 4;
F. after the cell information module of the server 4 receives the successful information of the empty box use authorization, the user number corresponding to the cell in the server database is updated to be the authorized user number; the server 4 informs the authorized person to take the piece in the front; the server sends the empty box use authorization confirmation information to the intelligent terminal 2 through the box information module;
G. the intelligent terminal 2 receives the confirmation information and prompts that the empty box is successfully used and authorized.
The information to be authorized for the use of the empty box comprises a website number, a box number and an authorized user number, the information successful in the authorization for the use of the empty box also comprises the website number, the box number and the authorized user number, and the website number, the box number and the authorized user number in the information to be authorized for the use of the empty box are all consistent with the corresponding information for the use of the authorized empty box.
For example: a residential district A of Li Yi (user number 13455555555) has 1 locker (locker number 610091A 01); when a certain pair of 610091A01 storage cabinets of the plum successfully reserve a large box lattice of No. 01, the server informs the certain pair of the plum to go to the site for empty box use;
the cell information of the server database and the locker database both comprise 1 cell information of the express with the express number of 123456789, which specifically comprises the following steps: and (3) mesh point numbering: 610091A01, cell number: 01. and (4) specification of the cell: big case, user number: 13455555555, cell status: has the right of use of the empty box.
The user information of the server database and the locker database comprises 2 pieces of data of Li' er and courier:
leave a certain data, user number: 13455555555, user password: xxxxxx, user status: normal;
when the user logs in by inputting identity information (user number: 13455555555 and user password: XXXXX) through an intelligent terminal (for example, a tablet computer), the identity information is sent to the server, and the identity information of the user is verified to be legal through the identity verification module.
The server database searches for the large box of 610091A01 locker No. 01 of a certain pair of Li's litters to successfully reserve the right to use the empty box, and the information of the to-be-used box of the empty box is sent to the intelligent terminal of the certain Li's litters through the box information module of the server.
According to the fact that an intelligent terminal receives information of a to-be-used cell of an empty box of a No. 01 cabinet of an 610091A01 locker, a to-be-used empty box of a No. 01 locker of a 610091A01 locker is selected, the number of an authorized user is input, 13499996666 is conducted, and authorization is confirmed; then, the intelligent terminal of Li De Li sends the information to be authorized for the use of the empty box (website number: 610091A01, cell number: 01, authorized user number 13499996666) to the cell information module of the server.
The box information module of the server receives the information to be authorized for the use of the empty box, and sends the information to be authorized for the use of the empty box to the box information module of the 610091A01 locker;
610091A01 locker box information module receives the empty box use after the authorization information, the update locker database number 01 box user number for authorized users number: 13499996666, respectively; after the authorization is successful, the information (website number: 610091A01, cell number: 01, authorized user number: 13499996666) of the successful authorization of the empty box use is sent back to the cell information module of the server.
After the cell information module of the server receives the successful information of the empty box use authorization, the user number of the cell with the website number of 610091A01 and the cell number of 01 in the server database is the authorized user number, namely 13499996666; the server notifies the authorized user of 13499996666, the authorized person, to use the delivery in the empty box; and the server sends the information of confirmation of the empty box use to be authorized to the intelligent terminal of the baggage through the box information module.
And receiving the confirmation information by the intelligent terminal of the baggage and prompting that the authorized empty box is successfully used.
Example 2
For the third-party authorized empty box using system based on the storage cabinet in embodiment 1, the server 4 is further provided with a third-party authorization module, and the third-party authorization module is used for interacting information of a third-party authorized provider and information to be authorized for empty box use with the intelligent terminal 2 and the storage cabinet 1, and is further used for calling the information of the third-party authorized provider in the server database.
The third party authorized empty box using method for the system provided with the third party authorized module comprises the following steps:
A. the user inputs personal login information through the intelligent terminal 2, and the personal login information is sent to an identity authentication module of the server 4 to authenticate whether the identity of the user is legal or not; if the user is legal, the next step is carried out, and if the user is illegal, the user inputs the personal login information again and verifies the personal login information;
B. for the user who successfully logs in, the information of the cells to be used in the empty box of the user is retrieved from the server database, and the information of the cells to be used in the empty box is sent to the intelligent terminal 2 of the user through the cell information module; meanwhile, the information of the third party authorized provider is retrieved from the server database and is sent to the intelligent terminal 2 of the user through a third party authorization module;
C. the user selects an empty box to be used and a third party authorizer according to the information of the empty box to be used and the information of the third party authorizer received by the intelligent terminal 2, and then the information of the empty box to be used and the information of the third party authorizer are sent to a third party authorization module of the server 4;
D. after receiving the information to be authorized for the empty box use, a third party authorization module of the server 4 retrieves a service interface corresponding to a third party authorizer and box information corresponding to boxes through a server database, and sends the information input for the empty box use third party authorization to the corresponding authorized third party authorizer through the third party authorization module;
E. the third party authorizer 3 calculates the number of the authorized user after receiving the input information of the third party authorization for the empty box, generates the output information of the third party authorization for the empty box, and sends the output information of the third party authorization for the empty box to the third party authorization module of the server 4;
F. after receiving the third party authorization output information of the empty box, the third party authorization module of the server 4 sends the third party authorization output information of the empty box to the cell information module corresponding to the storage cabinet 1;
G. after receiving the information to be authorized for the use of the empty box, the cell information module of the locker 1 updates the user number of the corresponding cell in the locker database to be the authorized user number to represent that the use of the empty box is successfully authorized, and then the cell information module of the locker 1 sends back the information of the successful use of the empty box to the cell information module of the server 4;
H. after the cell information module of the server 4 receives the successful information of the empty box use authorization, the user number corresponding to the cell in the server database is updated to be the authorized user number; the server 4 sends the empty box use authorization confirmation information to the intelligent terminal 2 through the box information module; the server 4 sends the empty box use authorization confirmation information to a third party authorization provider through a third party authorization module;
I. the intelligent terminal 2 receives the confirmation information and prompts that the empty box is successfully used and authorized; and the third party authorizer receives the confirmation information and prompts that the empty box is successfully used and authorized.
The information to be authorized for the empty box use sent by the intelligent terminal 2 of the user to the third-party authorization module of the server 4 comprises a website number, a box number and an authorized user number; the cell information retrieved from the server database comprises a website number, a cell number and a user number; the third party authorizer sends the empty box of the third party authorization module of the server to use the third party authorization output information including the website number, the box number, the authorized user number and the third party authorizer number; the information of successful use and authorization of the empty boxes of the box information module of the server sent back to the box information module of the storage cabinet 1 comprises a website number, a box number, an authorized user number and a third party authorization provider number; the information to be authorized for the empty box use is consistent with the website number and the box number in the corresponding box information, and the authorized third-party authorizer number in the information to be authorized for the empty box use and the authorized user number in the information output by the empty box use third-party authorization have a corresponding relation.
For example, the system and the method of the invention are applied to an empty box buying and selling system, and after both parties confirm the transaction price, the third party of the locker authorizes the empty box using system to realize the transfer of the empty box using right:
the third party authorizer data of the server database already stores 2 pieces of data.
Data 1, weight quotient number: 0001. name of the authorizer: express company A, state of authorized trader: normal, authorized service interface: http: aa com shoqun.
Data 2, weight quotient number: 0002. name of the authorizer: express company B, state of authorized trader: normal, authorized service interface: http: v/wwwww.bbb.com/shouqun.
The user information of the server database and the locker database are stored with the following users:
express company A express delivery person Zhang a, user number: 13455555555, user password AAAA, user status: and (4) normal.
Express company A express delivery person king, user number: 13466666666, user password BBBB, user status: and (4) normal.
Express company A courier is a Li a, user number: 13477777777, user password CCCC, user status: and (4) normal.
Express company B courier zheng, user number: 13488888888, user password DDDD, user status: and (4) normal.
The courier zheng a pair of 610091A01 locker No. 01 big box successfully reserves the right of using the empty box. At this time, the server database and the 610091A01 locker database record data of 1 empty box to be used in the case: and (3) mesh point numbering: 610091A01, cell number: 01. and (4) specification of the cell: big case, user number: 13488888888, cell status: has the right of use of the empty box.
Zheng through an express company A empty box purchasing platform, selling No. 01 empty box use right of an 610091A01 storage cabinet to the express company A, and Zheng needs to transfer the empty box use right to the express company A, wherein the specific operation steps are as follows:
zhengtong inputs identity information (user number: 13488888888, user password: DDDD) for logging in through an intelligent terminal (such as a mobile phone), the identity information is sent to a server, and the identity information of the user is verified to be legal through an identity verification module.
Searching a courier number 610091A01 of Zhang Zheng in a server database, successfully reserving a large box of No. 01 of a storage cabinet to an empty box using right, and sending information of a box to be used by the empty box to an intelligent terminal of Zhang Zheng through a box information module; meanwhile, a 0001 third-party authorized merchant and a 0002 third-party authorized merchant are retrieved from the server database and are sent to the intelligent terminal used in Zheng through the third-party authorization module;
zhang a third party authorization module which successfully reserves the use right of the empty box and information of a 0001 and 002 third party authorizer according to the large box number 01 of the 610091A01 locker received by the intelligent terminal, Zheng a to-be-used empty box of the selected express 610091A01 locker number 01 and an express company A of a 001 third party authorizer, and Zheng the intelligent terminal sends the to-be-authorized information of the empty box use (the large box number 01 of the 610091A01 locker and the express company A of the 001 third party authorizer) to the server.
After a third party authorization module of the server receives the information to be authorized for empty box use, retrieving a service interface corresponding to 001 third party authorizer express company A as http through a server database: and/wwwww.aaa.com/shouqun, and sending the empty box using third-party authorization input information (the box information corresponding to the 610091A01 locker number 01) to 001 third-party authorizer express company A through a third-party authorization module.
After receiving the input information of the third-party authorization for the empty box use, the 001 third-party authorizer express company A identifies that the empty box use right is 610091A01 locker, and the postman of the 001 third-party authorizer express company A is on duty and is in charge of the consignee, so that the 001 third-party authorizer express company A finally outputs the authorized user as the courier of the express company A, and the 001 third-party authorizer express company A finally transmits the information of the third-party authorization output for the empty box use (610091A01 locker number 01 box, number 13466666666 of the authorized user) to the third-party authorization module of the server.
And the third party authorization module of the server receives the information that the third party authorized by the empty box from the 001 third party authorized merchant express company A outputs the information, and sends the information that the third party authorized by the empty box outputs the information to the cell information module of the 610091A01 locker.
610091A01 storage cabinet grid information module receives the empty box use third party authorization output information, updates the user number of the corresponding grid of the 123456789 express in the storage cabinet database to the King user number 13466666666, the authorization is successful, at this moment, 610091A01 storage cabinet grid information module sends the empty box use authorization success information (express box information with express number of 123456789, authorized user number 13466666666 of King) back to the grid information module of the server;
after the cell information module of the server receives the successful information of the empty box use authorization, the user number of the corresponding cell information of the express with the express number of 123456789 in the server database is updated to be an authorized user number 13466666666 of Wangzhi; the server sends the empty box use authorization confirmation information to a certain intelligent terminal through the box information module; the server sends empty box use authorization confirmation information to a 001 third-party authorizer express company A through a third-party authorization module;
receiving the confirmation information by an intelligent terminal, and prompting that the authorized empty box is successfully used; and the 001 third-party authorizer express company A receives the confirmation information and prompts that the authorized empty box is successfully used.