CN114760286B - Remote cabinet opening method, device, equipment and storage medium of shared cabinet - Google Patents

Remote cabinet opening method, device, equipment and storage medium of shared cabinet Download PDF

Info

Publication number
CN114760286B
CN114760286B CN202210665149.6A CN202210665149A CN114760286B CN 114760286 B CN114760286 B CN 114760286B CN 202210665149 A CN202210665149 A CN 202210665149A CN 114760286 B CN114760286 B CN 114760286B
Authority
CN
China
Prior art keywords
cabinet
link
opening
open
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210665149.6A
Other languages
Chinese (zh)
Other versions
CN114760286A (en
Inventor
江洋
王建行
常文静
孙洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN202210665149.6A priority Critical patent/CN114760286B/en
Publication of CN114760286A publication Critical patent/CN114760286A/en
Application granted granted Critical
Publication of CN114760286B publication Critical patent/CN114760286B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/0042Coin-freed apparatus for hiring articles; Coin-freed facilities or services for hiring of objects

Abstract

The application discloses a remote cabinet opening method, a remote cabinet opening device, remote cabinet opening equipment and a storage medium of a shared cabinet, and relates to the field of data transmission. The method comprises the following steps: receiving a cabinet opening triggering request, wherein the cabinet opening triggering request is a request sent after a cabinet opening short link on a pickup terminal is triggered; determining storage indication information corresponding to the cabinet-opening short link based on the cabinet-opening triggering request, wherein the storage indication information is associated with a target cabinet; acquiring a locker opening page link corresponding to the target locker from a second server based on the storage indication information; and sending the open-cabinet page link to the pickup terminal, wherein the open-cabinet page link is used for calling a pickup application program on the pickup terminal to display an open-cabinet page corresponding to the target locker, and the open-cabinet page comprises an open-cabinet control for opening the target locker.

Description

Remote cabinet opening method, device, equipment and storage medium of shared cabinet
Technical Field
The present application relates to the field of data transmission, and in particular, to a remote locker opening method, device, and apparatus for a shared locker, and a storage medium.
Background
The shared locker is a locker which is placed in a public place and can be shared by multiple unspecified users. In logistics distribution service, shared storage cabinets have wide application: goods delivery personnel store goods into the shared storage cabinet, and a user takes the goods out in the modes of inputting a pick-up code, scanning a two-dimensional code or clicking a cabinet opening link and the like after receiving a pick-up notice, so that non-contact and safe intelligent delivery of the goods is realized.
In the related technology, after a first server of a shared storage cabinet acquires storage information, an open page link is acquired from a second server corresponding to a pickup application program, and the open page link is converted into a short link and then sent to a pickup person; and the pickup person carries out remote cabinet opening by clicking the short link. Specifically, the first server sends the short link to the pickup terminal in the form of short message, and after the pickup person clicks the short link in the pickup notification short message, the short link is converted into an open-cabinet page link. The open-cabinet page link triggers a jump to an open-cabinet page provided by a pickup application program (such as an applet) for opening-cabinet pickup.
However, the amount of access to the shared locker is very large, and the amount of conversion of locker information into open page links that the second server can provide on a daily basis is limited. Therefore, how to realize remote cabinet opening of the shared cabinet is a problem to be solved under the condition that the conversion amount provided by the second server is limited.
Disclosure of Invention
The embodiment of the application provides a remote cabinet opening method, a remote cabinet opening device, equipment and a storage medium for a shared cabinet, so that after a first server receives a cabinet opening trigger request, a second server obtains a cabinet opening page link, unnecessary conversion amount of the second server is reduced, the use efficiency of the shared cabinet is improved, and normal operation of the shared cabinet is guaranteed. The technical scheme comprises the following aspects.
According to one aspect of the application, a remote locker opening method of a shared locker is provided, the method is executed by a first server, and the method comprises the following steps:
receiving a cabinet opening triggering request, wherein the cabinet opening triggering request is a request sent after a cabinet opening short link on a pickup terminal is triggered;
determining storage indication information corresponding to the open cabinet short link based on the open cabinet trigger request, wherein the storage indication information is associated with a target storage cabinet;
acquiring a locker opening page link corresponding to the target locker from a second server based on the storage indication information;
and sending the opening page link to the pickup terminal, wherein the opening page link is used for calling a pickup application program on the pickup terminal to display an opening page corresponding to the target locker, and the opening page comprises an opening control for opening the target locker.
According to one aspect of the application, a remote locker opening method of a shared locker is provided, the method is executed by a pickup terminal, and the method comprises the following steps:
displaying the short open-cabinet link sent by the first server;
responding to the triggering operation corresponding to the short chain for opening the cabinet, and sending a cabinet opening triggering request to the first server;
receiving an open-cabinet page link fed back by the first server;
and calling a pickup application program to display a locker opening page corresponding to a target locker based on the locker opening page link, wherein the locker opening page comprises a locker opening control used for opening the target locker.
According to another aspect of the present application, there is provided a remote cabinet opening device for sharing a locker, the device comprising:
the receiving module is used for receiving a cabinet opening triggering request, wherein the cabinet opening triggering request is a request sent after a cabinet opening short link on the pickup terminal is triggered;
the determining module is used for determining storage indicating information corresponding to the open short link based on the open triggering request, and the storage indicating information is associated with a target locker;
the acquisition module is used for acquiring an open cabinet page link corresponding to the target locker from a second server based on the storage indication information;
the sending module is used for sending the open-cabinet page link to the pickup terminal, the open-cabinet page link is used for invoking a pickup application program on the pickup terminal to display an open-cabinet page corresponding to the target locker, and the open-cabinet page comprises an open-cabinet control used for opening the target locker.
According to another aspect of the present application, there is provided a remote locker opening apparatus for sharing a locker, the apparatus comprising:
the display module is used for displaying the open cabinet short link sent by the first server;
the sending module is used for responding to the triggering operation corresponding to the cabinet opening short link and sending a cabinet opening triggering request to the first server;
the receiving module is used for receiving the open-cabinet page link fed back by the first server;
and the calling module is used for calling a pickup application program to display a cabinet opening page corresponding to the target locker based on the cabinet opening page link, and the cabinet opening page comprises a cabinet opening control used for opening the target locker.
According to another aspect of the present application, there is provided a computer device comprising a processor and a memory, the memory having stored therein at least one instruction, the instruction being loaded and executed by the processor to implement the remote locker opening method of the shared locker as provided in the various aspects of the present application.
According to another aspect of the present application, a computer-readable storage medium having stored thereon computer instructions, which are loaded and executed by a processor, for implementing a remote locker opening method of a shared locker as provided in the various aspects of the present application is provided.
According to an aspect of the present application, there is provided a computer program product comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instruction from the computer readable storage medium, and executes the computer instruction, so that the computer device executes the remote locker opening method of the shared locker.
The embodiment of the application at least comprises the following beneficial effects:
and after receiving the opening triggering request, the first server acquires an opening page link corresponding to the target locker from the second server, and forwards the opening page link to the pickup terminal. Because the short-link cabinet opening is only one of multiple candidate cabinet opening modes (code scanning cabinet opening, APP cabinet opening, on-cabinet touch screen cabinet opening and the like), not all users use the short-link cabinet opening mode, compared with the mode that the short link is generated by utilizing the cabinet opening page link in advance in the related art, the method reduces the operation times of the first server for obtaining the cabinet opening page link from the second server, avoids the use limitation caused by the limited daily conversion amount of the second server, and improves the use efficiency of the shared storage cabinet.
Drawings
In order to more clearly describe the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments of the present application will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a schematic diagram illustrating an application scenario of a remote locker opening method for a shared locker according to an exemplary embodiment of the present application;
FIG. 2 is a schematic diagram of a remote locker system sharing a locker according to an exemplary embodiment of the present application;
FIG. 3 is a schematic diagram of another remote locker system sharing a locker according to an exemplary embodiment of the present application;
FIG. 4 is a flowchart illustrating a method for remote locker opening by a first server according to an exemplary embodiment of the present application;
FIG. 5 is a schematic flow chart diagram illustrating a remote locker opening method for a shared locker with a short transition request as an open trigger request according to an exemplary embodiment of the present application;
FIG. 6 is a flowchart illustrating a remote locker opening method using an HTTP request for requesting content of a long-linked open-shelf page as a locker trigger request according to an exemplary embodiment of the present application;
FIG. 7 is a flowchart illustrating a remote locker opening method using a shared locker with a webpage trigger request as a locker opening trigger request according to an exemplary embodiment of the present application;
FIG. 8 is a schematic flow chart diagram illustrating a remote locker opening method by a second server in accordance with an exemplary embodiment of the present application;
FIG. 9 is a schematic flow chart diagram illustrating another method for remote locker opening by a second server according to an exemplary embodiment of the present application;
FIG. 10 is a schematic flow chart diagram illustrating a method for remote locker opening with shared locker according to an exemplary embodiment of the present application;
FIG. 11 is a block diagram illustrating a remote locker-opening device sharing a locker according to an exemplary embodiment of the present application;
FIG. 12 is a block diagram illustrating another exemplary embodiment of a remote locker-opening device sharing a locker;
FIG. 13 is a block diagram of a computer device provided in an exemplary embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
In the description of the present application, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In the description of the present application, it should be noted that, unless explicitly stated or limited otherwise, the terms "connected" and "connected" are to be interpreted broadly, e.g., as being fixed or detachable or integrally connected; can be mechanically or electrically connected; may be directly connected or indirectly connected through an intermediate. The specific meaning of the above terms in this application will be understood to be a specific case for those of ordinary skill in the art. Further, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
A brief description of several terms provided in the examples of this application will first be provided.
Short chain connection of the cabinet opening: a short link for triggering the opening process of the target locker.
The long chain of the opening cabinet: a long link for triggering the opening process of the target locker. The short chain and the long chain can be converted based on short chain conversion rule.
Linking the opening cabinet pages: the method is used for calling up the long link of the pickup application program through the browser. The pickup application is an application different from the browser, such as the pickup application being a separate program or an applet running in the host program.
In the related technology, after the storage of the shared storage cabinet is finished, a first server corresponding to the shared storage cabinet acquires storage indication information associated with a target storage cabinet, sends the storage indication information to a second server running a pickup application program, acquires an open page link jumping to an open page of the pickup application program, converts the open page link into an open short chain, and sends the open page link to a pickup user. In the open mode of the shared locker, the first server needs to acquire an open page link from the second server every time the shared locker stores articles. That is, the link of the open-cabinet page and the open-cabinet short chain in the related art can be converted to each other based on the short chain conversion rule.
Since the daily conversion amount of the storage indication information into the open-cabinet page link provided by the second server to the first server is limited, the method cannot meet the requirement of mass use of the shared locker. According to the method for opening the shared locker, after a user triggers the short link in the pickup notice, the first server obtains the page link for opening the locker from the second server; for storage orders which are taken in other cabinet opening modes except for short links, the second server does not need to be asked for the page links of the cabinet opening, the requirement for the conversion amount of the second server is greatly reduced, and the normal use of remote cabinet opening of the shared storage cabinet is guaranteed.
Fig. 1 is a schematic view illustrating an application scenario of a remote locker opening method for a shared locker according to an exemplary embodiment of the present application.
After a takeout order of a user is stored in a shared storage cabinet, the user receives a short message for reminding taking a meal, a short message interface 10 of a pickup terminal displays a short message 12 for reminding taking the meal, and the short message 12 comprises a cabinet-opening short link 14 for opening a cabinet to take the meal; after the user clicks the open short link 14, the user interface of the pickup terminal jumps to a webpage 20, and a control 22 for jumping to a pickup application program is displayed on the webpage 20; by clicking the control 22, the pickup terminal jumps to display an opening page 30 of a pickup application program, pickup information 32 is displayed on the opening page 30 of the pickup application program, and the pickup information 32 comprises a target locker identifier 36, a position schematic diagram 38 of the target locker and an opening control 34; by clicking the opening control 34, the pickup terminal sends an opening signal to the server of the shared storage cabinet, and the server of the shared storage cabinet controls the corresponding cabinet door to be opened.
That is, in the above process, the user jumps to the browser by clicking the open short link 14 and displays the web page 20, where the web page 20 is the web page of the open long link corresponding to the open short link 14. The user then jumps to the pickup application and displays the open-chest page 30 by clicking on the control 22 on the netpage page 20.
In another possible application scenario, the web page 20 may be omitted from display; that is, after the user clicks the open short link 14, the pickup terminal jumps directly to the pickup application and displays the open page 30.
FIG. 2 is a schematic diagram illustrating a remote locker system sharing a locker according to an exemplary embodiment of the present application. The remote locker opening system 100 of the shared locker comprises: the shared locker 110, the pickup terminal 120, the first server 130, the second server 140, and the third server 150.
The shared locker 110 includes a plurality of lockers 112 that may be used for storage, and a screen 111 that may be used for human interaction. The screen 111 may display a two-dimensional code for scanning pickup by the user, a numeric keypad for inputting the pickup code by the user, and other controls for human-computer interaction.
The pickup terminal 120 is installed and operated with a pickup application program supporting the opening of the cabinet and pickup, and the pickup application program may be an application program or an applet having a function of sending an opening signal. When the pickup terminal 120 runs the pickup application, a user interface of the pickup application, such as a locker page, is displayed on the screen of the pickup terminal 120. The background service of the pickup application is provided by the first server 130.
The pickup application may be implemented in the form of an applet. An applet is a program that depends on the host program to run. The host program provides a basic running environment for the small program to run, and background services of the host program and the small program are generally provided by different servers. Background services, such as hosts, are provided by the second server 140.
The host program may be any one of an instant messenger program, a microblog program, a voice call program, a conference program, a web community program, a payment program, a shopping program, a dating program, a marriage program, a game program, an online education program, or other social program. In the embodiment, the host program is exemplified as an instant messenger program.
The device types of the pickup terminal 120 include: at least one of a smartphone, a smart television, a smart car, a wearable device, a tablet, an e-book reader, an MP3 player, an MP4 player, a laptop portable computer, and a desktop computer.
Only one pickup terminal is shown in fig. 2, but there are a plurality of other pickup terminals 120 that may access the first server 130 in different embodiments. Optionally, there are one or more pickup terminals 120 corresponding to the developer, and a development and editing platform supporting a client of the pickup application is installed on the pickup terminal 120, so that the developer can edit and update the client on the pickup terminal 120 and transmit the updated application installation package to the second server 140 through a wired or wireless network; the pickup terminal 120 may download the pickup application installation package from the second server 140 to implement the update to the client.
The first server 130 is a server that provides background services for the shared locker 110. The first server 130 includes at least one of a server, a plurality of servers, a cloud computing platform, and a virtualization center. The first server 130 is connected to the shared locker 110, the pickup terminal 120, the second server 140, and the third server 150 via a wireless or wired network.
In an illustrative example, the first server 130 includes a processor, a locker database, and a user-oriented Input/Output Interface (I/O Interface). Wherein, the processor is used for loading the instruction stored in the first server 130 and processing the data in the locker database; the locker database is used for storing storage indication information associated with the locker, such as locker identification, goods order identification stored by the target locker, user identification, and the like; the user-facing I/O interface is used for establishing communication with the shared locker 110, the pickup terminal 120, the second server 140 and the third server 150 through a wireless network or a wired network to exchange data.
The second server 140 is a server for providing a background service for a host program on the pickup terminal 120, the host program runs a pickup application program in the form of an applet, and the background service of the pickup application program is provided by the first server 130. The second server 140 includes at least one of a server, a plurality of servers, a cloud computing platform, and a virtualization center. The second server 140 is connected to the pickup terminal 120 and the first server 130 via a wireless or wired network.
The second server 140 includes a processor, a user account database, an instant messaging service module, and a user-oriented I/O interface. The processor is configured to load an instruction stored in the second server 140, and process data in the user account database and the instant messaging service module; the user account database is used for storing data of user accounts used by the pickup terminal 120 and other terminals, such as head images of the user accounts, nicknames of the user accounts, groups where the user accounts are located, and the like; the instant messaging service module is used for providing a plurality of chat rooms (double chat or multi-person chat) for users to chat, issue group notifications, send expressions, send red packages, send files and the like in instant messaging; the user-oriented I/O interface is used to establish communication with the pickup terminal 120 and/or the first server 130 via a wireless or wired network to exchange data.
The third server 150 is a server that provides short link switching services, which include switching long links to short links and/or switching short links to long links. The third server 150 includes at least one of a server, a plurality of servers, a cloud computing platform, and a virtualization center. The third server 150 is connected to the first server 130 through a wireless or wired network.
In an illustrative example, the third server 150 includes a processor, a short link database, and a user-oriented I/O interface. The processor is used for loading instructions stored in the third server 150 and processing data in the short link database; the short link database is used for storing the corresponding relation or mapping rule between the original long open cabinet link and the converted short open cabinet link; the user-facing I/O interface is used to establish communication with the first server 130 via a wireless network or a wired network to exchange data.
In a possible embodiment, the short link switching service is provided in the first server, that is, a third server providing the short link switching service is not additionally required in the remote locker system of the shared locker.
FIG. 3 illustrates a schematic diagram of a remote locker system sharing a locker according to another exemplary embodiment of the present application. The remote cabinet opening system 101 of the shared cabinet comprises: the shared locker 110, the pickup terminal 120, the first server 132 and the second server 140.
Unlike the first server 130 in the remote locker system of fig. 2, the first server 132 of fig. 3 further comprises a short link switching service module. The short link conversion service module is configured to convert an open long link generated by the first server 132 into an open short link, or convert an open short link into an open long link.
In some embodiments, the first server 132 shown in fig. 3 further includes a short link database, where the short link database is used to store a corresponding relationship or mapping rule between the long open-cabinet link generated according to the storage indication information and the converted short open-cabinet link. Illustratively, the first server 132 stores the storage indication information, the long open-cabinet link and the short open-cabinet link; alternatively, the first server 132 stores the relationship between the long open cabinet link and the short open cabinet link, and stores the storage indication information in the link of the long open cabinet link or in the web content.
The shared locker 110, the pickup terminal 120 and the second server 140 in FIG. 3 are the same as the corresponding parts in FIG. 2, and are not described again here.
With reference to the foregoing description of the implementation environment, a remote locker opening method of a shared locker according to an embodiment of the present application is described, where an execution subject of the method is illustrated as a first server and a pickup terminal shown in fig. 2 or fig. 3, respectively.
FIG. 4 is a flowchart illustrating a remote locker opening method for sharing a locker according to an exemplary embodiment of the present application. For example, the method may be applied to a remote locker system of a shared locker shown in fig. 2 or 3, and the method is performed by the first server. The method comprises the following steps.
Step 220: receiving a cabinet opening triggering request;
the first server receives a cabinet opening triggering request sent by the pickup terminal.
The opening triggering request is a request sent after the opening short link on the pickup terminal is triggered. For example, the opening triggering request is a request sent after an opening short link on the pickup terminal is clicked; or the opening triggering request is a request sent after the opening short link on the pickup terminal is clicked and converted into the opening long link; or the opening triggering request is a request sent after a control on a webpage is clicked after an opening short link on the pickup terminal is clicked and a corresponding webpage of an opening long link is displayed.
Illustratively, a user using a pickup terminal clicks the short open-cabinet link when needing to open a cabinet and pick up a pickup, and the pickup terminal sends a cabinet opening trigger request to a first server; the first server receives the opening triggering request.
Illustratively, the storage indication information is carried in the opening trigger request, or the storage indication information is not carried, but the opening trigger request corresponds to the opening short link or the opening long link.
Step 240: determining storage indication information corresponding to the cabinet opening short link based on the cabinet opening trigger request;
after the target storage cabinet finishes storing, the user needs to be informed and the user needs to wait for taking the articles. In some embodiments, there are multiple storage compartments on the same shared storage, and the target storage compartment is one of the multiple storage compartments.
The storage indicating information is associated with the target storage cabinet, and comprises: at least one of a locker identifier of the target locker, an identifier of the pickup terminal, an express bill number of the goods stored in the target locker and an article order identifier stored in the target locker. The locker identity of the target locker is used to uniquely indicate the target locker among a plurality of lockers, such as the locker identity comprises: locker identification and storage grid identification. The identification of the pickup terminal can be a mobile phone number. The item order mark is the mark of the online shopping order corresponding to the item when the item is obtained for online shopping.
For example, in the case that the short link conversion service is provided by the first server, the pickup terminal sends a short link service request for requesting to convert the open short link into the open long link to the first server. And responding to the short-chain service request, and feeding back the open cabinet long link corresponding to the open cabinet short link to the pickup terminal by the first server based on the short link conversion service. And the pickup terminal sends an HTTP request for requesting the webpage content of the long open-cabinet link to the first server. And responding to the HTTP request, and sending a webpage corresponding to the open cabinet long link to the pickup terminal by the first server. The pickup terminal displays a webpage corresponding to the long chain link of the opening cabinet, and a control, such as 'open applet', is displayed on the webpage. And under the condition that the user clicks the control on the webpage, the pickup terminal also sends a webpage trigger request to the first server, wherein the webpage trigger request is used for indicating that the control on the webpage is triggered.
In different embodiments, any one of the short-chain service request, the HTTP request, and the web page trigger request may be used as the locker trigger request.
Illustratively, in the case where the short link switching service is provided by a third server, the pickup terminal switches the open short link to the open long link by calling the third server. And the pickup terminal sends an HTTP request for requesting the webpage content of the long open-cabinet link to the first server. Responding to the HTTP request, and sending a webpage corresponding to the open cabinet long link to the pickup terminal by the first server. The pickup terminal displays a webpage corresponding to the long chain link of the opening cabinet, and a control, such as 'open applet', is displayed on the webpage. And under the condition that the user clicks the control on the webpage, the pickup terminal also sends a webpage triggering request to the first server, wherein the webpage triggering request is used for indicating that the control on the webpage is triggered.
In different embodiments, any one of the HTTP request and the web page trigger request may be used as the locker trigger request.
In some embodiments, the storage indication information is carried in the opening triggering request, and the first server reads the storage indication information in the opening triggering request.
In some embodiments, the storage indication information is not carried in the cabinet opening triggering request, and the first server determines the cabinet opening short link corresponding to the cabinet opening triggering request; and inquiring storage indicating information corresponding to the short chain joint of the opened cabinet. For example, when the short link switching service is provided by the first server, the opening triggering request is a short link service request for requesting to switch an opening short link to an opening long link, the first server determines the opening short link according to the short link service request, and inquires storage indication information corresponding to the opening short link based on a pre-stored correspondence between the opening short link and the storage indication information.
In some embodiments, the storage indication information is not carried in the opening triggering request, the first server determines an opening long link corresponding to the opening triggering request, and the opening long link is a long link corresponding to the opening short link; and inquiring storage indicating information corresponding to the long chain of the cabinet opening. For example, under the condition that the short link conversion service is provided by the third server, the pickup terminal firstly acquires the long open cabinet link corresponding to the short open cabinet link from the third server, and then sends an open cabinet trigger request to the first server, wherein the open cabinet trigger request is an HTTP request for requesting the web content of the long open cabinet link, and the first server determines the long open cabinet link according to the HTTP request and inquires the storage indication information corresponding to the long open cabinet link based on the pre-stored correspondence between the long open cabinet link and the storage indication information.
In some embodiments, after the first server receives the opening triggering request, the opening short link is converted into an opening long link, and the opening long link is sent to the pickup terminal; and when the browser of the pickup terminal requests the webpage content of the long chain of the opening cabinet, sending the webpage corresponding to the long chain of the opening cabinet to the pickup terminal. And the pickup terminal displays a webpage corresponding to the long chain link of the opening cabinet. After the pickup terminal triggers the trigger control of the webpage, the first server regards the page trigger request as an open cabinet trigger request and inquires storage indication information corresponding to the open cabinet long link under the condition that the first server receives the page trigger request.
In one example, after the short open-cabinet link is clicked, the pickup terminal receives a webpage corresponding to the long open-cabinet link and fed back by the first server, and the webpage displays a control "open applet". After the pickup triggers a control of the webpage page to open the applet, the first server receives a page triggering request generated by triggering of the control, and then the first server determines storage indication information.
Step 260: acquiring a locker opening page link corresponding to the target locker from a second server based on the storage indication information;
the second server is a server that provides background services for the host program. The pickup application program is an applet running on the host program, or the applet is a program running on an application platform corresponding to the second server.
The opening page link is used for calling a pickup application program on the pickup terminal to display an opening page corresponding to the target locker, and the opening page comprises an opening control used for opening the target locker. For example, the opening control is a one-key opening button.
Illustratively, the first server sends the storage indication information to the second server; and the second server generates a locker opening page link corresponding to the target locker according to the storage indication information and feeds the locker opening page link back to the first server.
In one possible embodiment, the storage indication information includes a locker identifier of the target locker and an item order identifier stored by the target locker. The first server sends the locker identification of the target locker and/or the goods order identification stored in the target locker to the second server, and the second server generates a locker opening page link for opening the target locker based on the locker identification of the target locker and/or the goods order identification stored in the target locker and sends the locker opening page link to the first server.
Step 280: and sending the opening page link to the pickup terminal.
Illustratively, after the first server receives the open page link corresponding to the target locker and sent by the second server, the open page link is forwarded to the pickup terminal.
Illustratively, after receiving the open-cabinet page link, the pickup terminal may jump to the open-cabinet page of the pickup application through the open-cabinet page link, and then send an open-cabinet signal to the first server by triggering an open-cabinet control on the open-cabinet page of the pickup application.
Illustratively, under the condition that the first server receives a cabinet opening signal sent by the pickup application program, the cabinet door of the target cabinet is controlled to be opened; the opening signal is sent after the opening control on the opening page is triggered.
To sum up, in the remote cabinet opening method for a shared locker provided in the embodiment of the present application, the first server determines the storage indication information after receiving the cabinet opening trigger request, acquires the cabinet opening page link corresponding to the target locker from the second server based on the storage indication information, and forwards the cabinet opening page link to the pickup terminal, so that the pickup terminal can jump to the pickup application program through the cabinet opening page link, thereby implementing remote cabinet opening of the shared locker. According to the method, the first server can acquire the open page link corresponding to the target locker from the second server only when the first server receives the open trigger request, so that redundant operation that the open page link needs to be acquired from the second server every time the shared locker stores the articles is carried out is avoided, use limitation caused by limited daily conversion amount of the second server is avoided, and use of the shared locker is guaranteed.
FIG. 5 is a flowchart illustrating a remote locker opening method for sharing a locker according to an exemplary embodiment of the present application. The short chain switch request is treated as an open cabinet trigger request in the embodiment shown in fig. 5. For example, the method may be applied to a remote locker system of a shared locker shown in fig. 2 or 3, and the method is performed by a first server. The method comprises the following steps.
Step 310: under the condition that storage completion information of the target storage cabinet is received, generating a cabinet opening length link based on storage indication information corresponding to the target storage cabinet;
after the target storage cabinet finishes storing, the user needs to be informed and the user needs to wait for taking the articles.
Illustratively, the article storage completion information is used for indicating that the article to be taken is stored in the target article storage cabinet, and the user needs to be informed to take the article. The storage completion information can carry information indicating that the cabinet door of the storage cabinet is closed; or the storage completion information may carry an identifier of the pickup user, such as a mobile phone number; or the storage completion information may carry an identifier of an article order or an express order number, and the like. This application is accomplished information and is not restricted to the storing.
In a possible implementation manner, after the storage person puts the article to be taken into the shared storage cabinet, inputs the mobile phone tail number of the user, and closes the door of the storage cabinet, the first server receives the storage completion information of the target storage cabinet.
Illustratively, the storage indication information is associated with the target locker and is used for indicating the corresponding relation between the target locker and the articles to be taken in the target locker. The storage indication information comprises at least one of a locker identifier of the target locker, an identifier of the pickup terminal, an express bill number of the goods stored in the target locker and an article order identifier stored in the target locker.
For example, the first server generates the open cabinet long link based on the storage instruction information corresponding to the target locker, where the open cabinet long link includes information content corresponding to the storage instruction information. It should be noted that the long open cabinet link may directly or indirectly contain information content corresponding to the storage indication information; that is, the locker identifier of the target locker, the identifier of the pickup terminal, at least one of the express order number of the article stored in the target locker and the article order identifier stored in the target locker may be directly included in the locker open link, or information contents indirectly corresponding to the locker identifier of the target locker, the identifier of the pickup terminal, the express order number of the article stored in the target locker and the article order identifier stored in the target locker, such as a bit obtained by intercepting a part of bits of the storage indication information or a bit obtained by information mapping the storage indication information, may be included. The method for generating the long open cabinet link by the first server based on the storage indication information corresponding to the target storage cabinet is not limited.
In one possible embodiment, the storage indication information includes a locker identifier (e.g., locker number, etc.) of the target locker and an article order identifier (e.g., order number of article or mobile phone tail number of pickup user, etc.) stored by the target locker. And under the condition that the first server receives the storage completion information of the target storage cabinet, generating a long open cabinet link according to the storage cabinet identifier corresponding to the target storage cabinet and the article order identifier stored in the target storage cabinet. The locker opening long link comprises a locker identifier corresponding to the target locker and information corresponding to the goods order identifier stored by the target locker.
Step 312: generating an open cabinet long chain into an open cabinet short chain based on short chain switching service;
in the case that the first server provides the short link switching service, that is, the first server is the first server 132 in the remote locker system 101 of fig. 3, the locker of which is shared, the long link switching is generated as the short link switching based on the short link switching service.
The manner of generating the short chain based on the long chain includes the binary conversion, the hash mapping, the generation of the random number, and so on. The application does not impose any restrictions on the specific switching process of the short-link switching service.
It should be noted that the short open cabinet link and the long open cabinet link have a corresponding relationship. The open cabinet short link is obtained by calculation according to the mapping rule based on the open cabinet long link; or determining the corresponding relation between the short open cabinet links and the long open cabinet links through the database.
Step 314: a third server is called to generate an open cabinet long chain into an open cabinet short link;
in the case that the first server does not provide the short link switching service and needs an additional third server providing the short link switching service, that is, in the case that the first server is the first server 130 in the remote locker system 100 of fig. 2, the third server is called to generate the long open locker link as the short open locker link.
Illustratively, the first server calls a third server, and sends the long open-cabinet chain to the third server; and after the third server completes the conversion, feeding back the converted open cabinet short link to the first server.
It should be noted that steps 312 and 314 need only be performed in the alternative. In case the first server in the remote locker-opening system sharing the locker provides the short link switching service, i.e. there is no third server providing the short link switching service in the system, step 312 is executed; in the case where a dedicated third server providing short link switching services is included in the remote locker system of the shared locker, step 314 is performed.
Step 316: sending a short link for opening the cabinet to a pickup terminal;
the pickup terminal is a terminal device used by a target pickup user corresponding to the target locker. The first server acquires the identification of the pickup terminal through the storage completion information or the storage indication information and sends the opening short link to the pickup terminal.
Illustratively, the first server sends the opening short link to the pickup terminal after determining the opening short link. The mode of sending the opening short link by the first server can be sending through a short message platform, through a pickup application program, through pickup applets running on other application programs and the like. The method for sending the open cabinet short link to the pickup terminal by the first server is not limited.
In a possible implementation mode, the first server sends the opening short link to the pickup terminal through the short message platform. Besides the locker opening short link, the short message may also include the location of the target locker, the locker identifier corresponding to the target locker, the goods order identifier stored in the target locker, and the like. And the user using the pickup terminal can send a cabinet opening triggering request to the first server by clicking the cabinet opening short chain on the short message platform interface.
Step 320: receiving a short-chain conversion request;
the short chain conversion request is a request sent after the short chain for opening the cabinet on the pickup terminal is triggered.
Illustratively, a user using a pickup terminal clicks an open short link when the user needs to open a cabinet and pick up a pickup, and the pickup terminal sends a short chain conversion request to a first server; the first server receives the short chain switch request.
Step 341: determining storage indication information corresponding to the short chain connection of the opened cabinet based on the short chain conversion request;
in this embodiment, the short-chain switching request is treated as an open cabinet trigger request.
For example, after receiving a short-chain conversion request, namely a cabinet opening triggering request, sent by the pickup terminal, the first server determines storage indication information corresponding to the short-chain connection for opening the cabinet based on the short-chain conversion request.
In some embodiments, the short-chain conversion request sent by the pickup terminal carries storage indication information corresponding to the open cabinet short-chain link. The first server reads the storage indication information carried in the short-chain conversion request. Wherein, storing instruction information includes: at least one of a locker identifier of the target locker, an identifier of the pickup terminal, an express bill number of the goods stored in the target locker and an article order identifier stored in the target locker.
Illustratively, the manner of reading the storage indication information carried in the short chain conversion request by the first server is to directly determine the storage indication information of the target storage cabinet corresponding to the open cabinet short chain connection through the open cabinet short chain connection; or the first server reads the storage indication information carried in the short-chain conversion request in a manner that the short-chain conversion for opening the cabinet is firstly converted into the long link for opening the cabinet, and then the storage indication information of the target storage cabinet is determined through the long link for opening the cabinet.
In a possible embodiment, the storage indication information of the target locker is directly or indirectly contained in the long open cabinet link, and the long open cabinet link and the short open cabinet link can be converted by mapping rules or a database, so that the short open cabinet link and the storage indication information of the target locker are also corresponding. After the first server receives the short-chain conversion request sent by the pickup terminal, the first server determines storage indication information of the target locker through the cabinet opening short-chain, for example, a locker identifier of the target locker and an article order identifier stored in the target locker.
In another possible embodiment, the first server converts the open short link into a corresponding open long link based on a short link conversion service running on the first server or by calling a short link conversion service provided by a third server; and then the storage indication information carried in the long open cabinet link is determined based on the long open cabinet link.
In some embodiments, the short-chain conversion request sent by the pickup terminal does not carry storage indication information corresponding to the short chain link of the open cabinet. The first server determines an open cabinet short link corresponding to the short chain conversion request; and inquiring storage indicating information corresponding to the short chain joint of the opened cabinet. For example, the storage indication information corresponding to the short open-cabinet link is inquired based on the corresponding relation between the short open-cabinet link and the storage indication information stored in advance.
In some embodiments, the storage indication information is not carried in the opening triggering request, the first server determines an opening long link corresponding to the short chain conversion request, and the opening long link is a long link corresponding to the opening short link; and inquiring storage indicating information corresponding to the long chain of the cabinet opening. For example, the first server determines the open cabinet length link corresponding to the open cabinet short link through a short link switching service running on the first server or calls a third server, and inquires storage indication information corresponding to the open cabinet length link based on a pre-stored correspondence between the open cabinet length link and the storage indication information.
Step 360: acquiring a locker opening page link corresponding to the target locker from a second server based on the storage indication information;
the opening page link is used for calling a pickup application program on the pickup terminal to display an opening page corresponding to the target locker, and the opening page comprises an opening control used for opening the target locker.
The second server is a server that provides background services for the host program. The pickup application program is an applet running on the host program, or the applet is a program running on an application platform corresponding to the second server.
Illustratively, the first server sends the storage indication information to the second server; and the second server generates a locker opening page link corresponding to the target locker according to the storage indication information and feeds the locker opening page link back to the first server.
In one possible embodiment, the storage indication information includes a locker identifier of the target locker and an item order identifier stored by the target locker. The first server sends the locker identification of the target locker and the goods order identification stored in the target locker to the second server, and the second server generates a locker opening page link for opening the target locker based on the locker identification of the target locker and the goods order identification stored in the target locker and sends the locker opening page link to the first server.
Step 380: sending the opening page link to a pickup terminal;
illustratively, after the first server receives the open page link corresponding to the target locker and sent by the second server, the open page link is forwarded to the pickup terminal.
Illustratively, after the pickup terminal receives the open-cabinet page link, a pickup application program on the pickup terminal can be called through the open-cabinet page link, and the pickup application program is jumped to display an open-cabinet page corresponding to the target locker, so that an open-cabinet signal is sent to the first server by triggering an open-cabinet control on the open-cabinet page.
Step 390: and under the condition of receiving a cabinet opening signal sent by the pickup application program, controlling the cabinet door of the target cabinet to be opened.
For example, in the case that the first server receives a cabinet opening signal sent by a pickup application program on the pickup terminal, the first server controls the cabinet door of the target locker to open. The opening signal is sent after the opening control on the opening page is triggered.
To sum up, in the remote locker opening method for the shared locker provided in the embodiment of the present application, the first server determines the storage indication information after receiving the locker opening trigger request, obtains the locker opening page link corresponding to the target locker from the second server based on the storage indication information, and forwards the locker opening page link to the pickup terminal, so that the pickup terminal can jump to the pickup application program through the locker opening page link, thereby implementing remote locker opening of the shared locker. According to the method, redundant operation that the first server acquires the link of the opening page from the second server after each storage is completed is avoided, and the link of the opening page is acquired from the second server only for a user who uses the opening short link mode to open the cabinet remotely. The method saves a large amount of conversion resources for converting the storage indication information into the open-cabinet page link by the second server, avoids use limitation caused by limited daily conversion amount of the second server, ensures the repeated use of the shared storage cabinet, and improves the use efficiency of the shared storage cabinet.
In addition, the first server generates a long open cabinet link after the storage is completed, generates a short open cabinet link based on the long open cabinet link, and sends the short open cabinet link to the pickup terminal, so that a pickup notification received by the pickup terminal is concise and clear, the limit of short messages and other platforms to the message length cannot be exceeded, and the use is convenient and efficient. And the converted short chain and the original long chain have a corresponding relation, so that the safety and the accuracy of remote cabinet opening of the shared storage cabinet are ensured.
FIG. 6 is a flowchart illustrating a remote locker opening method for sharing a locker according to an exemplary embodiment of the present application. The embodiment shown in fig. 6 treats an HTTP request for requesting the contents of a web page with a long link for locker as a locker trigger request. For example, the method may be applied to a remote locker system of a shared locker shown in fig. 2 or 3, and the method is performed by the first server. The method differs from the embodiment shown in fig. 5 in the following steps.
Step 342: responding to the short-chain conversion request, and feeding back an open cabinet long link corresponding to the open cabinet short link to the pickup terminal based on the short link conversion service;
illustratively, after the first server receives a short link conversion request sent by the pickup terminal, the open short link is converted into an open long link based on a short link conversion service, and the open long link is fed back to the pickup terminal.
In one possible embodiment, a short link conversion service is operated on the first server, the first server converts the open short link into the open long link, and the open long link is fed back to the pickup terminal.
In another possible implementation manner, the first server converts the open short link into the open long link by calling a third server providing a short link service, and feeds the open long link back to the pickup terminal.
In another possible implementation manner, the short-chain switching request is sent to a third server by the pickup terminal, and the third server feeds back the opening length link to the pickup terminal. In the process of converting the open cabinet short link into the open cabinet long link, the first server does not participate or sense.
The short open cabinet link and the long open cabinet link have a corresponding relationship. The cabinet-opening short link is obtained by calculation according to a mapping rule based on the cabinet-opening long link; or determining the corresponding relation between the short open cabinet links and the long open cabinet links through the database. That is, the short open-cabinet link can be converted back to the long open-cabinet link by a reverse mapping rule or by querying a database.
Step 343: receiving an HTTP request for requesting the webpage content of the long links for opening the cabinet;
and after acquiring the long open cabinet link corresponding to the short open cabinet link, the pickup terminal sends an HTTP request for requesting the webpage content of the long open cabinet link to the first server. In this embodiment, the HTTP request is treated as a locker trigger request.
Illustratively, the pickup terminal sends an HTTP request for requesting the webpage content of the long open-cabinet link to the first server; the first server receives the HTTP request for requesting the web content for the open long link.
Step 344: and determining storage indication information corresponding to the short chain link of the opened cabinet based on the HTTP request.
In some embodiments, the HTTP request sent by the pickup terminal carries storage indication information corresponding to the open-cabinet short link. The first server reads the storage indication information carried in the HTTP request. Wherein, storing instruction information includes: at least one of a locker identification of the target locker, an identification of the pickup terminal, an express bill number of goods stored in the target locker and a goods order identification stored in the target locker.
In some embodiments, the HTTP request sent by the pickup terminal does not carry storage indication information corresponding to the short link for opening the cabinet. The first server determines an open cabinet long link corresponding to the HTTP request; and inquiring storage indicating information corresponding to the long chain of the cabinet opening. For example, the storage indicating information corresponding to the open chain link is inquired based on the corresponding relation between the pre-stored open chain link and the storage indicating information.
FIG. 7 is a flowchart illustrating a remote locker opening method for sharing a locker according to an exemplary embodiment of the present application. The embodiment shown in fig. 7 treats the web page trigger request as an open cabinet trigger request. For example, the method may be applied to a remote locker system of a shared locker shown in fig. 2 or 3, and the method is performed by a first server. The steps of the method and the embodiment shown in fig. 5 are as follows.
Step 345: responding to the short-chain conversion request, and feeding back the long open cabinet link corresponding to the short open cabinet link and the webpage of the long open cabinet link to the pickup terminal based on the short-chain conversion service;
illustratively, after the first server receives a short link conversion request sent by the pickup terminal, the open short link is converted into an open long link based on a short link conversion service, and the open long link is fed back to the pickup terminal. The pickup terminal sends an HTTP request for acquiring the webpage content of the long open-cabinet link to the first server. And responding to the HTTP request, and sending the webpage page corresponding to the open cabinet long link to the pickup terminal by the first server for feeding back to the pickup terminal.
In a possible implementation manner, a short link conversion service is run on the first server, the first server converts the open short link into the open long link, acquires the webpage resource corresponding to the open long link, and feeds back the open long link and the webpage corresponding to the open long link to the pickup terminal.
In another possible implementation manner, the first server converts the open short link into the open long link by calling a third server providing a short link service, acquires a webpage resource corresponding to the open long link, and feeds back the open long link and the webpage corresponding to the open long link to the pickup terminal.
In another possible implementation manner, the short-chain switching request is sent to a third server by the pickup terminal, and the third server feeds back the opening length link to the pickup terminal. In the process of converting the open cabinet short link into the open cabinet long link, the first server does not participate or sense.
As can be seen from the manner of generating the short open-cabinet link in step 312, the short open-cabinet link and the long open-cabinet link have a corresponding relationship. The open cabinet short link is obtained by calculation according to the mapping rule based on the open cabinet long link; or determining the corresponding relation between the short open cabinet links and the long open cabinet links through the database. That is, the short open-cabinet link can be converted back to the long open-cabinet link by a reverse mapping rule or by querying a database.
For example, after receiving the long open-cabinet link and the web page corresponding to the long open-cabinet link sent by the first server, the pickup terminal jumps to the web page corresponding to the long open-cabinet link, for example, as shown in the web page 20 in fig. 1.
Illustratively, the webpage page corresponding to the open-cabinet long link contains a trigger control for jumping to the open-cabinet page in the pickup application.
It should be noted that the webpage fed back to the pickup terminal by the first server has a corresponding relationship with the long open-cabinet link. On the webpage, by clicking the website input field, the website corresponding to the webpage can be viewed, namely the long link for opening the cabinet.
Step 346: under the condition of receiving a page triggering request, determining storage indication information corresponding to the open cabinet long chain connection;
the page triggering request is sent by the pickup terminal under the condition that a triggering control on the webpage is triggered. In this embodiment, the page triggering request is an open cabinet triggering request.
Under the condition that the page triggering request carries storage indicating information, the first server reads the storage indicating information carried in the page triggering request; under the condition that the page triggering request does not carry storage indicating information, the first server determines the long open cabinet link corresponding to the page triggering request, and inquires the storage indicating information corresponding to the long open cabinet link.
In some embodiments, the page triggering request sent by the pickup terminal carries storage indication information corresponding to the short link for opening the cabinet. The first server reads the storage indication information carried in the page triggering request. Wherein, storing indicating information includes: at least one of a locker identifier of the target locker, an identifier of the pickup terminal, an express bill number of the goods stored in the target locker and an article order identifier stored in the target locker.
In some embodiments, the page triggering request sent by the pickup terminal does not carry storage indication information corresponding to the short link of the open cabinet. The first server determines an open cabinet long link corresponding to the page triggering request; inquiring storage indication information corresponding to the long chain connection of the cabinet opening. For example, the storage indicating information corresponding to the open chain link is inquired based on the corresponding relation between the pre-stored open chain link and the storage indicating information.
Illustratively, the pickup terminal receives, in step 342, a webpage with a long open-shelf link sent by the first server, where the webpage includes a trigger control for jumping to an open-shelf page in the pickup application. And sending a page triggering request to the first server by the pickup terminal by triggering the triggering control.
Illustratively, the first server inquires storage indication information corresponding to the open cabinet long chain connection after receiving a page triggering request sent by the pickup terminal. The storage indication information includes: at least one of a locker identification of the target locker, an identification of the pickup terminal, an express bill number of goods stored in the target locker and a goods order identification stored in the target locker.
In step 310, the locker length link directly or indirectly includes storage indication information of the target locker. Therefore, based on the rule of generating the long chain of the cabinet opening, the storage indication information corresponding to the chain of the cabinet opening can be reversely inquired through the long chain of the cabinet opening.
In a possible implementation manner, after receiving a page triggering request sent by a pickup terminal, a first server obtains, based on a locker opening chain link query, a locker identifier of a target locker corresponding to the first server and an article order identifier stored in the target locker.
FIG. 8 is a flowchart illustrating a remote locker opening method for sharing a locker according to an exemplary embodiment of the present application. For example, the method can be applied to a remote locker opening system of a shared locker shown in fig. 2 or 3, and the method is executed by a pickup terminal. The method comprises the following steps.
Step 420: displaying the short open-cabinet link sent by the first server;
and after the pickup terminal receives the short open cabinet link sent by the first server, displaying the short open cabinet link sent by the first server on a user interface of the pickup terminal. The first server is a server for providing background services for the shared locker.
In a possible implementation manner, the first server sends the opening short link to the pickup terminal through the short message platform. And then, displaying the opening short link sent by the first server on an interface of a short message platform of the pickup terminal.
Step 440: responding to a triggering operation corresponding to the short link for opening the cabinet, and sending a cabinet opening triggering request to the first server;
the opening triggering request is a request sent after the opening short link on the pickup terminal is triggered. For example, the opening triggering request is a request sent after an opening short link on the pickup terminal is clicked; or the opening triggering request is a request sent after the opening short link on the pickup terminal is clicked and converted into the opening long link; or the opening triggering request is a request sent after a control on a webpage is clicked after an opening short link on the pickup terminal is clicked and a corresponding webpage of an opening long link is displayed.
Illustratively, a cabinet-opening triggering request is sent to the first server in response to a triggering operation corresponding to the cabinet-opening short link; or, in response to a trigger operation corresponding to the short open cabinet link, acquiring the long open cabinet link corresponding to the short open cabinet link from the first server or the third server; displaying the long chain of the open cabinet connected with the corresponding webpage; and responding to the triggering operation on the webpage corresponding to the long chain connection of the cabinet opening, and sending a cabinet opening triggering request to the first server.
In one possible implementation mode, the opening triggering request is a request sent after the opening short link on the pickup terminal is clicked. Illustratively, a user clicks the short open-cabinet link on the pickup terminal, and the pickup terminal sends an open-cabinet trigger request to the first server, where the open-cabinet trigger request is a short-link service request for requesting to convert the short open-cabinet link into the long open-cabinet link.
In one possible implementation mode, the opening triggering request is a request sent after an opening short link on the pickup terminal is clicked and converted into an opening long link. Illustratively, a user clicks the short open-cabinet link on the pickup terminal, and the pickup terminal acquires the long open-cabinet link corresponding to the short open-cabinet link from the first server or the third server, wherein the third server is a server providing short link conversion service. After acquiring the long open-cabinet link, the pickup terminal sends an open-cabinet trigger request to the first server, wherein the open-cabinet trigger request is an HTTP request for requesting the webpage content of the long open-cabinet link.
In a possible implementation manner, the opening triggering request is a request sent after a control on a webpage is clicked after an opening short link on the pickup terminal is clicked and a webpage corresponding to the opening long link is displayed. Illustratively, after a user clicks the short open-cabinet link on the pickup terminal, the pickup terminal also receives a webpage corresponding to the long open-cabinet link fed back by the first server, and the webpage displays a control for controlling the open-cabinet; after the control on the webpage is clicked, the pickup terminal sends a cabinet-opening triggering request to the first server, namely the cabinet-opening triggering request is a webpage triggering request.
Illustratively, the storage indication information is carried in the opening triggering request; or the cabinet opening triggering request corresponds to the cabinet opening short link or the cabinet opening long link without carrying storage indication information.
In one possible implementation mode, in response to a trigger operation corresponding to the short open-cabinet link, acquiring a long open-cabinet link corresponding to the short open-cabinet link from a first server or a third server, wherein the third server is a server providing short link conversion service; acquiring storage indication information corresponding to a target storage cabinet from the long open cabinet link or the long open cabinet link corresponding webpage content; and sending a cabinet opening triggering request carrying storage indication information to the first server.
In one possible implementation manner, in response to a triggering operation corresponding to the short open cabinet link, the long open cabinet link corresponding to the short open cabinet link is acquired from the first server or the third server; displaying the long chain of the open cabinet to be connected with the corresponding webpage; and responding to the triggering operation on the webpage corresponding to the long chain connection of the cabinet opening, and sending a cabinet opening triggering request to the first server.
Step 460: receiving an open-cabinet page link fed back by a first server;
the opening page link is used for calling a pickup application program on the pickup terminal to display an opening page corresponding to the target locker, and the opening page comprises an opening control used for opening the target locker. For example, the opening control is a one-key opening button.
The second server is a server that provides background services for the host program. The pickup application program is an applet running on the host program, or the applet is a program running on an application platform corresponding to the second server.
Illustratively, after receiving a locker opening triggering request sent by the pickup terminal, the first server determines a storage indication request of a target locker, acquires a locker opening page link through the second server, and forwards the locker opening page link to the pickup terminal.
In a possible implementation mode, the storage indication information is carried in the cabinet opening triggering request sent by the pickup terminal. The first server reads storage indicating information carried in the cabinet opening triggering request after receiving the cabinet opening triggering request sent by the pickup terminal, acquires the cabinet opening page link through the second server based on the storage indicating information, and forwards the cabinet opening page link to the pickup terminal.
In another possible implementation manner, the storage indication information is not carried in the opening triggering request sent by the pickup terminal, but the opening triggering request corresponds to the opening short link. The first server determines an opening short link corresponding to the opening triggering request; and inquiring storage indicating information corresponding to the short chain joint of the opened cabinet. For example, when the short link switching service is provided by the first server, the cabinet opening triggering request is a short link service request for requesting to switch an open short link to an open long link, the first server determines the open short link according to the short link service request, and inquires storage indication information corresponding to the open short link based on a pre-stored correspondence between the open short link and the storage indication information; and acquiring the open cabinet page link through a second server based on the storage indication information, and forwarding the open cabinet page link to the pickup terminal.
In another possible implementation manner, the storage indication information is not carried in the opening triggering request sent by the pickup terminal, but the opening triggering request corresponds to the opening chain link. The first server determines an open cabinet long link corresponding to the open cabinet triggering request, wherein the open cabinet long link is a long link corresponding to the open cabinet short link; and inquiring storage indicating information corresponding to the long chain of the cabinet opening. For example, under the condition that the short link conversion service is provided by a third server, the pickup terminal firstly acquires an open cabinet long link corresponding to the open cabinet short link from the third server, and then sends an open cabinet triggering request to a first server, wherein the open cabinet triggering request is an HTTP request for requesting the webpage content of the open cabinet long link, the first server determines the open cabinet long link according to the HTTP request, and inquires storage indication information corresponding to the open cabinet long link based on the pre-stored corresponding relation between the open cabinet long link and the storage indication information; and acquiring the open cabinet page link through a second server based on the storage indication information, and forwarding the open cabinet page link to the pickup terminal.
Illustratively, the pickup terminal receives the open-cabinet page link fed back by the first server.
Step 480: and calling a pickup application program to display a cabinet opening page corresponding to the target cabinet based on the cabinet opening page link.
The locker opening page comprises a locker opening control used for opening the target locker. For example, the opening control is a one-key opening button. In addition, the locker opening page may further include information such as a target locker cabinet number, a target locker position, and the like.
Illustratively, after receiving the open-cabinet page link fed back by the first server, the pickup terminal invokes the pickup application program to display the open-cabinet page corresponding to the target locker based on the open-cabinet page link; that is, the user jumps to the pickup application program through the open-cabinet page link, and the pickup application program displays the open-cabinet page corresponding to the target locker.
Illustratively, a user triggers the opening control by clicking the opening control on the opening page; the pickup terminal sends a cabinet opening signal to the first server based on the pickup application program; and after receiving the cabinet opening signal, the first server controls the target cabinet to be opened.
To sum up, in the remote cabinet opening method for a shared locker provided by the embodiment of the present application, a cabinet opening trigger request is sent to the first server through the short cabinet opening link that triggers the pickup terminal; and calling the pickup application program after receiving the open cabinet page link sent by the first server, so that the pickup application program displays the open cabinet page, and the control of the open cabinet signal is realized. In the method, the open cabinet short link triggered by the pickup terminal is generated by a first server but not by a second server; after the open short link is triggered, the first server asks the second server for the open page link. In the mode, the short uncapped links do not need to be converted into uncapped page links through the second server, so that the resource consumption of the second server is reduced, the limitation of the second server on daily conversion amount is avoided, and the use efficiency of the shared storage cabinet is improved.
FIG. 9 is a flowchart illustrating a remote locker opening method for sharing a locker according to an exemplary embodiment of the present application. In this embodiment, the pickup application is taken as an applet, the applet is a program running on an application platform corresponding to the second server, and the locker opening trigger request is taken as a page trigger request, so as to show the remote locker opening method of the shared locker. For example, the method can be applied to a remote locker system of a shared locker shown in fig. 2 or fig. 3, and the method is executed by a pickup terminal. The method comprises the following steps.
Step 510: receiving an open cabinet short link sent by a first server;
illustratively, the first server generates an open long link based on storage instruction information corresponding to a target storage cabinet, and then sends the open long link to the pickup terminal based on a short link switching service of the first server or calls a third server providing the short link switching service; and the pickup terminal receives the open cabinet short link sent by the first server. The first server is a server for providing background services for the shared locker.
In a possible implementation manner, the first server sends the opening short link to the pickup terminal through a short message platform. And the pickup terminal receives a short message sent by the first server through the short message platform, wherein the short message carries the opening short link.
Step 520: displaying the short open-cabinet link sent by the first server;
and after the pickup terminal receives the opening short link sent by the first server, displaying the opening short link sent by the first server on a user interface of the pickup terminal.
In a possible implementation manner, the first server sends the opening short link to the pickup terminal through a short message platform. Then the short message containing the opening short link is displayed on the interface of the short message platform of the pickup terminal.
Step 542: responding to a trigger operation corresponding to the short open-cabinet link, and acquiring the long open-cabinet link corresponding to the short open-cabinet link from the first server or the third server;
illustratively, the user triggers the open short link, for example, clicking the open short link in the short message sent by the first server to the pickup terminal.
Illustratively, after the triggering operation corresponding to the short open-cabinet link is implemented, the pickup terminal acquires the long open-cabinet link corresponding to the short open-cabinet link from the first server or a third server, where the third server is a server providing short link conversion service.
In one possible embodiment, a short link switching service is run on the first server, i.e. no additional third server is required. And after the pickup terminal triggers the open cabinet short link, the pickup terminal acquires the open cabinet long link corresponding to the open cabinet short link from the first server.
In another possible embodiment, the short link switching service is provided by a third server. And after the pickup terminal triggers the open cabinet short link, the pickup terminal acquires the open cabinet long link corresponding to the open cabinet short link by calling a third server.
In another possible embodiment, the short link switching service is provided by a third server. After the pickup terminal triggers the open cabinet short link, the first server converts the open cabinet short link into an open cabinet long link by calling the third server, and sends the open cabinet long link to the pickup terminal.
Step 544: acquiring storage indication information corresponding to a target storage cabinet from the long open cabinet link or the long open cabinet link corresponding webpage content;
the storage indication information includes: at least one of a locker identifier of the target locker, an identifier of the pickup terminal, an express bill number of the goods stored in the target locker and an article order identifier stored in the target locker.
Illustratively, the pickup terminal sends an HTTP request for requesting the web content of the long open-cabinet link to the first server after acquiring the long open-cabinet link corresponding to the short open-cabinet link. And responding to the HTTP request, and sending a webpage corresponding to the open cabinet long link to the pickup terminal by the first server. And acquiring storage indication information corresponding to the target storage cabinet from the long open cabinet link or the webpage content corresponding to the long open cabinet link by the pickup terminal.
In one possible implementation mode, the pickup terminal acquires storage indication information corresponding to the target storage cabinet from the cabinet opening long link. The long open cabinet link is generated by the first server according to the storage indication information, namely, the long open cabinet link directly or indirectly contains the storage indication information of the target storage cabinet. Therefore, the pickup terminal can directly acquire storage indication information corresponding to the target storage cabinet from the cabinet opening long link.
In another possible implementation manner, after the pickup terminal acquires the long open cabinet link, the pickup terminal sends an HTTP request for requesting the web content of the long open cabinet link to the first server. And responding to the HTTP request, and sending a webpage corresponding to the open cabinet long link to the pickup terminal by the first server. And the pickup terminal acquires storage indication information corresponding to the target storage cabinet through the webpage resource corresponding to the webpage.
The method and the device do not limit the mode that the pickup terminal acquires the storage indication information corresponding to the target storage cabinet.
Step 546: sending a cabinet opening triggering request carrying storage indication information to a first server;
illustratively, after the article taking terminal acquires the article storage indication information corresponding to the target storage cabinet, the article storage indication information is carried in the cabinet opening trigger request and is sent to the first server.
In a possible implementation manner, after the pickup terminal acquires the long open cabinet link, the pickup terminal sends an HTTP request for requesting the web content of the long open cabinet link to the first server, where the HTTP request carries storage indication information and can be regarded as an open cabinet trigger request.
In another possible implementation manner, after the pickup terminal acquires the long open cabinet link, the pickup terminal sends an HTTP request for requesting the web content of the long open cabinet link to the first server. Responding to the HTTP request, the first server sends a webpage corresponding to the open cabinet long link to the pickup terminal, and the webpage comprises a control. And after triggering the control, the pickup terminal sends a webpage triggering request to the first server, wherein the webpage triggering request is used for indicating that the control on the webpage is triggered. The webpage trigger request carries storage indication information and can be regarded as a cabinet opening trigger request.
Step 560: receiving an open-cabinet page link fed back by a first server;
illustratively, after receiving a cabinet opening triggering request sent by a pickup terminal, a first server obtains storage indicating information in the cabinet opening triggering request, obtains a cabinet opening page link through a second server based on the storage indicating information, and forwards the cabinet opening page link to the pickup terminal. And the second server is a server for providing background service for the host program. The pickup application program is an applet running on the host program, or the applet is a program running on an application platform corresponding to the second server. The opening page link is used for calling a pickup application program on the pickup terminal to display an opening page corresponding to the target locker; the locker opening page comprises a locker opening control used for opening the target locker.
In a possible implementation manner, after receiving a cabinet opening triggering request sent by a pickup terminal, a first server reads storage indicating information carried in the cabinet opening triggering request, acquires a cabinet opening page link through a second server based on the storage indicating information, and forwards the cabinet opening page link to the pickup terminal.
In another possible implementation manner, after receiving a request for triggering the opening of the locker sent by the pickup terminal, the first server feeds back a long opening link corresponding to the short opening link and a webpage of the long opening link to the pickup terminal based on the short link switching service. And the pickup terminal triggers a page triggering request on the webpage corresponding to the open cabinet long link. After receiving the page triggering request, the first server inquires storage indicating information corresponding to the open cabinet long link, obtains the open cabinet page link through the second server based on the storage indicating information, and forwards the open cabinet page link to the pickup terminal.
Illustratively, the pickup terminal receives the open-cabinet page link fed back by the first server.
Step 580: calling a pickup application program to display a cabinet opening page corresponding to the target cabinet based on the cabinet opening page link;
illustratively, after receiving the open-cabinet page link fed back by the first server, the pickup terminal invokes the pickup application program to display the open-cabinet page corresponding to the target locker based on the open-cabinet page link; that is, through the open-cabinet page link, the pickup terminal jumps to the pickup application program, and the pickup application program displays the open-cabinet page corresponding to the target locker. The opening page comprises an opening control for opening the target locker, and in addition, the opening page can also comprise information such as the cabinet number of the target locker, the position of the target locker and the like.
Step 590: and responding to the triggering operation corresponding to the opening control on the opening page, and sending an opening signal to the first server based on the pickup application program.
The cabinet opening signal is used for triggering the first server to control the cabinet door of the target cabinet to be opened.
Illustratively, a user triggers the opening control by clicking the opening control on the opening page; the pickup terminal sends a cabinet opening signal to the first server based on the pickup application program; and after receiving the cabinet opening signal, the first server controls the target cabinet to be opened.
To sum up, in the remote locker opening method for a shared locker provided by the embodiment of the present application, the short locker link is converted into the long locker link by triggering the short locker link of the pickup terminal, so as to obtain the storage instruction information, and the information is carried in the locker opening trigger request and sent to the first server; and calling the pickup application program after receiving the open cabinet page link sent by the first server, so that the pickup application program displays the open cabinet page, and the control of the open cabinet signal is realized. In the method, the open short link triggered by the pickup terminal is generated by a first server but not generated by a second server; after the open short link is triggered, the first server asks the second server for the open page link. In the mode, the short uncapped links do not need to be converted into the uncapped page links through the second server, so that the waste of conversion resources caused by the fact that the second server is required to convert every time the shared locker is used is avoided, the use efficiency of the shared locker is improved, and the throughput of the shared locker is improved.
The specific steps of the remote locker opening method for the shared locker are shown above, and the cooperative implementation mode of the remote locker opening method for the shared locker between the server and the pickup terminal is shown below.
FIG. 10 is a flowchart illustrating a remote locker opening method for sharing a locker according to an exemplary embodiment of the present application. For example, the method may be applied to the remote locker opening system of shared locker shown in fig. 3, and executed by the first server, the second server and the pickup terminal. The method comprises the following steps.
Step 601: the first server receives a storage completion message;
after the articles to be taken are stored in the target storage cabinet, the first server receives a storage completion message.
Illustratively, the storage completion information is used for indicating that the article to be taken is stored in the target storage cabinet, and the user needs to be informed to take the article. The storage completion information can carry information indicating that the cabinet door of the storage cabinet is closed; or the storage completion information may carry an identifier of the pickup user, such as a mobile phone number; or the storage completion information may carry an identifier of an article order or an express order number, and the like. This application is accomplished information and is not restricted to the storing.
Step 602: the first server determines a locker identifier and a storage order identifier;
the storage indication information comprises a locker identifier of the target locker and an article order identifier stored in the target locker. The first server may determine a locker identification and a storage order identification by receiving a storage completion message; or, the storage cabinet identifier and the storage order identifier are determined through input information of storage personnel; or, confirming the identity of the storage cabinet through the closed cabinet door; or confirming the storage order mark through the scanned order, and the like. The method for determining the locker identification and the storage order identification by the first server is not limited by the application.
Step 603: the first server generates a long open cabinet link according to the storage cabinet identifier and the storage order identifier;
the first server generates a cabinet opening long chain connection based on the storage cabinet identifier and the storage order identifier corresponding to the target storage cabinet, wherein the cabinet opening long chain connection comprises information content corresponding to the storage cabinet identifier and the storage order identifier. It should be noted that the locker opening length link may directly or indirectly include information content corresponding to the locker identification and the storage order identification; that is, the locker identifier and the article order identifier of the target locker may be directly included in the locker open link, or information contents indirectly corresponding to the locker identifier and the article order identifier of the target locker may be included in the locker open link.
Step 604: the first server generates an open cabinet short link based on the open cabinet long link;
under the condition that a short link switching service runs on the first server, the long open-cabinet link is generated into the short open-cabinet link based on the short link switching service provided by the first server. The converted short open cabinet link and the long open cabinet link before conversion have a corresponding relation.
Step 605: the first server sends the open cabinet short link to the pickup terminal;
and after the first server obtains the opening short link through conversion, the opening short link is sent to the pickup terminal.
Step 606: triggering the open cabinet short link by the pickup terminal;
and after receiving the open cabinet short link, the pickup terminal triggers the open cabinet short link. For example, the user triggers the pick-up notice short message by clicking a short open-cabinet link in the short message.
Step 607: the pickup terminal accesses a first server;
and the pickup terminal accesses the first server after triggering the open short link.
Illustratively, in response to a triggering operation corresponding to the short link for opening the cabinet, the pickup terminal sends a triggering request for opening the cabinet to the first server. The open-cabinet trigger request may be any one of a short-chain service request for converting an open-cabinet short link into an open-cabinet long link and an HTTP request for requesting web content of the open-cabinet long link.
Step 608: the first server transmits parameters such as a storage cabinet identifier or a storage order identifier to the second server;
the first server reads storage indication information carried in the cabinet opening triggering request; or, determining an opening short link corresponding to the opening triggering request; inquiring storage indication information corresponding to the cabinet-opening short link; or determining an opening long link corresponding to the opening triggering request, wherein the opening long link is a long link corresponding to the opening short link; and inquiring storage indicating information corresponding to the long chain of the cabinet opening.
The first server sends the obtained storage indication information, such as parameters of locker identification and storage order identification, to the second server.
Step 609: the second server generates an open-cabinet page link;
and the second server generates a cabinet opening page link according to the parameters such as the storage cabinet identifier, the storage order identifier and the like, the cabinet opening page link is used for invoking a pickup application program on the pickup terminal to display a cabinet opening page corresponding to the target storage cabinet, and the cabinet opening page comprises a cabinet opening control used for opening the target storage cabinet.
Step 610: the second server sends the opening page to be linked to the first server;
and the second server sends the generated open-cabinet page link to the first server.
Step 611: the first server sends a cabinet opening page to be linked to the pickup terminal;
and after receiving the open cabinet page link sent by the second server, the first server forwards the open cabinet page link to the pickup terminal.
Step 612: the pickup terminal receives the link of the page of the opening cabinet;
and the pickup terminal receives the open-cabinet page link sent by the first server.
Step 613: the pickup terminal analyzes and acquires a locker identifier and a storage order identifier in the open-locker page link;
the pickup terminal analyzes based on the open-cabinet page link, invokes a pickup application program, and obtains page parameters of the open-cabinet page, such as a locker identifier and a storage order identifier.
Step 614: the pickup terminal generates and displays an opening page comprising an opening control according to the received page parameters;
and the pickup terminal generates an opening page according to the page parameters acquired from the opening page link, and displays the opening page through the picked pickup application program, wherein an opening control, such as a one-key opening button, is displayed on the opening page.
Step 615: the opening control is triggered, and the taking terminal sends an opening signal to the first server.
After the opening control is triggered, for example, after the user clicks a button for opening the cabinet, the pickup terminal sends an opening signal to the first server. The first server controls the cabinet door of the target locker to be opened.
The dotted line on the left side of FIG. 10, steps 616-618, illustrates the difference when the remote locker system sharing the locker is the system shown in FIG. 2. That is, in the case where the short link switching service is not provided on the first server, but the third server is required to provide the short link switching service, step 604 needs to be replaced by step 616 to step 618, and the pick-up terminal needs to acquire the open cabinet long link corresponding to the open cabinet short link from the third server in step 607. The specific implementation steps are as follows.
Step 616: the first server sends the open cabinet long chain to be connected to the third server;
and the first server calls the third server and sends the long open-cabinet link to the third server.
Step 617: the third server converts the open cabinet long link into an open cabinet short link;
and the third server for providing the short link conversion service converts the open cabinet long link into the open cabinet short link.
Step 618: and the third server sends the open short link to the first server.
And after the conversion is finished, the third server sends the converted open cabinet short link to the first server.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Fig. 11 is a block diagram illustrating a remote locker opening device sharing a locker according to an exemplary embodiment of the present application. The device comprises:
the receiving module 710 is configured to receive a cabinet opening trigger request, where the cabinet opening trigger request is a request sent after a cabinet opening short link on a pickup terminal is triggered;
a determining module 720, configured to determine, based on the locker opening trigger request, storage indication information corresponding to the locker opening short link, where the storage indication information is associated with a target locker;
an obtaining module 730, configured to obtain, based on the storage indication information, a locker opening page link corresponding to the target locker from a second server;
the sending module 740 is configured to send the open page link to the pickup terminal, where the open page link is used to invoke a pickup application on the pickup terminal to display an open page corresponding to the target locker, and the open page includes an open control for opening the target locker.
In a possible design, the determining module 720 is configured to read the storage indication information carried in the opening triggering request; or, determining the cabinet opening short link corresponding to the cabinet opening triggering request; inquiring the storage indication information corresponding to the open cabinet short link; or determining an open cabinet long link corresponding to the open cabinet triggering request, wherein the open cabinet long link is a long link corresponding to the open cabinet short link; and inquiring the storage indicating information corresponding to the long chain of the open cabinet.
In one possible design, the storage indication information includes: at least one of a locker identifier of the target locker, an identifier of the pickup terminal, an express bill number of goods stored in the target locker and an article order identifier stored in the target locker.
In one possible design, the apparatus further includes a generation module 750. The generating module 750 is configured to generate the open-cabinet long link based on the storage indication information corresponding to the target locker when the storage completion information of the target locker is received; the generating module 750 is further configured to generate the long open-cabinet link into the short open-cabinet link based on short link switching service, or call a third server to generate the long open-cabinet link into the short open-cabinet link; the sending module 740 is configured to send the opening short link to the pickup terminal.
In a possible design, the sending module 740 is configured to send the opening short link to the pickup terminal through a short message platform.
In one possible design, the apparatus further includes a control module 760. The control module 760 is configured to control the door of the target locker to open when receiving a locker opening signal sent by the pickup application program; the cabinet opening signal is sent after the cabinet opening control on the cabinet opening page is triggered.
In one possible design, the pickup application is an applet, and the applet is a program running on an application platform corresponding to the second server.
Fig. 12 is a block diagram illustrating a remote cabinet opening device sharing a locker according to an exemplary embodiment of the present application. The device comprises:
the display module 810 is configured to display the open short link sent by the first server;
a sending module 820, configured to send a cabinet opening triggering request to the first server in response to a triggering operation corresponding to the cabinet opening short link;
a receiving module 830, configured to receive the open-shelf page link fed back by the first server;
a calling module 840, configured to call a pickup application to display a locker opening page corresponding to a target locker based on the locker opening page link, where the locker opening page includes a locker opening control for opening the target locker.
In a possible design, the sending module 820 further includes an obtaining sub-module 822 and a sending sub-module 824, where the obtaining sub-module 822 is configured to, in response to a trigger operation corresponding to the short open-cabinet link, obtain a long open-cabinet link corresponding to the short open-cabinet link from the first server or the third server; the obtaining sub-module 822 is configured to obtain storage indication information corresponding to the target storage cabinet from the long open cabinet link or the web content corresponding to the long open cabinet link; the sending submodule 824 is configured to send the opening triggering request carrying the storage indication information to the first server.
In one possible design, the sending module 820 further includes a display sub-module 826. The sending submodule 824 is configured to send the opening triggering request to the first server in response to the triggering operation corresponding to the opening short link; or, the obtaining sub-module 822 is configured to obtain, in response to the trigger operation corresponding to the short open-cabinet link, a long open-cabinet link corresponding to the short open-cabinet link from the first server or the third server; the display submodule 826 is used for displaying the webpage corresponding to the open cabinet long link; the sending submodule 824 is configured to send the opening triggering request to the first server in response to a triggering operation on a webpage corresponding to the long opening link.
The obtaining submodule 822 is configured to obtain, in response to a trigger operation corresponding to the open short link, an open long link corresponding to the open short link from the first server or the third server; the display submodule 826 is used for displaying a webpage in a long link mode based on the cabinet opening; the sending submodule 824 is configured to send the opening triggering request to the first server in response to a triggering operation on the web page.
In one possible design, the storage indication information includes: at least one of a locker identification of the target locker, an identification of the pickup terminal, an express bill number of goods stored in the target locker and a goods order identification stored in the target locker.
In a possible design, the receiving module 830 is further configured to receive the short open-cabinet link sent by the first server.
In a possible design, the receiving module 830 is further configured to receive a short message sent by the first server through a short message platform, where the short message carries the open-cabinet short link.
In one possible design, the sending module 820 is configured to send, based on the pickup application, an open signal to the first server in response to a triggering operation corresponding to the open control on the open page, where the open signal is used to trigger the first server to control the door of the target locker to open.
In one possible design, the pickup application is an applet, and the applet is a program running on an application platform corresponding to the second server.
Fig. 13 is a schematic diagram illustrating a configuration of a server, according to an example embodiment. The server 1300 includes a Central Processing Unit (CPU) 1301, a system Memory 1304 including a Random Access Memory (RAM) 1302 and a Read-Only Memory (ROM) 1303, and a system bus 1305 connecting the system Memory 1304 and the CPU 1301. The computer device 1300 also includes a basic Input/Output system (I/O system) 1306, which facilitates transfer of information between devices within the computer device, and a mass storage device 1307 for storing an operating system 1313, application programs 1314 and other program modules 1315.
The basic input/output system 1306 includes a display 1308 for displaying information and an input device 1309, such as a mouse, keyboard, etc., for a user to input information. Wherein the display 1308 and input device 1309 are connected to the central processing unit 1301 through an input-output controller 1310 connected to a system bus 1305. The basic input/output system 1306 may also include an input/output controller 1310 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, the input-output controller 1310 also provides output to a display screen, a printer, or other type of output device.
The mass storage device 1307 is connected to the central processing unit 1301 through a mass storage controller (not shown) connected to the system bus 1305. The mass storage device 1307 and its associated computer device-readable media provide non-volatile storage for the computer device 1300. That is, the mass storage device 1307 may include a computer device readable medium (not shown) such as a hard disk or Compact Disc-Only Memory (CD-ROM) drive.
Without loss of generality, the computer device readable media may comprise computer device storage media and communication media. Computer device storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer device readable instructions, data structures, program modules or other data. Computer device storage media includes RAM, ROM, Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), CD-ROM, Digital Video Disk (DVD), or other optical, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that the computer device storage media is not limited to the foregoing. The system memory 1304 and mass storage device 1307 described above may be collectively referred to as memory.
The server 1300 may also operate according to remote computer devices connected to a network via a network, such as the internet, according to various embodiments of the present disclosure. That is, the computer device 1300 may be connected to the network 1311 through a network interface unit 1312 coupled to the system bus 1305, or alternatively, the network interface unit 1312 may be used to connect to other types of networks or remote computer device systems (not shown).
The memory further includes one or more programs, the one or more programs are stored in the memory, and the central processor 1301 executes the one or more programs to implement all or part of the steps of the remote locker opening method of the shared locker.
In an exemplary embodiment, a computer readable storage medium is further provided, in which at least one instruction, at least one program, a code set, or a set of instructions is stored, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by a processor to implement the remote locker opening method provided in the above-mentioned method embodiments.
In an exemplary embodiment, there is also provided a computer program product or a computer program comprising computer instructions stored in a computer readable storage medium, the computer instructions being read by a processor of a communication device from the computer readable storage medium, the processor executing the computer instructions to cause the communication device to perform the method for remote locker opening of a shared locker as described in the above aspect.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (19)

