Method for allocating and managing the use rights of express lockers based on the Internet of Things
Through the Internet of Things platform, recommended express cabinets are screened based on the express delivery address and express cabinet status, and pre-locked, solving the efficiency problem caused by the inability to lock the express cabinet in advance, and improving the efficiency of express delivery and express cabinet use.
Patent Information
- Application Number
- CN202211684572.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-27
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2042-12-27
AI Technical Summary
The existing express cabinet cannot be locked in advance, resulting in the couriers who may find that the express cabinet has been occupied when they arrive, reducing the efficiency of express delivery and unable to improve the efficiency of the express cabinet.
Through the Internet of Things platform, filter and recommend express cabinets that are allowed to be used by couriers based on the express delivery address and the real-time usage status information of express cabinets, and send a use request to them, obtain the usage key and verify it, and adjust the switching status of the express cabinet door. Pre-lock the cabinet box to ensure the effective use rights of the courier.
The efficiency of express delivery and the efficiency of express cabinet use and operation are improved, ensuring that couriers can use express cabinets effectively and avoiding the reduction in efficiency caused by the occupation of express cabinets.
Smart Images

Figure CN116882884B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of Internet of Things management, and in particular to an express cabinet usage authority allocation management method based on the Internet of Things. Background Art
[0002] Express lockers serve as carriers for couriers to deliver express packages, and they are mainly controlled through the Internet of Things platform. During the delivery process, couriers only need to directly operate the express lockers to place the express in one of the lockers, and the Internet of Things platform will simultaneously send corresponding notification messages to the recipient's mobile terminal. Existing express lockers only support face-to-face operations, that is, couriers need to directly operate the express lockers to obtain the right to use the express lockers, and cannot lock the express lockers in advance, so when the courier arrives at the express locker, the express locker has already been occupied and used, which reduces the efficiency of express delivery and cannot improve the efficiency of the use and operation of the express lockers. Summary of the invention
[0003] In view of the defects in the prior art, the present invention provides a method for allocating and managing the use rights of express lockers based on the Internet of Things. According to the express delivery address information, the location information of several express lockers available for use is extracted from the Internet of Things platform, and the express lockers allowed to be used by the courier are determined in combination with the real-time use status information of the express lockers; according to the location information of the express lockers allowed to be used by the courier and the real-time location information of the courier, a use request is sent to the express lockers allowed to be used by the courier through the Internet of Things platform, so as to return the corresponding express locker use key password to the mobile terminal held by the courier; after verifying the express locker use key password, the corresponding express locker is allocated to the mobile terminal. The right to use the express cabinet; according to the historical working status of the express cabinet door of the express cabinet that the courier is allowed to use, the switch status of the express cabinet door is adjusted. It can screen and recommend the express cabinets that the courier is allowed to use based on the express delivery address information and the real-time usage status information of the express cabinet, and send a use request to the express cabinet that the courier is allowed to use through the Internet of Things, so as to pre-lock the express cabinet and ensure the courier's effective use right to the express cabinet. At the same time, according to the historical working status of the express cabinet door of the express cabinet itself, the switch status of the express cabinet door is adjusted to select a suitable cabinet during the use of the express cabinet, thereby ensuring the efficiency of express delivery and improving the use and operation efficiency of the express cabinet.
[0004] The present invention provides a method for allocating and managing the use rights of express lockers based on the Internet of Things, comprising the following steps:
[0005] Step S1, according to the express delivery address information from the mobile terminal held by the courier, extract the location information of several available express lockers from the Internet of Things platform; extract the real-time usage status information of all available express lockers from the Internet of Things platform, so as to determine the express lockers that the courier is allowed to use;
[0006] Step S2, sending a use request to the express locker that the courier is allowed to use through the Internet of Things platform according to the location information of the express locker that the courier is allowed to use and the real-time location information of the courier; and returning a key password for using the express locker to the mobile terminal held by the courier according to the use request;
[0007] Step S3, verifying the express cabinet of the mobile terminal held by the courier using the key password, thereby allocating to the mobile terminal the right to use the express cabinet that the courier is allowed to use;
[0008] Step S4, adjusting the switch state of the express cabinet door according to the historical working state of the express cabinet door of the express cabinet that the courier is allowed to use.
[0009] Furthermore, in step S1, based on the express delivery address information from the mobile terminal held by the courier, the location information of several express lockers available for use is extracted from the Internet of Things platform, including:
[0010] The courier obtains the courier delivery address information based on the result of scanning and identifying the courier barcode with the mobile terminal held by the courier;
[0011] After uploading the express delivery address information to the Internet of Things platform, it is compared with the preset express cabinet distribution location information to obtain the location information of several express cabinets available for use.
[0012] Furthermore, in step S1, after uploading the express delivery address information to the Internet of Things platform, it is compared with the preset express cabinet distribution location information to obtain the location information of several express cabinets available for use, including:
[0013] Based on the express delivery address information, the location information corresponding to all express cabinets whose straight-line distance to the express delivery address is less than or equal to the preset distance threshold is extracted from the preset express cabinet distribution location information, and this is used as the location information of several express cabinets available for use.
[0014] Furthermore, in step S1, the real-time usage status information of all available express lockers is extracted from the Internet of Things platform to determine the express lockers that the couriers are allowed to use, including:
[0015] Extracting the real-time utilization rate of all available express lockers from the Internet of Things platform; wherein the real-time utilization rate refers to the ratio between the number of lockers in the available express lockers that are in an occupied state and the total number of lockers;
[0016] The available express locker with the lowest real-time usage rate is determined as the express locker that the courier is allowed to use.
[0017] Further, in step S2, according to the location information of the express locker that the courier is allowed to use and the real-time location information of the courier, sending a use request to the express locker that the courier is allowed to use through the Internet of Things platform includes:
[0018] Determine the distance between the courier and the express locker that the courier is allowed to use based on the location information of the express locker that the courier is allowed to use and the real-time location information of the courier;
[0019] According to the distance and the average movement speed of the courier, it is estimated that the time required for the courier to move to the location of the courier locker that the courier is allowed to use is located;
[0020] The mobile terminal is used to send a use request to the express cabinet that the courier is allowed to use through the Internet of Things platform; wherein the use request is a request to use the corresponding express cabinet only after the required time has passed.
[0021] Further, in step S2, according to the use request, returning the express locker use key password to the mobile terminal held by the courier includes:
[0022] According to the usage request, a time-sensitive express locker usage key password is returned to the mobile terminal held by the courier; wherein the express locker usage key password is valid only after the required time has passed.
[0023] Further, in step S3, the express cabinet of the mobile terminal held by the courier is verified using a key password, so as to assign the mobile terminal with the right to use the express cabinet that the courier is allowed to use, including:
[0024] When the mobile terminal held by the courier senses the express cabinet that the courier is allowed to use, it is determined whether the key password used by the express cabinet is in a valid state; if so, the mobile terminal is allocated the right to use the express cabinet that the courier is allowed to use through the Internet of Things platform; if not, the mobile terminal is not allocated the right to use the express cabinet that the courier is allowed to use.
[0025] Further, in step S4, adjusting the switch state of the express cabinet door according to the historical working state of the express cabinet door of the express cabinet that the courier is allowed to use includes:
[0026] When the mobile terminal is assigned the right to use the express cabinet that the courier is allowed to use, the historical switch status of the doors of all cabinets contained in the express cabinet that the courier is allowed to use is obtained through the Internet of Things platform, and the switch status of the doors of all cabinets is adjusted according to the historical switch status, and the process is as follows:
[0027] Step S401, using the following formula (1), according to the historical opening and closing states of the doors of all cabinets, determine the aging degree of each cabinet door,
[0028]
[0029] In the above formula (1), H(a) represents the aging degree value of the door of the a-th cabinet; K(a_i) represents the number of attempts to open the door of the a-th cabinet until it is successfully opened during the i-th historical working process; G(a_i) represents the number of attempts to close the door of the a-th cabinet until it is successfully closed during the i-th historical working process; n(a) represents the total number of historical working times of the door of the a-th cabinet, and the cabinet door of the cabinet is considered to have one working process from being successfully opened to being successfully closed;
[0030] Step S402, using the following formula (2), according to the aging degree of the cabinet doors of the cabinet box currently in the idle state, it is determined whether all the cabinet doors of the cabinet box currently in the idle state are severely aged cabinet doors, and when the cabinet doors of the cabinet box currently in the idle state are not all severely aged cabinet doors, the cabinet doors of the cabinet box with a lower degree of aging are preferentially controlled to be opened.
[0031]
[0032] In the above formula (2), L represents the determination value of whether all the doors of the cabinets currently in the idle state are severely aged express cabinet doors; m represents the total number of cabinet doors of the cabinets currently in the idle state; H(e) represents the aging degree value of the cabinet door of the e-th cabinet currently in the idle state calculated by the above step S401; It means that the value of e from 1 to m is substituted into H(e). If all the values satisfy The function value is 1 if there is one or more that does not satisfy Then the function value is 0; A(L=0) means that when L=0, the cabinet door of the A(L=0)th cabinet box in the idle state is preferentially controlled to be opened; It means to substitute the value of e from 1 to m into H(e) and select the one that satisfies The minimum value among the H(e) values, and the e value corresponding to its minimum value;
[0033] Step S403: If all the doors of the cabinets currently in the idle state are severely aged, that is, when L=1, the following formula (3) is used to select the cabinet doors that need to be controlled to be opened according to the number of successful openings and successful closings of the cabinet doors of each cabinet in the idle state in each working process.
[0034]
[0035] In the above formula (3), A(L=1) indicates that when L=1, priority is given to opening the door of the A(L=1)th cabinet in the idle state; G(e_i) indicates the number of attempts to close the door of the eth cabinet currently in the idle state until it is successfully closed during the i-th operation in history; n(e) indicates the number of times the door of the eth cabinet currently in the idle state has been used in the historical operation; It means substituting the value of e from 1 to m into the brackets to obtain the value of e when the minimum value is obtained in the brackets.
[0036] Compared with the existing technology, the express locker usage authority allocation management method based on the Internet of Things extracts the location information of several available express lockers from the Internet of Things platform according to the express delivery address information, and determines the express lockers that the courier is allowed to use in combination with the real-time usage status information of the express lockers; based on the location information of the express lockers allowed to be used by the courier and the real-time location information of the courier, sends a usage request to the express lockers allowed to be used by the courier through the Internet of Things platform, thereby returning the corresponding express locker usage key password to the mobile terminal held by the courier; after verifying the express locker usage key password, allocate the corresponding express locker usage authority to the mobile terminal ; According to the historical working status of the express cabinet door of the express cabinet that the courier is allowed to use, the opening and closing status of the express cabinet door is adjusted. It can screen and recommend the express cabinets that the courier is allowed to use based on the express delivery address information and the real-time usage status information of the express cabinet, and send a use request to the express cabinet that the courier is allowed to use through the Internet of Things, so as to pre-lock the express cabinet and ensure the courier's effective use right to the express cabinet. At the same time, according to the historical working status of the express cabinet door of the express cabinet, the opening and closing status of the express cabinet door is adjusted to select a suitable cabinet during the use of the express cabinet, thereby ensuring the efficiency of express delivery and improving the use and operation efficiency of the express cabinet.
[0037] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings.
[0038] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0040] Figure 1 A schematic diagram of the flow of the express locker usage authority allocation management method based on the Internet of Things provided by the present invention. DETAILED DESCRIPTION
[0041] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0042] See also Figure 1 , is a flow chart of a method for allocating and managing the use rights of express lockers based on the Internet of Things provided by an embodiment of the present invention. The method for allocating and managing the use rights of express lockers based on the Internet of Things comprises the following steps:
[0043] Step S1, according to the express delivery address information from the mobile terminal held by the courier, extract the location information of several available express lockers from the Internet of Things platform; extract the real-time usage status information of all available express lockers from the Internet of Things platform, so as to determine the express lockers that the courier is allowed to use;
[0044] Step S2, sending a use request to the express locker that the courier is allowed to use through the Internet of Things platform according to the location information of the express locker that the courier is allowed to use and the real-time location information of the courier; and returning a key password for using the express locker to the mobile terminal held by the courier according to the use request;
[0045] Step S3, verifying the express cabinet of the mobile terminal held by the courier using the key password, thereby allocating to the mobile terminal the right to use the express cabinet that the courier is allowed to use;
[0046] Step S4, adjusting the switch status of the express cabinet door according to the historical working status of the express cabinet door of the express cabinet that the courier is allowed to use.
[0047] The beneficial effects of the above technical solution are as follows: the method for allocating and managing the use rights of express lockers based on the Internet of Things extracts the location information of several available express lockers from the Internet of Things platform according to the express delivery address information, and determines the express lockers that the courier is allowed to use in combination with the real-time use status information of the express lockers; based on the location information of the express lockers that the courier is allowed to use and the real-time location information of the courier, sends a use request to the express lockers that the courier is allowed to use through the Internet of Things platform, thereby returning the corresponding express locker use key password to the mobile terminal held by the courier; after verifying the express locker use key password, allocates the corresponding express locker use key password to the mobile terminal Permissions; adjust the switch status of the express cabinet door according to the historical working status of the express cabinet door that the courier is allowed to use. It can screen and recommend express cabinets that the courier is allowed to use based on the express delivery address information and the real-time usage status information of the express cabinet, and send a use request to the express cabinet that the courier is allowed to use through the Internet of Things, so as to pre-lock the express cabinet and ensure the courier's effective use authority to the express cabinet. At the same time, it also adjusts the switch status of the express cabinet door according to the historical working status of the express cabinet door itself, selects a suitable cabinet during the use of the express cabinet, ensures the efficiency of express delivery and improves the use and operation efficiency of the express cabinet.
[0048] Preferably, in step S1, based on the express delivery address information from the mobile terminal held by the courier, the location information of several express lockers available for use is extracted from the Internet of Things platform, including:
[0049] The courier obtains the courier delivery address information based on the result of scanning and identifying the courier barcode with the mobile terminal held by the courier;
[0050] After uploading the express delivery address information to the Internet of Things platform, it is compared with the preset express cabinet distribution location information to obtain the location information of several express cabinets available for use.
[0051] The beneficial effect of the above technical solution is: through the above method, the preset express cabinet distribution location information stored in the Internet of Things platform itself and the express delivery address information obtained by scanning and identification are used to quickly screen and obtain the location information of several express cabinets available for use in the vicinity of the express delivery address, thereby realizing accurate positioning of the express cabinet.
[0052] Preferably, in step S1, after uploading the express delivery address information to the Internet of Things platform, it is compared with the preset express cabinet distribution location information to obtain the location information of several express cabinets available for use, including:
[0053] Taking the express delivery address information as a benchmark, the location information corresponding to all express cabinets whose straight-line distance to the express delivery address is less than or equal to the preset distance threshold is extracted from the preset express cabinet distribution location information, and this is used as the location information of several express cabinets available for use.
[0054] The beneficial effect of the above technical solution is: through the above method, based on the straight-line distance between the location of the express cabinet and the express delivery address, the express cabinet with a closer distance is used as the available express cabinet, thus ensuring that the recipient can conveniently pick up the express.
[0055] Preferably, in step S1, the real-time usage status information of all available express lockers is extracted from the Internet of Things platform to determine the express lockers that the couriers are allowed to use, including:
[0056] Extracting the real-time utilization rate of all available express lockers from the Internet of Things platform; wherein the real-time utilization rate refers to the ratio between the number of lockers in the available express lockers that are occupied and the total number of lockers;
[0057] The available express locker with the lowest real-time usage rate is determined as the express locker that the courier is allowed to use.
[0058] The beneficial effect of the above technical solution is: through the above method, based on the real-time utilization rate of all available express lockers, the available express lockers with the lowest real-time utilization rate are determined as the express lockers allowed to be used by couriers, so as to ensure that the express lockers can provide couriers with enough lockers for express delivery.
[0059] Preferably, in step S2, according to the location information of the express locker that the courier is allowed to use and the real-time location information of the courier, sending a use request to the express locker that the courier is allowed to use through the Internet of Things platform includes:
[0060] Determine the distance between the courier and the express locker that the courier is allowed to use based on the location information of the express locker that the courier is allowed to use and the real-time location information of the courier;
[0061] Based on the distance and the average speed of the courier, the time required for the courier to reach the location of the express locker that the courier is allowed to use is estimated;
[0062] The mobile terminal is used to send a use request to the express cabinet that allows the courier to use it through the Internet of Things platform; wherein the use request is a request to use the corresponding express cabinet only after the required time has passed.
[0063] The beneficial effect of the above technical solution is: through the above method, a use request can be sent to the express cabinet in advance when the courier arrives at the location of the express cabinet, so as to pre-allocate the use rights of the express cabinet to the courier and avoid the situation that the express cabinet is fully occupied when the courier arrives at the location of the express cabinet.
[0064] Preferably, in step S2, according to the use request, returning the express locker use key password to the mobile terminal held by the courier includes:
[0065] According to the usage request, a time-sensitive key password for use of the express cabinet is returned to the mobile terminal held by the courier; wherein the key password for use of the express cabinet will be valid only after the required time has passed.
[0066] The beneficial effect of the above technical solution is: through the above method, the mobile terminal held by the courier returns a time-sensitive express cabinet usage key password, which can ensure that the express cabinet usage key password will only take effect after a preset time, thereby realizing delayed acquisition of express cabinet usage rights.
[0067] Preferably, in step S3, the express cabinet of the mobile terminal held by the courier is verified using a key password, so as to assign the mobile terminal with the right to use the express cabinet that the courier is allowed to use, including:
[0068] When the mobile terminal held by the courier senses the express cabinet that the courier is allowed to use, it is determined whether the key password used by the express cabinet is valid; if so, the mobile terminal is assigned the right to use the express cabinet that the courier is allowed to use through the Internet of Things platform; if not, the mobile terminal is not assigned the right to use the express cabinet that the courier is allowed to use.
[0069] The beneficial effect of the above technical solution is: through the above method, the mobile terminal held by the courier is sensed with the express cabinet that the courier is allowed to use. Only when the key password of the express cabinet is valid can the courier be assigned the right to use the express cabinet that the courier is allowed to use, thereby ensuring the safety of the use of the express cabinet.
[0070] Preferably, in step S4, adjusting the switch state of the express cabinet door according to the historical working state of the express cabinet door of the express cabinet that the courier is allowed to use includes:
[0071] When the mobile terminal is assigned the right to use the express cabinet that the courier is allowed to use, the historical switch status of the doors of all cabinets contained in the express cabinet that the courier is allowed to use is obtained through the Internet of Things platform, and the switch status of the doors of all cabinets is adjusted according to the historical switch status. The process is as follows:
[0072] Step S401, using the following formula (1), according to the historical opening and closing states of the doors of all cabinets, determine the aging degree of each cabinet door,
[0073]
[0074] In the above formula (1), H(a) represents the aging degree value of the door of the a-th cabinet; K(a_i) represents the number of attempts to open the door of the a-th cabinet until it is successfully opened during the i-th working process in history; G(a_i) represents the number of attempts to close the door of the a-th cabinet until it is successfully closed during the i-th working process in history; n(a) represents the total number of historical working times of the door of the a-th cabinet, and the door of the cabinet from successfully opening to successfully closing is one working process;
[0075] Step S402, using the following formula (2), according to the aging degree of the cabinet doors of the cabinet box currently in the idle state, it is determined whether all the cabinet doors of the cabinet box currently in the idle state are severely aged cabinet doors, and when the cabinet doors of the cabinet box currently in the idle state are not all severely aged cabinet doors, the cabinet doors of the cabinet box with a lower degree of aging are preferentially controlled to be opened.
[0076]
[0077] In the above formula (2), L represents the determination value of whether all the doors of the cabinets currently in the idle state are severely aged express cabinet doors; m represents the total number of cabinet doors of the cabinets currently in the idle state; H(e) represents the aging degree value of the cabinet door of the e-th cabinet currently in the idle state calculated by the above step S401; It means that the value of e from 1 to m is substituted into H(e). If all the values satisfy The function value is 1 if there is one or more that does not satisfy Then the function value is 0; A(L=0) means that when L=0, the cabinet door of the A(L=0)th cabinet box in the idle state is preferentially controlled to be opened; It means to substitute the value of e from 1 to m into H(e) and select the one that satisfies The minimum value among the H(e) values, and the e value corresponding to its minimum value;
[0078] Step S403: If all the doors of the cabinets currently in the idle state are severely aged, that is, when L=1, the following formula (3) is used to select the cabinet doors that need to be controlled to be opened according to the number of successful openings and successful closings of the cabinet doors of each cabinet in the idle state in each working process.
[0079]
[0080] In the above formula (3), A(L=1) indicates that when L=1, priority is given to opening the door of the A(L=1)th cabinet in the idle state; G(e_i) indicates the number of attempts to close the door of the eth cabinet currently in the idle state until it is successfully closed during the i-th operation in history; n(e) indicates the number of times the door of the eth cabinet currently in the idle state has been used in the historical operation; It means substituting the value of e from 1 to m into the brackets to obtain the value of e when the minimum value is obtained in the brackets.
[0081] The beneficial effects of the above technical solution are as follows: using the above formula (1), according to the historical opening and closing states of the doors of all cabinets, the aging degree of each cabinet door is determined, and then the aging status of each cabinet door is intelligently known through the formula, which is convenient for providing a basis for subsequent control of the cabinet door and can be used as a maintenance basis for maintenance personnel; then using the above formula (2), according to the aging degree of the cabinet door of the cabinet currently in the idle state, it is judged whether all the cabinet doors of the cabinet currently in the idle state are severely aged doors, and when the cabinet doors of the cabinet currently in the idle state are not all severely aged doors, the cabinet doors of the cabinets with lower aging degrees are controlled to be opened first, thereby improving the efficiency of sending and receiving express delivery for recipients and couriers and minimizing user complaints; finally, using the above formula (3), according to the number of successful openings and closings of the cabinet door of each cabinet in the idle state in each working process, the cabinet door of the cabinet that needs to be controlled to be opened is selected, which is also to improve the efficiency of sending and receiving express delivery for recipients and couriers and minimize user complaints.
[0082] It can be seen from the contents of the above embodiments that the method for allocating and managing the use rights of express lockers based on the Internet of Things extracts the location information of several available express lockers from the Internet of Things platform according to the express delivery address information, and determines the express lockers that the courier is allowed to use in combination with the real-time use status information of the express lockers; based on the location information of the express lockers that the courier is allowed to use and the real-time location information of the courier, sends a use request to the express lockers that the courier is allowed to use through the Internet of Things platform, thereby returning the corresponding express locker use key password to the mobile terminal held by the courier; after verifying the express locker use key password, allocate the corresponding express locker use key password to the mobile terminal Permissions; adjust the switch status of the express cabinet door according to the historical working status of the express cabinet door that the courier is allowed to use. It can screen and recommend express cabinets that the courier is allowed to use based on the express delivery address information and the real-time usage status information of the express cabinet, and send a use request to the express cabinet that the courier is allowed to use through the Internet of Things, so as to pre-lock the express cabinet and ensure the courier's effective use authority to the express cabinet. At the same time, it also adjusts the switch status of the express cabinet door according to the historical working status of the express cabinet door itself, selects a suitable cabinet during the use of the express cabinet, ensures the efficiency of express delivery and improves the use and operation efficiency of the express cabinet.
[0083] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A method for allocating and managing the use rights of express lockers based on the Internet of Things, characterized in that: The steps include: Step S1, extracting the location information of several express lockers available for use from the Internet of Things platform according to the express delivery address information from the mobile terminal held by the courier; Extract the real-time usage status information of all available express lockers from the IoT platform to determine the express lockers that couriers are allowed to use; Step S2, sending a use request to the express locker that the courier is allowed to use through the Internet of Things platform according to the location information of the express locker that the courier is allowed to use and the real-time location information of the courier; and returning a key password for using the express locker to the mobile terminal held by the courier according to the use request; Step S3, verifying the express cabinet of the mobile terminal held by the courier using the key password, thereby allocating to the mobile terminal the right to use the express cabinet that the courier is allowed to use; Step S4, adjusting the switch state of the express cabinet door according to the historical working state of the express cabinet door of the express cabinet that the courier is allowed to use; Wherein, in the step S4, adjusting the switch state of the express cabinet door according to the historical working state of the express cabinet door of the express cabinet that the courier is allowed to use includes: When the mobile terminal is assigned the right to use the express cabinet that the courier is allowed to use, the historical switch status of the doors of all cabinets contained in the express cabinet that the courier is allowed to use is obtained through the Internet of Things platform, and the switch status of the doors of all cabinets is adjusted according to the historical switch status, and the process is as follows: Step S401, using the following formula (1), according to the historical opening and closing states of the doors of all cabinets, determine the aging degree of each cabinet door, In the above formula (1), H(a) represents the aging degree value of the door of the a-th cabinet; K(a_i) represents the number of attempts to open the door of the a-th cabinet until it is successfully opened during the i-th historical working process; G(a_i) represents the number of attempts to close the door of the a-th cabinet until it is successfully closed during the i-th historical working process; n(a) represents the total number of historical working times of the door of the a-th cabinet, and the cabinet door of the cabinet is considered to have one working process from being successfully opened to being successfully closed; Step S402, using the following formula (2), according to the aging degree of the cabinet doors of the cabinet box currently in the idle state, it is determined whether all the cabinet doors of the cabinet box currently in the idle state are severely aged cabinet doors, and when the cabinet doors of the cabinet box currently in the idle state are not all severely aged cabinet doors, the cabinet doors of the cabinet box with a lower degree of aging are preferentially controlled to be opened. In the above formula (2), L represents the determination value of whether all the doors of the cabinets currently in the idle state are severely aged express cabinet doors; m represents the total number of cabinet doors of the cabinets currently in the idle state; H(e) represents the aging degree value of the cabinet door of the e-th cabinet currently in the idle state calculated by the above step S401; It means that the value of e from 1 to m is substituted into H(e). If all the values satisfy The function value is 1 if there is one or more that does not satisfy Then the function value is 0; A(L=0) means that when L=0, the cabinet door of the A(L=0)th cabinet box in the idle state is preferentially controlled to be opened; It means to substitute the value of e from 1 to m into H(e) and select the one that satisfies The minimum value among the H(e) values, and the e value corresponding to its minimum value; Step S403: If all the doors of the cabinets currently in the idle state are severely aged, that is, when L=1, the following formula (3) is used to select the cabinet doors that need to be controlled to be opened according to the number of successful openings and successful closings of the cabinet doors of each cabinet in the idle state in each working process. In the above formula (3), A(L=1) indicates that when L=1, priority is given to opening the door of the A(L=1)th cabinet in the idle state; G(e_i) indicates the number of attempts to close the door of the eth cabinet currently in the idle state until it is successfully closed during the i-th operation in history; n(e) indicates the number of times the door of the eth cabinet currently in the idle state has been used in the historical operation; It means substituting the value of e from 1 to m into the brackets to obtain the value of e when the minimum value is obtained in the brackets.
2. The method for allocating and managing the use rights of express lockers based on the Internet of Things according to claim 1, characterized in that: In step S1, based on the express delivery address information from the mobile terminal held by the courier, the location information of several express lockers available for use is extracted from the Internet of Things platform, including: The courier obtains the courier delivery address information based on the result of scanning and identifying the courier barcode with the mobile terminal held by the courier; After uploading the express delivery address information to the Internet of Things platform, it is compared with the preset express cabinet distribution location information to obtain the location information of several express cabinets available for use.
3. The method for allocating and managing the use rights of express lockers based on the Internet of Things as claimed in claim 2, characterized in that: In step S1, after uploading the express delivery address information to the Internet of Things platform, it is compared with the preset express cabinet distribution location information to obtain the location information of several express cabinets available for use, including: Based on the express delivery address information, the location information corresponding to all express cabinets whose straight-line distance to the express delivery address is less than or equal to the preset distance threshold is extracted from the preset express cabinet distribution location information, and this is used as the location information of several express cabinets available for use.
4. The method for allocating and managing the use rights of express lockers based on the Internet of Things as claimed in claim 3 is characterized by: In step S1, the real-time usage status information of all available express lockers is extracted from the Internet of Things platform to determine the express lockers that the couriers are allowed to use, including: Extracting the real-time utilization rate of all available express lockers from the Internet of Things platform; wherein the real-time utilization rate refers to the ratio between the number of lockers in the available express lockers that are in an occupied state and the total number of lockers; The available express locker with the lowest real-time usage rate is determined as the express locker that the courier is allowed to use.
5. The method for allocating and managing the use rights of express lockers based on the Internet of Things as claimed in claim 4, characterized in that: In step S2, according to the location information of the express locker that the courier is allowed to use and the real-time location information of the courier, sending a use request to the express locker that the courier is allowed to use through the Internet of Things platform includes: Determine the distance between the courier and the express locker that the courier is allowed to use based on the location information of the express locker that the courier is allowed to use and the real-time location information of the courier; According to the distance and the average movement speed of the courier, it is estimated that the time required for the courier to move to the location of the express locker that the courier is allowed to use is located; The mobile terminal is used to send a use request to the express cabinet that the courier is allowed to use through the Internet of Things platform; wherein the use request is a request to use the corresponding express cabinet only after the required time has passed.
6. The method for allocating and managing the use rights of express lockers based on the Internet of Things as claimed in claim 5, characterized in that: In step S2, according to the use request, returning the express locker use key password to the mobile terminal held by the courier includes: According to the usage request, a time-sensitive express locker usage key password is returned to the mobile terminal held by the courier; wherein the express locker usage key password is valid only after the required time has passed.
7. The method for allocating and managing the use rights of express lockers based on the Internet of Things according to claim 6, characterized in that: In step S3, the key password is used to verify the express cabinet of the mobile terminal held by the courier, so as to assign the mobile terminal with the right to use the express cabinet that the courier is allowed to use, including: When the mobile terminal held by the courier senses the express cabinet that the courier is allowed to use, it is determined whether the key password used by the express cabinet is in a valid state; if so, the mobile terminal is allocated the right to use the express cabinet that the courier is allowed to use through the Internet of Things platform; if not, the mobile terminal is not allocated the right to use the express cabinet that the courier is allowed to use.