1. A remote locker opening method for a shared locker, the method performed by a first server, the method comprising:
receiving a cabinet opening triggering request, wherein the cabinet opening triggering request is a request sent after a cabinet opening short link on a pickup terminal is triggered;
determining storage indication information corresponding to the open cabinet short link based on the open cabinet trigger request, wherein the storage indication information is associated with a target storage cabinet;
acquiring an open cabinet page link corresponding to the target locker from a second server based on the storage indication information;
and sending the opening page link to the pickup terminal, wherein the opening page link is used for calling a pickup application program on the pickup terminal to display an opening page corresponding to the target locker, and the opening page comprises an opening control for opening the target locker.
2. The method of claim 1, wherein the determining storage indication information corresponding to the open cabinet short link based on the open cabinet trigger request comprises:
reading the storage indication information carried in the cabinet opening triggering request;
or the like, or a combination thereof,
determining the cabinet opening short link corresponding to the cabinet opening triggering request; inquiring the storage indication information corresponding to the short chain joint of the open cabinet;
or the like, or, alternatively,
determining an open cabinet long link corresponding to the open cabinet triggering request, wherein the open cabinet long link is a long link corresponding to the open cabinet short link; and inquiring the storage indication information corresponding to the long chain connection of the cabinet opening.
3. The method of claim 2, wherein the storage indication information comprises: at least one of a locker identifier of the target locker, an identifier of the pickup terminal, an express bill number of goods stored in the target locker and an article order identifier stored in the target locker.
4. The method of claim 2, further comprising:
under the condition that storage completion information of the target locker is received, generating the open locker long link based on the storage indication information corresponding to the target locker;
generating the long open cabinet chain into the short open cabinet link based on short link conversion service, or calling a third server to generate the long open cabinet chain into the short open cabinet link;
and sending the opening short link to the pickup terminal.
5. The method of claim 4, wherein sending the open bin short link to the pickup terminal comprises:
and sending the opening short link to the pickup terminal through a short message platform.
6. The method of any of claims 1 to 5, further comprising:
under the condition that a cabinet opening signal sent by the pickup application program is received, controlling the cabinet door of the target cabinet to be opened;
the opening signal is sent after the opening control on the opening page is triggered.
7. The method of claim 6, wherein the pickup application is an applet, and the applet is a program running on an application platform corresponding to the second server.
8. A remote locker opening method of a shared locker, which is characterized in that the method is executed by a pickup terminal, and the method comprises the following steps:
displaying the short open-cabinet link sent by the first server;
responding to the triggering operation corresponding to the short chain for opening the cabinet, and sending a cabinet opening triggering request to the first server;
receiving an open-cabinet page link fed back by the first server, wherein the open-cabinet page link is acquired from a second server by the first server after receiving the open-cabinet trigger request;
and calling a pickup application program to display a cabinet opening page corresponding to the target locker based on the cabinet opening page link, wherein the cabinet opening page comprises a cabinet opening control used for opening the target locker.
9. The method according to claim 8, wherein the sending a locker triggering request to the first server in response to the triggering operation corresponding to the locker short link comprises:
responding to a trigger operation corresponding to the short open cabinet link, and acquiring a long open cabinet link corresponding to the short open cabinet link from the first server or the third server;
acquiring storage indication information corresponding to the target locker from the long locker open link or the webpage content corresponding to the long locker open link;
and sending the opening triggering request carrying the storage indication information to the first server.
10. The method according to claim 8, wherein the sending a bin opening trigger request to the first server in response to the trigger operation corresponding to the bin opening short link includes:
responding to the triggering operation corresponding to the short open cabinet link, and sending the open cabinet triggering request to the first server;
or the like, or, alternatively,
responding to a trigger operation corresponding to the short open cabinet link, and acquiring a long open cabinet link corresponding to the short open cabinet link from the first server or the third server; displaying the corresponding webpage connected with the long chain of the open cabinet; and responding to the triggering operation on the webpage corresponding to the long open cabinet link, and sending the open cabinet triggering request to the first server.
11. The method of claim 9, wherein the storage indication information comprises: at least one of a locker identifier of the target locker, an identifier of the pickup terminal, an express bill number of goods stored in the target locker and an article order identifier stored in the target locker.
12. The method according to any one of claims 8 to 10, further comprising:
and receiving the opening short link sent by the first server.
13. The method of claim 12, wherein the receiving the open short link sent by the first server comprises:
and receiving a short message sent by the first server through a short message platform, wherein the short message carries the opening short link.
14. The method according to any one of claims 8 to 10, further comprising:
responding to a triggering operation corresponding to the opening control on the opening page, and sending an opening signal to the first server based on the pickup application program, wherein the opening signal is used for triggering the first server to control the opening of a cabinet door of the target locker.
15. The method of claim 14, wherein the pickup application is an applet, and the applet is a program running on an application platform corresponding to the second server.
16. A remote locker opener arrangement for sharing a locker, the arrangement comprising:
the receiving module is used for receiving a cabinet opening triggering request, wherein the cabinet opening triggering request is a request sent after a cabinet opening short link on the pickup terminal is triggered;
the determining module is used for determining storage indicating information corresponding to the open short link based on the open triggering request, and the storage indicating information is associated with a target locker;
the acquisition module is used for acquiring an open cabinet page link corresponding to the target locker from a second server based on the storage indication information;
the sending module is used for sending the open-cabinet page link to the pickup terminal, the open-cabinet page link is used for invoking a pickup application program on the pickup terminal to display an open-cabinet page corresponding to the target locker, and the open-cabinet page comprises an open-cabinet control used for opening the target locker.
17. A remote locker opener arrangement for sharing a locker, the arrangement comprising:
the display module is used for displaying the open cabinet short link sent by the first server;
the sending module is used for responding to the triggering operation corresponding to the cabinet opening short link and sending a cabinet opening triggering request to the first server;
the receiving module is used for receiving the open cabinet page link fed back by the first server, wherein the open cabinet page link is acquired from a second server by the first server after receiving the open cabinet triggering request;
and the calling module is used for calling a pickup application program to display a cabinet opening page corresponding to the target locker based on the cabinet opening page link, and the cabinet opening page comprises a cabinet opening control used for opening the target locker.
18. A computer apparatus, comprising a processor, a memory coupled to the processor, and program instructions stored on the memory, wherein the processor, when executing the program instructions, implements the method for remote locker opening of a shared locker of any of claims 1 to 7 or the method for remote locker opening of a shared locker of any of claims 8 to 15.
19. A computer readable storage medium having stored thereon program instructions, wherein the program instructions, when executed by a processor, implement the method for remote opening of a shared locker of any of claims 1 to 7 or the method for remote opening of a shared locker of any of claims 8 to 15.
CN202210665149.6A 2022-06-14 2022-06-14 Remote cabinet opening method, device, equipment and storage medium of shared cabinet Active CN114760286B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210665149.6A CN114760286B (en) 2022-06-14 2022-06-14 Remote cabinet opening method, device, equipment and storage medium of shared cabinet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210665149.6A CN114760286B (en) 2022-06-14 2022-06-14 Remote cabinet opening method, device, equipment and storage medium of shared cabinet

Publications (2)

Publication Number Publication Date
CN114760286A CN114760286A (en) 2022-07-15
CN114760286B true CN114760286B (en) 2022-09-23

Family

ID=82336126

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210665149.6A Active CN114760286B (en) 2022-06-14 2022-06-14 Remote cabinet opening method, device, equipment and storage medium of shared cabinet

Country Status (1)

Country Link
CN (1) CN114760286B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115880832B (en) * 2023-02-03 2023-10-20 北京三快在线科技有限公司 Method and device for accessing parts of intelligent storage cabinet, electronic equipment and storage medium
CN116913011A (en) * 2023-08-28 2023-10-20 深圳市易安格实业有限公司 Intelligent cabinet storing and taking system and method based on Internet of things
CN116974415A (en) * 2023-09-20 2023-10-31 浙江口碑网络技术有限公司 Information interaction method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104464107A (en) * 2014-10-31 2015-03-25 合肥金邻信息科技有限公司 Intelligent express ark system oriented to multiple users for simultaneous pickup and implementation method thereof
CN112233336A (en) * 2020-12-08 2021-01-15 浙江口碑网络技术有限公司 Cabinet opening control method, user side, computing equipment and computer storage medium
CN112968977A (en) * 2021-05-14 2021-06-15 浙江口碑网络技术有限公司 Information interaction method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020041952A1 (en) * 2018-08-27 2020-03-05 华为技术有限公司 Method and electronic apparatus for controlling express delivery cabinet on the basis of express delivery message

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104464107A (en) * 2014-10-31 2015-03-25 合肥金邻信息科技有限公司 Intelligent express ark system oriented to multiple users for simultaneous pickup and implementation method thereof
CN112233336A (en) * 2020-12-08 2021-01-15 浙江口碑网络技术有限公司 Cabinet opening control method, user side, computing equipment and computer storage medium
CN112968977A (en) * 2021-05-14 2021-06-15 浙江口碑网络技术有限公司 Information interaction method and device

Also Published As

Publication number Publication date
CN114760286A (en) 2022-07-15

Similar Documents

Publication Publication Date Title
CN114760286B (en) Remote cabinet opening method, device, equipment and storage medium of shared cabinet
CN110601956B (en) Content aggregation method and device, computer equipment and storage medium
CN109039671B (en) Group message display method, device, terminal and storage medium
US9020138B1 (en) Targeted issue routing
CN109873745B (en) Communication control method, communication control device and storage medium
US9935780B2 (en) Attachment collaboration within message environments
CN107294908B (en) Account information processing method, device and system in instant messaging application
CN103854168A (en) Heterogeneous process to-do task centralized processing method and device
CN106470110B (en) Method and device for sending messages to multiple users in user list in group mode
CN110598103B (en) Content aggregation method and device, computer equipment and storage medium
CN104022945A (en) Method and device for realizing instant communication in client end
CN115862227A (en) Storage processing method of storage cabinet, client, electronic equipment and storage medium
CN110109594B (en) Drawing data sharing method and device, storage medium and equipment
KR102066802B1 (en) Business processing method and device
CN113271610A (en) Network distribution method and device for door lock equipment, door lock equipment and storage medium
CN110297976A (en) Recommended method, device, equipment and readable storage medium storing program for executing based on cloud retrieval
EP4145300A1 (en) Method and apparatus for processing order data
CN113014404B (en) Message transmission method and device, server and second client
JP2021153316A (en) Mobile terminal, system, access method, and program
CN108965356B (en) Information interaction method and electronic equipment
KR20150138803A (en) Method for managing interactive communication and managing server thereof
CN117591487B (en) Financial document sharing method and related device
CN115086418B (en) Data transmission method, data transmission device and electronic equipment
CN111158804B (en) Information processing device, information processing method, and program
CN116418769A (en) Communication method, communication device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant