Method for controlling express cabinet based on express message and electronic device
By displaying the package pickup function when a user approaches the parcel locker and remotely controlling the opening of the locker, the problem of inefficiency and loss caused by recipients not picking up their packages in time is solved, achieving efficient use and security of the parcel locker.
Patent Information
- Application Number
- CN202211123805.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-08-27
- Publication Date
- 2025-10-24
- Estimated Expiration
- 2038-08-27
AI Technical Summary
During the delivery process, recipients may fail to pick up their packages in a timely manner for various reasons, leading to a decrease in the efficiency of parcel lockers and posing a security risk of lost packages.
By displaying the package pickup function when a user approaches the locker, and remotely controlling the locker to automatically open the pickup box when the user is detected to be close enough, the package pickup process is simplified, efficiency is improved, and the risk of loss is reduced.
It enables timely reminders and automatic opening of the parcel locker when users approach it, improving the efficiency of parcel locker use, reducing the risk of lost parcels, and simplifying the parcel collection process.
Smart Images

Figure CN115620457B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the terminal field, and in particular to a method for controlling a delivery cabinet based on a delivery message and an electronic device. BACKGROUND
[0002] Currently, there are three main ways for a courier to deliver a package, one is for the recipient to sign for it in person, two is for a storage point to collect it on behalf of the recipient, and three is for the courier to deliver the package to a delivery cabinet for the recipient to collect it.
[0003] For example, the recipient can install an APP of the corresponding delivery cabinet on their mobile phone and use the APP to query delivery information, delivery information, etc. of the package. After the courier delivers the package to the delivery cabinet, the courier can upload relevant information (such as recipient information, code of the delivery cabinet, collection code, etc.) of the package to the server of the above-mentioned APP. In turn, the server can send the relevant information of the package to the mobile phone of the recipient, and the mobile phone can push the delivery message of the package to the recipient through the APP message, reminding the recipient of the information such as the delivery cabinet where the package is stored and the collection code.
[0004] However, in many scenarios, the recipient does not have the conditions to collect the package when receiving the delivery message pushed by the APP, for example, the recipient may be in a meeting, or the package is delivered to a delivery cabinet near the recipient's home while the recipient is at work. Subsequently, if the recipient forgets the delivery message, the recipient will not be able to collect the package in time, and the package in the delivery cabinet will also affect the use efficiency of the delivery cabinet due to long-term storage. SUMMARY
[0005] The present application provides a method for controlling a delivery cabinet based on a delivery message and an electronic device, which can remind the user to collect the package in the delivery cabinet when the user has a package to collect, and improve the use efficiency of the delivery cabinet.
[0006] To achieve the above-mentioned purpose, the present application adopts the following technical solutions:
[0007] In a first aspect, the present application provides a method for controlling a delivery cabinet based on a delivery message, comprising: an electronic device acquires a delivery message of a first package sent by a server, the delivery message including collection information of the first package and location information of a delivery cabinet where the first package is stored, the collection information being used to open a collection box in the delivery cabinet where the first package is stored; in turn, the electronic device can determine a first area according to the location information, and the delivery cabinet is located in the first area; when it is detected that the electronic device enters the first area, it indicates that the user (i.e. the collector) is close to the delivery cabinet, and the electronic device can display a collection function item; when it is detected that the user triggers the collection function item, the electronic device can send an opening cabinet request to the server, the opening cabinet request containing the collection information of the first package, so as to open the collection box in the delivery cabinet where the first package is stored.
[0008] That is, when it is detected that the user is close to the express cabinet, since the security risk of express loss is small after the express cabinet automatically opens the pick-up box at this time, therefore, the electronic device can display a pick-up function item, and after the user clicks the pick-up function item, the electronic device can request the server to remotely control the express cabinet to automatically open the pick-up box of the express to be picked up, thereby simplifying the operation process of the recipient using the express cabinet to pick up the express. The user can timely pick up the express in the express cabinet, and the use efficiency of the express cabinet is improved.
[0009] In a possible design method, the pick-up function item can be a pick-up button, and the pick-up button can be located in the home screen, the lock screen interface, the message notification bar, the upper pull-down menu or the lower pull-down menu.
[0010] In a possible design method, when it is detected that the electronic device enters the first area, the method further includes: if the electronic device does not display an open cabinet interface, the electronic device displays an automatic open cabinet prompt, and the open cabinet interface contains the pick-up function item; wherein the electronic device displays the pick-up function item, including: when it is detected that the user inputs a preset operation to the automatic open cabinet prompt, the electronic device jumps to the open cabinet interface. In this way, when the electronic device does not display the open cabinet interface, the user can jump to the open cabinet interface containing the pick-up function item through the automatic open cabinet prompt to realize the one-key open cabinet function.
[0011] In a possible design method, after the electronic device displays the pick-up function item, the method further includes: when it is detected that the electronic device leaves the first area, the electronic device hides the pick-up function item; or when it is detected that the electronic device leaves the first area, the electronic device sets the pick-up function item to a state in which the pick-up function item cannot interact with the user. In this way, the user cannot trigger the pick-up button to realize the one-key open cabinet function when the user is far away from the express cabinet, thereby avoiding the security risk that the user opens the corresponding pick-up box in the express cabinet when the user is far away from the express cabinet.
[0012] In a possible design method, when it is detected that the user inputs a preset operation to the pick-up function item, the method further includes: the electronic device acquires location information of the electronic device; at this time, the electronic device sends an open cabinet request to the server, including: if the location information of the electronic device currently located is located in the first area, the electronic device sends the open cabinet request to the server.
[0013] That is, before the one-key cabinet opening function is implemented, the geographic location of the electronic device sending the cabinet opening request needs to be verified. When the distance between the electronic device and the express cabinet to be opened is close enough, the risk of express loss caused by opening the express cabinet is low, and the electronic device can send an opening request to the server. When the distance between the electronic device and the express cabinet does not meet the preset condition, the electronic device does not need to send an opening request to the server to ensure the safety of the express to be picked up.
[0014] In a possible design method, after the electronic device obtains the location information of the current location of the electronic device, the method further includes: if the location information of the current location of the electronic device is located outside the first area, the electronic device displays warning information, and the warning information is used to prompt the user to open the pick-up box where the first express is located.
[0015] In a possible design method, after the electronic device obtains the express message of the first express sent by the server, the method further includes: the electronic device determines the range of the second area according to the location information, and the express cabinet is located in the second area, wherein the second area contains the first area, or the second area is an area in the third area except the first area, and the first area is located in the third area; when it is detected that the electronic device enters the second area, the electronic device can display a pick-up reminder, and the pick-up reminder is used to prompt the user to pick up the first express, so as to avoid the user forgetting to pick up the first express in the express cabinet.
[0016] In a possible design method, after the electronic device displays the pick-up reminder, the method further includes: when it is detected again that the electronic device enters the second area, the electronic device determines whether the pick-up reminder is operated; if the pick-up reminder is operated, it indicates that the user has viewed the pick-up reminder, and the electronic device no longer displays the pick-up reminder, so as to avoid repeated display of the pick-up reminder disturbing the user; if the pick-up reminder is not operated, the electronic device can display the pick-up reminder again to prompt the user to pick up the first express.
[0017] In a possible design method, after the electronic device obtains the express message of the first express sent by the server, the method further includes: the electronic device displays a pick-up notification of the first express according to the express message.
[0018] In a possible design method, when it is detected that the electronic device enters the second area, the method further includes: the electronic device determines a time interval between the time when the pick-up notification is displayed and the time when the electronic device enters the second area; wherein the electronic device displays the pick-up reminder includes: if the time interval is greater than a preset value, the electronic device can display the pick-up reminder; or, if the time interval is less than or equal to the preset value, it indicates that the electronic device has displayed the pick-up notification of the first express not long ago, and at this time, if the pick-up reminder of the first express is displayed, it may disturb the user, and therefore, the electronic device can display the pick-up reminder after a preset time.
[0019] In a possible design method, a function of an express card is provided in an electronic device, the express card being used to display an express message of a registered recipient of a user; and after the electronic device displays a pick-up notification of a first express according to the express message, the method further includes: when detecting that the user inputs a preset operation to the pick-up notification, the electronic device jumps to an interface where the express card is located.
[0020] In a second aspect, the present application provides an electronic device, comprising: a touch screen, a communication interface, a positioning device, one or more processors, a memory, and one or more computer programs; wherein the processor is coupled with the touch screen, the communication interface, the positioning device, and the memory, and the one or more computer programs are stored in the memory; when the electronic device is running, the processor executes the one or more computer programs stored in the memory, so that the electronic device executes the method for controlling an express cabinet based on an express message according to any one of the above.
[0021] In a third aspect, the present application provides a computer storage medium, comprising computer instructions, when the computer instructions are running on an electronic device, the electronic device executes the method for controlling an express cabinet based on an express message according to any one of the first aspect.
[0022] In a fourth aspect, the present application provides a computer program product, when the computer program product is running on an electronic device, the electronic device executes the method for controlling an express cabinet based on an express message according to any one of the first aspect.
[0023] It can be understood that the terminal provided in the second aspect, the computer storage medium provided in the third aspect, and the computer program product provided in the fourth aspect are all used to execute the corresponding method provided above, and thus the beneficial effects achieved by the above-mentioned method can be referred to the beneficial effects of the corresponding method provided above, which will not be described here again. BRIEF DESCRIPTION OF DRAWINGS
[0024] Figure 1 An architecture diagram of an express message system provided for the embodiment Figure One ;
[0025] Figure 2 An architecture diagram of an express message system provided for the embodiment Figure Two ;
[0026] Figure 3 An architecture diagram of an express message system provided for the embodiment Figure Three ;
[0027] Figure 4 An architecture diagram of an express message system provided for the embodiment Figure Four ;
[0028] Figure 5 A structural schematic of an electronic device provided for the embodiment Figure One ;
[0029] Figure 6 A scenario schematic of registering an express delivery reminding service provided for the embodiment Figure One ;
[0030] Figure 7 A scenario schematic of registering an express delivery reminding service provided for the embodiment Figure Two ;
[0031] Figure 8 An interaction schematic of a method for registering an express delivery reminding service provided for the embodiment
[0032] Figure 9 A scenario schematic of registering an express delivery reminding service provided for the embodiment Figure Three ;
[0033] Figure 10 A scenario schematic of registering an express delivery reminding service provided for the embodiment Figure Four ;
[0034] Figure 11 A scenario schematic of registering an express delivery reminding service provided for the embodiment Figure Five ;
[0035] Figure 12 An interaction schematic of a method for controlling an express delivery cabinet based on an express delivery message provided for the embodiment
[0036] Figure 13 A scenario schematic of a method for controlling an express delivery cabinet based on an express delivery message provided for the embodiment Figure One ;
[0037] Figure 14 A scenario schematic of a method for controlling an express delivery cabinet based on an express delivery message provided for the embodiment Figure Two ;
[0038] Figure 15 A scenario schematic of a method for controlling an express delivery cabinet based on an express delivery message provided for the embodiment Figure Three ;
[0039] Figure 16 A scenario schematic of a method for controlling an express delivery cabinet based on an express delivery message provided for the embodiment Figure Four ;
[0040] Figure 17 A scenario schematic of a method for controlling an express delivery cabinet based on an express delivery message provided for the embodiment Figure Five ;
[0041] Figure 18 A scenario diagram of a method for controlling express lockers based on express messages provided in this embodiment Figure Six ;
[0042] Figure 19 A schematic diagram of the structure of an electronic device provided in this embodiment Figure Two . DETAILED DESCRIPTION
[0043] The implementation of this embodiment will be described in detail below with reference to the accompanying drawings.
[0044] The method for controlling express lockers based on express messages provided in this embodiment can be applied to Figure 1 The express message system shown. The system may include an electronic device 11, a server 12 and an express cabinet 13. Both the electronic device 11 and the express cabinet 13 can establish a communication connection with the server 12. For example, the electronic device 11 (or the express cabinet 13) can communicate with the server 12 through a wireless cellular network or a Wi-Fi network, and its communication protocol can be HTTP (Hyper Text Transfer Protocol) or HTTPS (Hyper Text Transfer Protocol over Secure Socket Layer) and other protocols. The embodiments of the present application do not impose any restrictions on this.
[0045] The express locker 13 typically includes multiple pickup boxes. After the courier deposits Express A, which is being signed for, into a pickup box (e.g., Pickup Box 01), they can enter the recipient's information (e.g., the recipient's mobile phone number) for Express A into the locker 13. The locker 13 then generates a pickup code for collecting Express A from Pickup Box 01. This pickup code can consist of numbers and / or characters. Furthermore, the locker 13 sends a delivery message for Express A to the server 12, which includes the recipient's information and pickup information.
[0046] The recipient information indicates the recipient's identity. For example, it may include the recipient's mobile phone number. Furthermore, the recipient information may include the recipient's ID number, name, or address. The pickup information indicates the relevant information required to collect the package from the express locker 13. For example, the pickup information may include the identifier of the express locker 13 where courier A is located, the identifier of the pickup box 01, and the pickup code. Furthermore, the courier message may also include courier A's logistics tracking number, logistics information, and the courier company's contact information.
[0047] In some embodiments, in addition to reporting the express message to the server 12 by operating the express cabinet 13, the express messenger can also report the express message to the server 12 by using a terminal such as a mobile phone. For example, the express messenger can install a relevant APP for delivering express on his mobile phone. After the express messenger stores the express A into a certain pickup box (for example, the pickup box 01), the express messenger can open the APP and input the express message such as the consignee information and the pickup information into a relevant interface of the APP. Then, the mobile phone of the express messenger can send the express message of the express A to the server 12. Alternatively, after the express messenger stores the express A into the pickup box 01 of the express cabinet 13, the express cabinet 13 can generate the pickup information of the express A and report it to the server. Moreover, the express messenger can report the consignee information to the server by using the APP on his mobile phone, so that the server obtains the express message containing the pickup information and the consignee information of the express A.
[0048] Generally, the electronic device 11 subscribed to the express reminding service will pre-register the correspondence between the consignee information (for example, the mobile phone number of the consignee) and the electronic device 11 (for example, the identifier of the electronic device 11) in the server 12. That is, the server 12 maintains the correspondence between different consignee information and different electronic devices 11. Then, after the server 12 receives the express message of the express A, the server 12 can query which electronic device 11 should be pushed the express message of the express A according to the consignee information carried in the express message. Then, the server 12 can send the express message of the express A to the determined electronic device 11.
[0049] Moreover, in the embodiments of the present application, when the server 12 sends the express message of the express A to the electronic device 11, the server 12 can also carry the location information of the express cabinet 13 where the express A is located in the express message. For example, the location information can be the latitude and longitude information of the express cabinet 13. For example, the server 12 stores the location information of each express cabinet 13. When the server 12 receives the express message of the express A, the server 12 can determine the location information of the express cabinet 13 where the express A is stored according to the identifier of the express cabinet 13 carried in the express message, and then add the location information in the express message of the express A and push it to the electronic device 11.
[0050] In this way, after the electronic device 11 receives the express message of the express A sent by the server 12, in addition to displaying the express message to the consignee, the electronic device 11 can also set a first geo-fencing according to the location information of the express cabinet 13. The first geo-fencing can be used to prompt the consignee to pick up the express A. For example, the first geo-fencing can be a region within 100-300 meters from the location of the express cabinet 13. Then, for example, when the consignee is within the first geo-fencing, the electronic device 11 can send a prompt message to the consignee, prompting the consignee to pick up the express A. Figure 2As shown, when the electronic device 11 detects that its location is within the first geofence, it indicates that the recipient is relatively close to the express cabinet 13 at this time, i.e., the recipient has the pickup condition for express A, and therefore the electronic device 11 can display a pickup notification. For example, the pickup notification can include the pickup code of express A and other pickup information, thereby reminding the recipient to pick up express A as soon as possible.
[0051] In some embodiments, the electronic device 11 can also set a second geofence according to the location information of the express cabinet 13. The second geofence can be used to prompt the recipient to use the electronic device 11 to automatically open the pickup box in which express A is located. For example, the second geofence can be a region within 20 meters from the location of the express cabinet 13. Figure 3 As shown in (a) of FIG. 3, the second geofence can be located within the first geofence, i.e., the first geofence and the second geofence have an overlapping region, and the express cabinet 13 is located within the overlapping region. Figure 3 As shown in (b) of FIG. 3, the first geofence and the second geofence do not have an overlapping region, i.e., the first geofence refers to the region in region 301 other than the second geofence, and region 301 includes the second geofence, i.e., the express cabinet 13 is located within the second geofence.
[0052] As shown in (a) of FIG. 3, the second geofence can be located within the first geofence, i.e., the first geofence and the second geofence have an overlapping region, and the express cabinet 13 is located within the overlapping region. Figure 4 As shown, when the electronic device 11 detects that its location is within the second geofence, it indicates that the recipient is already very close to the express cabinet 13, and the intention of the recipient to use the express cabinet 13 to pick up the express is more obvious. Therefore, the electronic device 11 can display a pickup button for automatically opening the pickup box. If it is detected that the user clicks the pickup button, the electronic device 11 can send a pickup request to the server 12. The pickup request can carry the identification of the express cabinet, the pickup code, and other pickup information, so that the server 12 can respond to the pickup request by sending a pickup instruction to the express cabinet 13. After receiving the pickup instruction, the express cabinet 13 can automatically open the pickup box 01 of express A, thereby facilitating the recipient to pick up the express.
[0053] That is, when it is detected that the electronic device 11 is relatively close to the express cabinet 13 in which the express to be picked up is stored, the electronic device 11 can display a pickup notification to prompt the recipient to pick up the express, thereby avoiding the problem that the recipient cannot pick up the express in time due to forgetfulness or other reasons. Moreover, when it is detected that the electronic device 11 is very close to the express cabinet 13, it indicates that the intention of the user at this time is likely to pick up the express, and therefore the electronic device 11 can display a pickup button. In this way, after the user clicks the pickup button, the electronic device 11 can request the server 12 to remotely control the express cabinet 13 to automatically open the pickup box of the express to be picked up, thereby simplifying the operation process of the recipient to use the express cabinet 13 to pick up the express.
[0054] In addition, in the embodiment of the present application, when the electronic device 11 detects that the user clicks the pickup button, it can further determine whether the location of the electronic device 11 at this time is within the second geographic fence. If the electronic device 11 is located within the second geographic fence, it means that the recipient is close to the express cabinet 13, and the express cabinet 13 has less security risks of express loss after automatically opening the pickup box. Therefore, the electronic device 11 can request the server 12 to remotely control the express cabinet 13 to automatically open the pickup box. Correspondingly, if the electronic device 11 is located outside the second geographic fence, it means that the recipient is far away from the express cabinet 13, and at this time, the user's operation of clicking the pickup button may be a misoperation. In order to avoid the security risk of express loss, the electronic device 11 will not respond to the user's operation of clicking the pickup button this time.
[0055] The specific interaction method between the electronic device 11, the server 12 and the express cabinet 13 will be described in detail in subsequent embodiments, so it will not be described here.
[0056] For example, the electronic device 11 in the express message system can be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a notebook computer, an ultra-mobile personal computer (UMPC), a handheld computer, a netbook, a personal digital assistant (PDA), a wearable electronic device, a virtual reality device, etc. The specific form of the electronic device is not specially limited in the following embodiments.
[0057] Figure 5 The structure of the electronic device 11 is shown.
[0058] The electronic device 11 can include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headset interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 can include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0059] It can be understood that the structure shown in the embodiments of the present application does not constitute a specific limitation on the electronic device 11. In other embodiments of the present application, the electronic device 11 can include more or fewer components than shown, or combine certain components, or split certain components, or different arrangement of components. The components shown can be implemented in hardware, software, or a combination of software and hardware.
[0060] The processor 110 can include one or more processing units, for example: the processor 110 can include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units can be independent devices, or can be integrated in one or more processors.
[0061] The controller can be the nerve center and command center of the electronic device 11. The controller can generate operation control signals according to instruction operation codes and timing signals, and complete the control of fetching instructions and executing instructions.
[0062] The processor 110 can also include a memory that stores instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The cache memory can hold instructions or data that the processor 110 has recently used or is likely to use again. If the processor 110 needs to use the instructions or data again, it can be retrieved directly from the cache memory. This avoids repeated accesses to the main memory, reducing the latency of the processor 110 and thus improving the efficiency of the system.
[0063] In some embodiments, the processor 110 can include one or more interfaces. The interfaces can include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0064] The I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 can include multiple sets of I2C buses. The processor 110 can be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example, the processor 110 can be coupled to the touch sensor 180K through an I2C interface, enabling the processor 110 and the touch sensor 180K to communicate through the I2C bus interface and implement the touch function of the electronic device 11.
[0065] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple sets of I2S buses. The processor 110 can be coupled to the audio module 170 through the I2S bus, enabling communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can deliver audio signals to the wireless communication module 160 through the I2S interface, enabling the function of answering a phone call through a Bluetooth headset.
[0066] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 can be coupled with the wireless communication module 160 through a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 through the PCM interface, realizing the function of answering a phone call through a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
[0067] The UART interface is a general-purpose serial data bus used for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is usually used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface, realizing the Bluetooth function. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 through the UART interface, realizing the function of playing music through a Bluetooth headset.
[0068] The MIPI interface can be used to connect the processor 110 and peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes the camera serial interface (CSI), the display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate through the CSI interface, realizing the shooting function of the electronic device 11. The processor 110 and the display screen 194 communicate through the DSI interface, realizing the display function of the electronic device 11.
[0069] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 and the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.
[0070] The USB interface 130 is an interface that conforms to the USB standard specification, which can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 11, or to transmit data between the electronic device 11 and peripheral devices. It can also be used to connect a headset to play audio through the headset. The interface can also be used to connect other electronic devices, such as AR devices, etc.
[0071] It can be understood that the interface connection relationship between the modules shown in the embodiments of the present application is only illustrative and does not constitute a limitation on the structure of the electronic device 11. In other embodiments of the present application, the electronic device 11 can also use different interface connection modes or a combination of multiple interface connection modes in the above embodiments.
[0072] The charging management module 140 is configured to receive charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input through a wireless charging coil of the electronic device 11. The charging management module 140 can charge the battery 142 and also supply power to the electronic device through the power management module 141.
[0073] The power management module 141 is configured to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to supply power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be configured to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance). In other embodiments, the power management module 141 can also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be disposed in the same device.
[0074] The wireless communication function of the electronic device 11 can be realized through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
[0075] The antenna 1 and the antenna 2 are configured to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 11 can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization rate of the antennas. For example, the antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In other embodiments, the antenna can be used in combination with a tuning switch.
[0076] The mobile communication module 150 can provide a solution for wireless communication including 2G / 3G / 4G / 5G, etc. applied to the electronic device 11. The mobile communication module 150 can include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform filtering, amplification, etc. on the received electromagnetic waves, and transfer to the modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor, and radiate as electromagnetic waves through the antenna 1. In some embodiments, at least part of the function modules of the mobile communication module 150 can be disposed in the processor 110. In some embodiments, at least part of the function modules of the mobile communication module 150 can be disposed in the same device as at least part of the modules of the processor 110.
[0077] The modem processor can include a modulator and a demodulator. The modulator is configured to modulate a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is configured to demodulate a received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. The low-frequency baseband signal processed by the baseband processor is transmitted to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the microphone 170B, etc.), or displays an image or a video through the display screen 194. In some embodiments, the modem processor can be a separate device. In other embodiments, the modem processor can be independent of the processor 110, and disposed in the same device as the mobile communication module 150 or other function modules.
[0078] The wireless communication module 160 can provide a solution for wireless communication including wireless local area networks (WLAN) (e.g., wireless fidelity (Wi-Fi) network), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) technology, etc. applied to the electronic device 11. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency-modulates and filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 can also receive signals to be transmitted from the processor 110, frequency-modulate them, amplify them, and radiate them as electromagnetic waves via the antenna 2.
[0079] In some embodiments, the antennas 1 and the mobile communication module 150 of the electronic device 11 are coupled, and the antennas 2 and the wireless communication module 160 are coupled, so that the electronic device 11 can communicate with a network and other devices through wireless communication technology. The wireless communication technology can include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The GNSS can include a global positioning system (GPS), a global navigation satellite system (GLONASS), a beidu navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and / or a satellite based augmentation systems (SBAS).
[0080] The electronic device 11 implements a display function through a GPU, a display screen 194, and an application processor, etc. The GPU is a microprocessor for image processing, which is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 can include one or more GPUs, which execute program instructions to generate or change display information.
[0081] The display screen 194 is configured to display images, videos, and the like. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flex light-emitting diode (FLED), a Miniled, a MicroLed, a Micro-oLed, a quantum dot light emitting diodes (QLED), or the like. In some embodiments, the electronic device 11 can include one or N display screens 194, where N is a positive integer greater than 1.
[0082] The electronic device 11 can implement the photographing function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, and the application processor.
[0083] The ISP is configured to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing to convert it into an image visible to the naked eye. The ISP can also optimize the noise, brightness, and skin color of the image. The ISP can also optimize the exposure, color temperature, and other parameters of the shooting scene. In some embodiments, the ISP can be disposed in the camera 193.
[0084] The camera 193 is configured to capture still images or videos. An object generates an optical image through a lens and projects it onto a photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then transmitted to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, or the like format. In some embodiments, the electronic device 11 can include one or N cameras 193, where N is a positive integer greater than 1.
[0085] The digital signal processor is used to process digital signals, in addition to being able to process digital image signals, it can also process other digital signals. For example, when the electronic device 11 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy, etc.
[0086] The video codec is used to compress or decompress digital video. The electronic device 11 can support one or more video codecs. In this way, the electronic device 11 can play or record videos in multiple encoding formats, such as: moving picture experts group (MPEG) 1, MPEG 2, MPEG 3, MPEG 4, etc.
[0087] The NPU is a neural-network (NN) calculation processor, which can quickly process input information by drawing on the structure of a biological neural network, such as the transmission mode between human brain neurons, and can also continuously self-learn. Through the NPU, the electronic device 11 can realize intelligent cognition applications such as image recognition, face recognition, voice recognition, and text understanding.
[0088] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 11. The external memory card communicates with the processor 110 through the external memory interface 120 to realize data storage functions. For example, music, video, and other files are saved in the external memory card.
[0089] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various function applications and data processing of the electronic device 11 by running the instructions stored in the internal memory 121. The internal memory 121 can include a program storage area and a data storage area. The program storage area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.), etc. The data storage area can store data created during the use of the electronic device 11 (such as audio data, a phonebook, etc.), etc. In addition, the internal memory 121 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0090] The electronic device 11 can realize audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor, etc. For example, music playing, recording, etc.
[0091] The audio module 170 is configured to convert digital audio information into an analog audio signal output, and to convert an analog audio input into a digital audio signal. The audio module 170 can also be configured to encode and decode audio signals. In some embodiments, the audio module 170 can be disposed in the processor 110, or some of the functional modules of the audio module 170 can be disposed in the processor 110.
[0092] The speaker 170A, also referred to as a "loudspeaker", is configured to convert an audio electrical signal into a sound signal. The electronic device 11 can listen to music or listen to a hands-free call through the speaker 170A.
[0093] The receiver 170B, also referred to as a "earpiece", is configured to convert an audio electrical signal into a sound signal. When the electronic device 11 receives a call or a voice message, the user can listen to the voice by holding the receiver 170B close to the ear.
[0094] The microphone 170C, also referred to as a "microphone", "sound collector", is configured to convert a sound signal into an electrical signal. When making a call or sending a voice message, the user can make a sound by holding the mouth close to the microphone 170C, and input the sound signal into the microphone 170C. The electronic device 11 can be provided with at least one microphone 170C. In other embodiments, the electronic device 11 can be provided with two microphones 170C, in addition to collecting sound signals, noise reduction functions can also be realized. In other embodiments, the electronic device 11 can also be provided with three, four or more microphones 170C, in addition to collecting sound signals, noise reduction, and can also identify the source of the sound, realize directional recording function, etc.
[0095] The earphone interface 170D is configured to connect a wired earphone. The earphone interface 170D can be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0096] The pressure sensor 180A is configured to sense a pressure signal and convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be disposed on the display screen 194. The pressure sensor 180A can be of various types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, etc. The capacitive pressure sensor can include at least two parallel plates of conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 11 determines the intensity of the pressure based on the change in capacitance. When a touch operation is applied to the display screen 194, the electronic device 11 detects the intensity of the touch operation based on the pressure sensor 180A. The electronic device 11 can also calculate the position of the touch based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations applied to the same touch position but with different touch operation intensities can correspond to different operation instructions. For example, when a touch operation with a touch operation intensity less than a first pressure threshold is applied to a short message application icon, an instruction to view a short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold is applied to the short message application icon, an instruction to create a new short message is executed.
[0097] The gyroscope sensor 180B can be configured to determine the motion attitude of the electronic device 11. In some embodiments, the angular velocity of the electronic device 11 around three axes (i.e., x, y, and z axes) can be determined by the gyroscope sensor 180B. The gyroscope sensor 180B can be used for anti-shake photography. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of shaking of the electronic device 11, calculates the distance that the lens module needs to compensate based on the angle, and lets the lens offset the shaking of the electronic device 11 by reverse movement to achieve anti-shake. The gyroscope sensor 180B can also be used for navigation and motion sensing game scenarios.
[0098] The barometric pressure sensor 180C is configured to measure air pressure. In some embodiments, the electronic device 11 calculates the altitude based on the air pressure value measured by the barometric pressure sensor 180C, and assists in positioning and navigation.
[0099] The magnetic sensor 180D includes a Hall sensor. The electronic device 11 can detect the opening and closing of a flip cover by using the magnetic sensor 180D. In some embodiments, when the electronic device 11 is a flip phone, the electronic device 11 can detect the opening and closing of the flip cover based on the magnetic sensor 180D. Further, based on the detected opening and closing state of the cover or the flip cover, the electronic device 11 can set a feature such as automatic unlocking of the flip cover.
[0100] The acceleration sensor 180E can detect the magnitude of acceleration of the electronic device 11 in various directions (typically three axes). When the electronic device 11 is stationary, the acceleration sensor 180E can detect the magnitude and direction of gravity. The acceleration sensor 180E can also be used to identify the attitude of the electronic device, and can be applied to switching between landscape and portrait modes, pedometers, etc.
[0101] Distance sensor 180F is configured to measure distance. Electronic device 11 can measure distance by infrared or laser. In some embodiments, electronic device 11 can utilize distance sensor 180F to measure distance to achieve fast focus when taking a picture.
[0102] Proximity light sensor 180G can include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode can be an infrared light emitting diode. Electronic device 11 emits infrared light outwardly through the light emitting diode. Electronic device 11 detects infrared reflected light from nearby objects using the photodiode. When sufficient reflected light is detected, electronic device 11 can determine that there is an object near electronic device 11. When insufficient reflected light is detected, electronic device 11 can determine that there is no object near electronic device 11. Electronic device 11 can utilize proximity light sensor 180G to detect that a user is holding electronic device 11 close to the ear for a phone call, so as to automatically turn off the screen to save power. Proximity light sensor 180G can also be used for automatic unlocking and locking of the screen in a holster mode or a pocket mode.
[0103] Ambient light sensor 180L is configured to sense ambient light brightness. Electronic device 11 can adaptively adjust the brightness of display 194 according to the sensed ambient light brightness. Ambient light sensor 180L can also be used to automatically adjust white balance when taking a picture. Ambient light sensor 180L can also cooperate with proximity light sensor 180G to detect whether electronic device 11 is in a pocket to prevent accidental touch.
[0104] Fingerprint sensor 180H is configured to collect a fingerprint. Electronic device 11 can utilize the collected fingerprint characteristics to implement fingerprint unlocking, access application lock, fingerprint photographing, fingerprint answering a call, and the like.
[0105] Temperature sensor 180J is configured to detect temperature. In some embodiments, electronic device 11 utilizes the temperature detected by temperature sensor 180J to implement a temperature handling strategy. For example, when the temperature reported by temperature sensor 180J exceeds a threshold, electronic device 11 implements performance reduction of a processor located near temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, electronic device 11 heats battery 142 to avoid abnormal shutdown of electronic device 11 caused by low temperature. In other embodiments, when the temperature is lower than yet another threshold, electronic device 11 implements voltage boosting of the output voltage of battery 142 to avoid abnormal shutdown caused by low temperature.
[0106] Touch sensor 180K, also referred to as "touch panel". Touch sensor 180K can be disposed on display screen 194, and touch sensor 180K and display screen 194 together form a touch screen, also referred to as "touch panel". Touch sensor 180K is configured to detect touch operations applied to or near the touch sensor 180K. The touch sensor 180K can transmit the detected touch operation to the application processor to determine the touch event type. Visual output related to the touch operation can be provided through display screen 194. In other embodiments, touch sensor 180K can also be disposed on the surface of electronic device 11, which is different from the position of display screen 194.
[0107] Bone conduction sensor 180M can obtain vibration signals. In some embodiments, bone conduction sensor 180M can obtain vibration signals of the human body's vocal vibration bone block. Bone conduction sensor 180M can also contact the human body pulse to receive blood pressure pulsation signals. In some embodiments, bone conduction sensor 180M can also be disposed in a headset to form a bone conduction headset. Audio module 170 can analyze voice signals based on the vibration signals of the vocal vibration bone block obtained by the bone conduction sensor 180M to realize voice functions. The application processor can analyze heart rate information based on the blood pressure pulsation signals obtained by the bone conduction sensor 180M to realize heart rate detection functions.
[0108] Keys 190 include power on / off keys, volume keys, and the like. Keys 190 can be mechanical keys. They can also be touch keys. Electronic device 11 can receive key input and generate key signal input related to user settings and function control of electronic device 11.
[0109] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts and also for touch vibration feedback. For example, touch operations applied to different applications (such as taking pictures, playing audio, etc.) can correspond to different vibration feedback effects. Touch operations applied to different regions of display screen 194 can also correspond to different vibration feedback effects. Different application scenarios (such as time reminders, received messages, alarms, games, etc.) can also correspond to different vibration feedback effects. Touch vibration feedback effects can also be customizable.
[0110] Indicator 192 can be an indicator light, which can be used to indicate charging status, power changes, and also to indicate messages, missed calls, notifications, and the like.
[0111] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and disconnected from the electronic device 11 by inserting it into or removing it from the SIM card interface 195. The electronic device 11 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 11 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 11 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 11 and cannot be separated from the electronic device 11.
[0112] In the subsequent embodiments, a mobile phone is used as an example of the electronic device 11 to illustrate a method for controlling an express locker based on express messages provided in an embodiment of the present application.
[0113] In the embodiment of the present application, an APP with a delivery reminder service can be installed in the mobile phone. Alternatively, the delivery reminder service can be pre-set in the mobile phone's operating system, that is, the delivery reminder service can be set in the mobile phone as a system-level service when the mobile phone leaves the factory.
[0114] For example, you can pre-set the courier card or courier assistant function in your mobile phone. Figure 6 As shown, taking the express card 501 as an example, the mobile phone can display the express card 501 in the negative one screen 502 of the mobile phone (the negative one screen refers to the screen on the left side of the multiple desktop screens of the system, which is used to display information; wherein the desktop screen is used to place application or widget icons). After the user registers for the express reminder service in the express card 501, the mobile phone can display one or more express information of the registered user in the express card 501. For example, the express card 501 may include the express number, logistics information, and pickup information, etc. Of course, the above-mentioned express card 501 can also be displayed in the pull-up menu, drop-down menu, desktop or lock screen interface of the mobile phone, and the embodiments of the present application do not impose any restrictions on this.
[0115] Before using the express reminder service provided by the express card 501, the user needs to first use the mobile phone to register with the server to use the express reminder service and become a registered user of the express reminder service. Figure 7 As shown, when the user uses the express card 501 for the first time, the mobile phone can display a registration button 601 in the express card 501 to prompt the user to register for the express reminder service. If it is detected that the user clicks the registration button 601, the mobile phone will Figure 8As shown, the mobile phone can register the express reminding service associated with the user to the server by performing the following steps S701-S706.
[0116] S701, the mobile phone sends a registration request of the express reminding service to the server.
[0117] For example, after the mobile phone detects that the user clicks the registration button 601, the mobile phone can display a dialog box 801 for registering the express reminding service, as shown in the following figure. Figure 9 As shown, the mobile phone can display a dialog box 801 for registering the express reminding service. The mobile phone requires the user to input the mobile phone number of the recipient bound to the express reminding service in the dialog box 801. The mobile phone number can be the mobile phone number of the user's own mobile phone or the mobile phone number of another user. The mobile phone number input by the user in the dialog box 801 can be used as the basis for the server to push the relevant express message to the mobile phone in the future, that is, the mobile phone number of the recipient in the express message pushed by the server to the mobile phone in the future is the same as the mobile phone number input by the user in the dialog box 801.
[0118] After the user inputs the mobile phone number of the recipient in the dialog box 801, the user can click a button 802 for obtaining the short message verification code. In response to the operation of the user clicking the button 802, the mobile phone can send a registration request of the express reminding service to the server. The registration request carries the identification of the mobile phone and the mobile phone number input by the user in the dialog box 801 (i.e., the mobile phone number of the recipient). The identification of the mobile phone can be an IMEI (International Mobile Equipment Identity), an SN (Serial Number), or a MAC address, etc., which can uniquely identify the mobile phone.
[0119] S702, in response to the registration request, the server generates a short message verification code and sends the short message verification code to the mobile phone through a short message center.
[0120] After the server receives the registration request sent by the mobile phone, the server can generate a short message verification code composed of numbers and / or letters, and send the short message verification code and the mobile phone number carried in the registration request to a short message center (SMC). After the short message center receives the short message verification code and the mobile phone number, the short message center can send the short message verification code generated by the server to the corresponding mobile phone through a gateway according to the mobile phone number.
[0121] S703, the mobile phone sends a verification request containing the short message verification code to the server in response to the short message verification code input by the user.
[0122] When the mobile phone receives the short message verification code in the form of a short message, the mobile phone can display the short message verification code, as shown in the following figure. Figure 10As shown, the user can continue to input the short message verification code in the dialog box 801. After the mobile phone detects that the user has completed the input of the short message verification code, the mobile phone can add the short message verification code input by the user in the dialog box 801 in the verification request sent to the server, so that the server verifies the identity of the user who registers the express delivery reminder service.
[0123] S704, in response to the above verification request, the server authenticates the identity of the user according to the short message verification code in the above verification request.
[0124] After the server receives the verification request sent by the mobile phone, the server can compare the short message verification code carried in the verification request with the short message verification code generated by the server in step S702. If they are consistent, it means that the short message verification code input by the user is correct, and the server can consider that the identity of the user who registers the express delivery reminder service is legal, otherwise, it can be considered that the identity of the user who registers the express delivery reminder service is illegal.
[0125] Alternatively, in addition to comparing the short message verification code carried in the above verification request with the short message verification code generated by the server in step S702, the server can also determine whether the receiving time when the verification request is received has exceeded the preset time limit. For example, the server can previously set that the verification request received within 5 minutes after the above short message verification code is sent is valid. Then, if the receiving time when the above verification request is received has exceeded the time limit of 5 minutes set by the server, the server can consider that the identity of the user who registers the express delivery reminder service is illegal, regardless of whether the short message verification code carried in the verification request is consistent with the short message verification code generated by the server in step S702. Correspondingly, if the short message verification code carried in the above verification request is consistent with the short message verification code generated by the server in step S702, and the receiving time when the above verification request is received is within the time limit of 5 minutes, the server can consider that the identity of the user who registers the express delivery reminder service is legal.
[0126] S705, if the user identity authentication is passed, the server establishes the correspondence between the above mobile phone number and the mobile phone identifier.
[0127] Through the execution of step S704, if the server determines that the identity of the user who registers the express delivery reminder service is legal, it means that the user identity authentication is passed. In order to be able to provide the express delivery reminder service to the legal registered user in the future, the server can save the correspondence between the mobile phone identifier obtained in step S701 and the mobile phone number of the recipient. Of course, each user can register the express delivery reminder service in the mobile phone according to the above method when using the express delivery card or the APP, and therefore, the server stores the correspondence between multiple mobile phone identifiers and multiple mobile phone numbers of the recipients.
[0128] Later, if the server receives a message about a package waiting to be collected in the locker, it can determine the mobile phone ID corresponding to the recipient's mobile phone number in the message based on the above correspondence. The server can then send the message to the corresponding mobile phone according to the corresponding mobile phone ID, thereby reminding the user who has registered the delivery reminder service on that mobile phone to collect the new package.
[0129] S706: The server sends a registration success response message to the mobile phone.
[0130] After establishing a correspondence between the mobile phone number and the mobile phone identifier obtained in step S701, the server can also generate and store authentication information using a specific algorithm. This authentication information is used to indicate the legitimacy of the mobile phone registered for the delivery reminder service. For example, this authentication information can consist of numbers and / or letters. Furthermore, the server can add the generated authentication information to a successful registration response message and send this response message to the mobile phone.
[0131] After receiving the response message from the server, the mobile phone can save the authentication information carried in the response message locally on the phone. Later, when the mobile phone interacts with the server, it can send this authentication information to the server as proof of user identity authentication. The server can then authenticate the registered user based on this authentication information, eliminating the need to verify the registered user's identity through SMS verification codes.
[0132] In addition, if Figure 11 As shown, after the mobile phone receives the registration success response message sent by the server, it can also display a registration success prompt message 1001 in the express card 501. At this time, if there is an express message associated with the mobile phone number registered by the user, that is, the mobile phone number of the recipient in the express message is the mobile phone number registered by the user in the above embodiment, then the mobile phone can display the express message associated with the mobile phone number in the express card 501, such as the express order number, logistics information, and pickup information.
[0133] Specifically, such as Figure 12 As shown, the method for the server to push the express message to the mobile phone can refer to the following steps S1101-S1109.
[0134] S1101. The server obtains the first courier message of courier A stored in the courier cabinet.
[0135] Generally, there are many express cabinets capable of communicating with the server. When delivering an express, an express delivery man usually stores the express in an express cabinet close to the delivery address. Taking express A delivered by an express delivery man as an example, the express delivery man can store express A in the pick-up box 002 of express cabinet 001 according to the delivery address of express A. Further, the express delivery man can input the relevant express information of express A into express cabinet 001, such as the mobile phone number of the recipient, the express number of express A, etc. Of course, the express delivery man can also input the relevant express information of express A into express cabinet 001 first, and then open the pick-up box 002 to store express A, and the embodiments of the present application do not make any limitation in this regard.
[0136] In this way, express cabinet 001 can determine the correspondence between the pick-up information of express A and the recipient information. The pick-up information of express A includes the identification of express cabinet 001, the identification of pick-up box 002, and the pick-up code and other information for picking up express A from express cabinet 001. The recipient information of express A includes the mobile phone number of the recipient. Of course, the recipient information can also include the name of the recipient, the ID number, the delivery address or the zip code and other information for indicating the identity of the recipient.
[0137] Further, express cabinet 001 can send the pick-up information and the recipient information of express A to the server as the first express message, so that the server obtains the first express message of express A stored in express cabinet 001. Of course, the first express message can also include the logistics number, the logistics information and the contact information of the express company of express A.
[0138] In addition, in the embodiments of the present application, express cabinet 001 can also add the location information of itself in the above-mentioned first express message to send to the server. For example, if express cabinet 001 has positioning function (such as GPS function), express cabinet 001 can add the longitude and latitude information of itself as the location information in the above-mentioned first express message. For another example, the installer can also input the location information of express cabinet 001 in express cabinet 001 when installing express cabinet 001.
[0139] It should be noted that in addition to sending the above-mentioned first express message from express cabinet 001 to the server, the first express message can also be sent from other terminals (such as mobile phones) by the express delivery man to the server, and the embodiments of the present application do not make any limitation in this regard.
[0140] S1102, the server sends the second express message of express A to the corresponding mobile phone according to the mobile phone number of the recipient in the above-mentioned first express message.
[0141] After receiving the first express message of express A, the server can determine whether the receiver is a registered user of the express reminding service according to the mobile phone number of the receiver in the first express message. If the server stores a corresponding relationship between the mobile phone number of the receiver in the first express message and a mobile phone identifier, it indicates that the receiver of express A is a registered user. Then, the server can determine which mobile phone is bound to the mobile phone number according to the corresponding relationship.
[0142] In addition, in the embodiment of the present application, the server can also determine the location information of the express cabinet 001 storing express A according to the identifier of the express cabinet (for example, express cabinet 001) carried in the first express message. For example, when installing each express cabinet, the installer or the express cabinet can report the location information of the express cabinet to the server. The server stores a corresponding relationship between the identifiers of different express cabinets and the location information of the corresponding express cabinets. In this way, after receiving the first express message of express A, the server can determine the location information corresponding to the express cabinet according to the identifier of the express cabinet in the first express message. Then, the server can add the location information to the first express message to form a second express message.
[0143] Alternatively, the receiver generally only uses the pickup information of express A when collecting express A. Therefore, the server can take the pickup information and the location information of the express cabinet carried in the first express message as the second express message. Of course, the second express message can also include one or more of the receiver's name, the logistics number of express A, the logistics information, and the contact information of the express company.
[0144] Subsequently, the server can send the second express message to the corresponding mobile phone according to the mobile phone identifier corresponding to the mobile phone number of the receiver. Of course, if the first express message received by the server already contains the location information of the express cabinet 001, the server does not need to determine the location information of the express cabinet 001, and can send the first express message (or the pickup information in the first express message) as the second express message to the corresponding mobile phone.
[0145] S1103, the mobile phone displays a pickup notification according to the second express message of express A.
[0146] After receiving the second express message of express A sent by the server, the mobile phone indicates that express A has been stored in the express cabinet by the express delivery personnel, and the mobile phone can display a pickup notification to prompt the user to collect express A from the corresponding express cabinet. The pickup notification can include the pickup code of express A.
[0147] For example, Figure 13As shown in (a) of FIG. 12, if the mobile phone receives the second express message in a black screen or a lock screen state, the mobile phone can display a lock screen interface 1201 after receiving the second express message, and display a pick-up notification 1202 in the lock screen interface 1201. Alternatively, as shown in (b) of FIG. 12, the mobile phone can also display the pick-up notification 1202 in a pull-down menu 1203. Alternatively, as shown in (c) of FIG. 12, the mobile phone can also display the pick-up notification 1202 in a message notification bar 1204, and the embodiments of the present application do not make any limitation in this regard. Figure 13 Figure 13
[0148] If the mobile phone detects that a user inputs a preset gesture (such as clicking, pressing or sliding, etc.) on the pick-up notification 1202, it indicates that the user wants to further view the express message of express A. At this time, as shown in (a) of FIG. 13, the mobile phone can jump to the minus one screen 502 (or the corresponding APP) where the express card 501 is located, and display the detailed information of express A in the express card 501. For example, the express card 501 displays the express number, the logistics record and the pick-up information of express A. In addition, the mobile phone can also mark the latest received express message in the express card 501 by highlighting or the like. Figure 6
[0149] S1104, the mobile phone creates a first geographic fence and a second geographic fence according to the location information of the express cabinet where express A is located.
[0150] After receiving the second express message of express A sent by the server, the mobile phone can also create one or more geographic fences according to the location information of the express cabinet carried in the second express message. For example, the mobile phone can create two geographic fences according to the location information of the express cabinet, one for reminding the user to collect the express stored in the express cabinet when the user is close to the express cabinet (referred to as the first geographic fence in the present application), and the other for reminding the user to use the mobile phone to open the corresponding pick-up box in the express cabinet (referred to as the second geographic fence in the present application).
[0151] In which, when the user walks into the express cabinet, he / she will first enter the first geographic fence, and then enter the second geographic fence. As shown in (a) of FIG. 12, the first geographic fence can contain the area where the second geographic fence is located. The express cabinet is located in the area where the first geographic fence and the second geographic fence overlap. Alternatively, as shown in (b) of FIG. 12, the area where the first geographic fence is located refers to the area in the region 301 except the second geographic fence, and at this time the express cabinet is located in the second geographic fence. In the present application, the area where the second geographic fence is located can be referred to as the first area, and the area where the first geographic fence is located can be referred to as the second area, and the embodiments of the present application do not make any limitation in this regard. Figure 3 Figure 3 If the mobile phone detects that a user inputs a preset gesture (such as clicking, pressing or sliding, etc.) on the pick-up notification 1202, it indicates that the user wants to further view the express message of express A. At this time, as shown in (a) of FIG. 13, the mobile phone can jump to the minus one screen 502 (or the corresponding APP) where the express card 501 is located, and display the detailed information of express A in the express card 501. For example, the express card 501 displays the express number, the logistics record and the pick-up information of express A. In addition, the mobile phone can also mark the latest received express message in the express card 501 by highlighting or the like. Figure 6
[0149] S1104, the mobile phone creates a first geographic fence and a second geographic fence according to the location information of the express cabinet where express A is located.
[0150] After receiving the second express message of express A sent by the server, the mobile phone can also create one or more geographic fences according to the location information of the express cabinet carried in the second express message. For example, the mobile phone can create two geographic fences according to the location information of the express cabinet, one for reminding the user to collect the express stored in the express cabinet when the user is close to the express cabinet (referred to as the first geographic fence in the present application), and the other for reminding the user to use the mobile phone to open the corresponding pick-up box in the express cabinet (referred to as the second geographic fence in the present application).
[0151] In which, when the user walks into the express cabinet, he / she will first enter the first geographic fence, and then enter the second geographic fence. As shown in (a) of FIG. 12, the first geographic fence can contain the area where the second geographic fence is located. The express cabinet is located in the area where the first geographic fence and the second geographic fence overlap. Alternatively, as shown in (b) of FIG. 12, the area where the first geographic fence is located refers to the area in the region 301 except the second geographic fence, and at this time the express cabinet is located in the second geographic fence. In the present application, the area where the second geographic fence is located can be referred to as the first area, and the area where the first geographic fence is located can be referred to as the second area, and the embodiments of the present application do not make any limitation in this regard. Figure 3 Figure 3
[0152] For example, the first geofence can be set to a region within 200-500 meters around the delivery cabinet, and the second geofence can be set to a region within 20 meters around the delivery cabinet. After the mobile phone creates the two geofences, the mobile phone can periodically detect the location information of the mobile phone through the location service function of the mobile phone, so as to determine whether the mobile phone enters the first geofence or the second geofence.
[0153] It should be noted that the first geofence and the second geofence are used as examples in the embodiment, and it can be understood that the mobile phone can also create only one geofence (for example, the first geofence or the second geofence) according to the location information of the delivery cabinet carried in the second delivery message of the express A, and the embodiment of the present application does not make any limitation.
[0154] In addition, the present application does not make any limitation on the execution order between step S1103 and step S1104 after the mobile phone receives the second delivery message of the express A sent by the server.
[0155] S1105, when it is detected that the mobile phone is located in the first geofence, the mobile phone displays the pick-up reminder of the express A.
[0156] Since the distance between the first geofence and the delivery cabinet 001 is greater than the distance between the second geofence and the delivery cabinet 001, when the user carries the mobile phone to move, the user will generally enter the first geofence first. For example, the express A is stored in the delivery cabinet 001 in the community, and when the user returns home after work, the mobile phone gradually approaches the delivery cabinet 001 along with the movement of the user. If the mobile phone detects that its own location is in the first geofence, in order to avoid the user forgetting to pick up the express A in the delivery cabinet 001, the mobile phone can display a pick-up reminder 1301 of the express A, as shown in the drawing, to remind the user to pick up the express A as soon as possible. Figure 14
[0157] For example, similar to the above pick-up notification, the above pick-up reminder can be displayed in the lock screen interface, the upper pull-down menu, the lower pull-down menu, or the message notification bar, and the present application does not make any limitation. In addition, the content in the pick-up reminder can be the same as or different from the content in the pick-up notification. For example, the pick-up reminder displayed by the mobile phone can also include the pick-up code of the express A.
[0158] If the mobile phone displays the above pick-up reminder 1301 and detects that the user clicks the pick-up reminder 1301, or detects that the user unlocks the screen of the mobile phone, it means that the user has viewed the pick-up reminder 1301. Then, in order to avoid the disturbance to the user caused by repeatedly displaying the pick-up reminder 1301, even if the mobile phone still detects that it is currently located in the first geofence, the pick-up reminder 1301 will not be displayed again.
[0159] Alternatively, when the phone displays Courier A's pickup notification in step S1103, it can also record the time T1 at which the pickup notification was displayed. Then, in step S1105, when the phone detects that it is within the first geofence, the phone can determine the time interval between now and the display of the pickup notification based on the recorded time T1. If this time interval is less than a preset value, it indicates that the phone recently displayed Courier A's pickup notification. Displaying Courier A's pickup reminder at this time might disturb the user. Therefore, the phone may temporarily suppress the display of Courier A's pickup reminder.
[0160] For example, if the phone determines that the time interval before displaying the pickup notification is less than a preset value, the phone may temporarily not display the pickup reminder from Courier A. At the same time, the phone may start a timer for a certain duration. When the timer expires, the phone may display the pickup reminder from Courier A. Alternatively, when the timer expires, the phone may obtain its current location information and, if the phone is currently within the first geofence, display the pickup reminder from Courier A.
[0161] Of course, when the mobile phone detects that it is currently located in the first geographic fence, it can also remind the user to collect the express A in the express cabinet 001 as soon as possible through vibration or voice, etc. This embodiment of the application does not impose any restrictions on this.
[0162] S1106. When it is detected that the mobile phone is located within the second geographic fence, the mobile phone displays the pickup function item of courier A.
[0163] The above-mentioned pickup function item can be in the form of a button, link, component or card, etc., and the present application embodiment does not impose any restrictions on this. For the convenience of description, the subsequent embodiments take the pickup button as an example of the pickup function item.
[0164] When the mobile phone detects that it is in the second geographical fence closer to the express cabinet 001, it means that the user has come to the express cabinet 001 where the express A is stored, and the express cabinet 001 contains the express A that the user has not yet received. Figure 15 As shown, the mobile phone can display a pickup button 1401 on the courier card 501. This pickup button 1401 can be used to automatically open the pickup box in the courier locker 001 containing courier A. That is, after the user clicks the pickup button 1401, the locker can be opened with one click, without having to manually enter the pickup code into the courier locker 001. This simplifies the user's process for receiving parcels.
[0165] For example, when the mobile phone detects that it has entered the second geo-fence, the mobile phone may display the pickup button 1401 in the courier card 501. However, when the mobile phone has not entered the second geo-fence or has left the second geo-fence, the mobile phone will not display the pickup button 1401 in the courier card 501.
[0166] Alternatively, the pickup button 1401 can be displayed in the express card 501 all the time, but before detecting that the mobile phone enters the second geofence, the mobile phone can not respond to the operation of the user clicking the pickup button 1401 as one-key opening the cabinet. For example, before detecting that the mobile phone enters the second geofence, the mobile phone can display the pickup button 1401 in gray to prompt the user that the current pickup button 1401 cannot be interacted. After detecting that the mobile phone enters the second geofence, the mobile phone can display the pickup button 1401 in green to prompt the user to click the pickup button 1401 to realize the one-key opening cabinet function.
[0167] In this way, the user cannot trigger the pickup button 1401 to realize the one-key opening cabinet function when the user is not close to the express cabinet 001, avoiding the security risks caused by the user opening the corresponding pickup box in the express cabinet 001 when the user is far away from the express cabinet 001.
[0168] In addition, when it is detected that the mobile phone is located in the second geofence, if the mobile phone does not stay in the negative one screen 502 where the express card 501 is located, the mobile phone can first display an automatic opening cabinet prompt. For example, if the mobile phone is in a black screen or lock screen state when it is detected that the mobile phone is located in the second geofence, as shown in (a) of FIG. 12B, the mobile phone can display a lock screen interface 1201, and display an automatic opening cabinet prompt 1501 in the lock screen interface 1201 to prompt the user to trigger the pickup button 1401 in the express card 501. For another example, if the mobile phone is running a desktop or other application when it is detected that the mobile phone is located in the second geofence, as shown in (b) of FIG. 12B, the mobile phone can display the automatic opening cabinet prompt 1501 in the message notification bar 1204. If it is detected that the user clicks the automatic opening cabinet prompt 1501, the mobile phone can jump to the negative one screen 502 as shown in FIG. 12C, and display the pickup button 1401 in the negative one screen 502. Figure 16 Figure 16 Figure 15
[0169] For another example, if the second geofence is located in the first geofence, when it is detected that the mobile phone is located in the second geofence, the mobile phone is also located in the first geofence. At this time, the mobile phone can not only display the pickup button 1401 or the automatic opening cabinet prompt 1501, but also display the pickup reminder of express A. Alternatively, the mobile phone can be pre-set to have a higher priority of the second geofence than the first geofence. In this way, when it is detected that the mobile phone is located in both the first geofence and the second geofence, the mobile phone can preferentially display the pickup button 1401 or the automatic opening cabinet prompt 1501 of express A according to the priority relationship, and no longer display the pickup reminder of express A.
[0170] Of course, the mobile phone can also set the pick-up button on the desktop, the lock screen interface or the message notification bar, and the embodiments of the present application do not make any limitation in this regard. No matter where the pick-up button is set, if the mobile phone detects that the user clicks the pick-up button, the mobile phone can continue to execute the following steps S1107-S1109.
[0171] S1107, when detecting that the user clicks the pick-up function item, the mobile phone sends an opening cabinet request to the server.
[0172] In step S1107, if the mobile phone detects that the user clicks the pick-up button, it means that the user wants to open the pick-up box 002 in the express cabinet 001 to pick up the express A. Then, the mobile phone can send an opening cabinet request to the server, which can include the pick-up information of the express A sent by the server to the mobile phone in step S1102, such as the identification of the express cabinet, the identification of the pick-up box and the pick-up code and the like.
[0173] In addition, the opening cabinet request can also include at least one of the mobile phone identification, the mobile phone number registered by the mobile phone in step S701 and the authentication information received by the mobile phone from the server in step S706. The server can authenticate the identity of the user who sends the opening cabinet request according to these information.
[0174] In the embodiments of the present application, when detecting that the user clicks the pick-up button, the mobile phone can also actively obtain the location information of the current mobile phone. If the current location of the mobile phone is still within the above-mentioned second geographic fence, the mobile phone can send the above-mentioned opening cabinet request to the server. If the current location of the mobile phone is no longer within the above-mentioned second geographic fence, it means that the user is far away from the express cabinet 001 at this time. Then, in order to ensure the safety of the express A in the express cabinet 001, the mobile phone does not need to send the above-mentioned opening cabinet request to the server in response to the user's operation of clicking the pick-up button this time. For example, as shown in Figure 17 The mobile phone can also display a warning 1601 with a higher risk of opening the cabinet. The user can click the pick-up button again after entering the second geographic fence, or the user can click the continue opening cabinet button 1602. If it is detected that the user clicks the continue opening cabinet button 1602, it means that the user is willing to bear the risk of opening the cabinet, therefore, the mobile phone can send the above-mentioned opening cabinet request to the server at this time.
[0175] As can be seen, the embodiments of the present application need to verify the geographic location of the mobile phone sending the opening cabinet request before implementing the one-key opening cabinet function. When the distance between the mobile phone and the express cabinet to be opened is close enough, the risk of express loss caused by opening the express cabinet is low, and the mobile phone can send the opening cabinet request to the server at this time. When the distance between the mobile phone and the express cabinet does not satisfy the preset condition, the mobile phone does not need to send the opening cabinet request to the server, so as to ensure the safety of the express to be picked up.
[0176] S1108, in response to the above cabinet opening request, the server controls the express cabinet to open the pick-up box of express A.
[0177] After the server receives the cabinet opening request sent by the mobile phone, the server can first perform identity authentication on the user who sends the cabinet opening request according to the mobile phone number, the mobile phone identifier and the authentication information carried in the cabinet opening request. Since the corresponding relationship between the mobile phone number, the mobile phone identifier and the authentication information is stored in the server in advance when each legal registered user registers the express reminding service. Therefore, if it is detected that the mobile phone number, the mobile phone identifier and the authentication information carried in the cabinet opening request are the same as the mobile phone number, the mobile phone identifier and the authentication information in a certain corresponding relationship stored in advance, it indicates that the user who sends the cabinet opening request is a legal registered user. Otherwise, the server can determine that the user who sends the above cabinet opening request is an illegal user, and at this time the server can discard the cabinet opening request.
[0178] If the user who sends the cabinet opening request is a legal registered user, the server can generate a cabinet opening instruction according to the pick-up information carried in the above cabinet opening request, and send the cabinet opening instruction to the corresponding express cabinet, so that the corresponding express cabinet executes the cabinet opening operation in response to the cabinet opening instruction. For example, the pick-up information carried in the above cabinet opening request includes the identifier 001 of the express cabinet, the identifier 002 of the pick-up box, and the pick-up code 010203. Then, the server can send the identifier 002 of the pick-up box and the pick-up code 010203 in the cabinet opening instruction to the express cabinet with the identifier 001. In this way, the express cabinet with the identifier 001 can open the pick-up box 002 according to the received identifier 002 of the pick-up box and the pick-up code 010203. In this way, the user can open the pick-up box 002 to collect express A by clicking the pick-up button, thereby simplifying the pick-up process of the user when using the express cabinet to collect express.
[0179] It should be noted that the server that controls the above express cabinet to open the pick-up box in step S1108 and the server that interacts with the mobile phone in steps S1102 and S1107 can be the same or different servers. For example, a first server can be configured to implement business interaction with the mobile phone, and a second server can be configured to implement business interaction with the express cabinet. For example, the first server can send the express message of the express to be picked up to the mobile phone in step S1102, or can receive the cabinet opening request sent by the mobile phone in step S1107. After the first server receives the cabinet opening request sent by the mobile phone, the first server can forward the cabinet opening request to the second server, and the second server controls the above express cabinet to open the corresponding pick-up box in response to the cabinet opening request. Of course, when the second server receives the express message uploaded by the express delivery person, the second server can also send the express message to the first server, and the embodiments of the present application do not make any limitation on this.
[0180] S1109, the mobile phone deletes the above first geographic fence and the second geographic fence.
[0181] For example, after express locker 001 executes the locker opening operation in response to the locker opening instruction sent by the server, if the pickup box 002 in the locker opening instruction is successfully opened, the express locker 001 may send a successful locker opening response message 1 to the server. After receiving the successful locker opening response message 1, the server may send the response message 1 to the mobile phone that issued the locker opening request.
[0182] At this time, if Figure 18 As shown, the mobile phone may display a prompt 1701 in the courier card 501 indicating that courier A has successfully picked up the package. At the same time, the mobile phone may also delete the first geofence and the second geofence created in step S1104 to avoid disturbing the user by triggering the pickup reminder or pickup button when the mobile phone subsequently enters the first geofence or the second geofence again.
[0183] Accordingly, if express locker 001 fails to successfully open the pickup box 002 specified in the locker opening instruction, locker 001 may send a failed locker opening response message 2 to the server. Upon receiving this failed locker opening response message 2, the server may also send this response message 2 to the mobile phone that issued the locker opening request. Since the failed locker opening failed, the user did not successfully receive package A. Therefore, the mobile phone does not need to delete the first or second geofences. Furthermore, the mobile phone may continue to execute steps S1105-S1108 until it receives the successful locker opening response message 1, at which point it may delete the first and second geofences set for package A.
[0184] Benru Figure 19 As shown, the embodiment of the application discloses an electronic device, including: a touch screen 1901, wherein the touch screen 1901 includes a touch-sensitive surface 1906 and a display screen 1907; one or more processors 1902; a memory 1903; a communication interface 1908; a positioning device 1909; one or more applications (not shown); and one or more computer programs 1904. The above components can be connected via one or more communication buses 1905. The one or more computer programs 1904 are stored in the memory 1903 and configured to be executed by the one or more processors 1902. The one or more computer programs 1904 include instructions, which can be used to perform the following operations: Figure 8 or Figure 12 and each step in the corresponding embodiment.
[0185] Those skilled in the art can clearly understand the technical solutions of the present application according to the above description of the embodiments, and for the convenience and brevity of description, only the division of the above functional modules is taken as an example, and in actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0186] The functional units in the various embodiments of the present application can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.
[0187] The integrated unit, if realized in the form of a software functional unit and sold or used as an independent product, can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application essentially or say the part that contributes to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor execute all or part of the steps of the method described in various embodiments of the present application. The foregoing storage medium includes: a flash memory, a mobile hard disk, a read-only memory, a random access memory, a magnetic disk or an optical disk, and various media that can store program codes.
[0188] The above is only a specific implementation of the embodiments of the present application, but the protection scope of the embodiments of the present application is not limited to this. Any change or replacement within the technical scope disclosed in the embodiments of the present application should be covered in the protection scope of the embodiments of the present application. Therefore, the protection scope of the embodiments of the present application should be subject to the protection scope of the claims.
Claims
1. A method for controlling express lockers based on express messages, characterized in that: The method comprises: An electronic device acquires a first express message sent by a server; The electronic device displays a pick-up notification of the first express according to the express message; The electronic device determines a first area and a second area according to position information of a delivery cabinet storing the first express, the delivery cabinet is located in the first area and the second area, the second area contains the first area, or the second area is an area in a third area except the first area, the third area is an area containing the first area; When detecting that the electronic device enters the second area, the electronic device displays a pick-up reminder, the pick-up reminder is used to prompt a user to pick up the first express; When detecting that the electronic device enters the second area, the method further comprises: The electronic device determines a time interval between displaying the pick-up notification and entering the second area; The electronic device displays the pick-up reminder, comprising: If the time interval is greater than a preset value, the electronic device displays the pick-up reminder; or, If the time interval is less than or equal to the preset value, the electronic device displays the pick-up reminder after a preset time; When detecting that the electronic device enters the first area, the electronic device displays a pick-up function item; When detecting that the user triggers the pick-up function item, the electronic device sends an opening cabinet request to the server, the opening cabinet request contains pick-up information of the first express, so as to open a pick-up box storing the first express in the delivery cabinet.
2. The method of claim 1, wherein, The pick-up function item is a pick-up button, and the pick-up button is located in a minus one screen, a lock screen interface, a message notification bar, an upper pull-down menu or a lower pull-down menu.
3. The method according to claim 1 or 2, characterized in that, When detecting that the electronic device enters the first area, the method further comprises: If the electronic device does not display an opening cabinet interface, the electronic device displays an automatic opening cabinet prompt, and the opening cabinet interface contains the pick-up function item; The electronic device displays the pick-up function item, comprising: When detecting that the user inputs a preset operation to the automatic opening cabinet prompt, the electronic device jumps to the opening cabinet interface.
4. The method according to claim 1 or 2, characterized in that, After the electronic device displays the pick-up function item, the method further comprises: When detecting that the electronic device leaves the first area, the electronic device hides the pick-up function item; or, When detecting that the electronic device leaves the first area, the electronic device sets the pick-up function item to a state that cannot interact with the user.
5. The method according to claim 1 or 2, characterized in that, When detecting that the user inputs a preset operation to the pick-up function item, the method further comprises: The electronic device acquires position information of a current location of the electronic device; The electronic device sends the opening cabinet request to the server, comprising: If the position information of the current location of the electronic device is located in the first area, the electronic device sends the opening cabinet request to the server.
6. The method of claim 5, wherein, After the electronic device acquires the position information of the current location of the electronic device, the method further comprises: If the location information of the electronic device is outside the first area, the electronic device displays warning information for prompting the user to open the pick-up box of the first express.
7. The method of claim 1, wherein, After the electronic device displays the pick-up reminder, the method further includes: When the electronic device is detected to enter the second area again, the electronic device determines whether the pick-up reminder is operated; If the pick-up reminder is operated, the electronic device no longer displays the pick-up reminder; if the pick-up reminder is not operated, the electronic device displays the pick-up reminder again.
8. The method of claim 1, wherein, The electronic device is provided with a function of an express card, which is used to display the express message of the registered recipient of the user; After the electronic device displays the pick-up notification of the first express according to the express message, the method further includes: When the electronic device detects that the user inputs a preset operation to the pick-up notification, the electronic device jumps to the interface where the express card is located.
9. An electronic device, comprising: It includes: a touch screen, wherein the touch screen includes a touch-sensitive surface and a display; a communication interface; a positioning device; one or more processors; one or more memories; and one or more computer programs, wherein the one or more computer programs are stored in the one or more memories; wherein, the communication interface is configured to obtain the express message of the first express sent by the server; the touch screen is configured to display the pick-up notification of the first express according to the express message; the processor is configured to determine a first area and a second area according to the location information of the express cabinet where the first express is stored, the express cabinet is located in the first area and the second area, the second area contains the first area, or the second area is an area in a third area except the first area, and the third area is an area containing the first area; the touch screen is further configured to display a pick-up function item when entering the first area; the touch screen is further configured to determine the time interval between the time when the electronic device displays the pick-up notification and the time when the electronic device enters the second area when the electronic device enters the second area; if the time interval is greater than a preset value, the touch screen is instructed to display a pick-up reminder; or, if the time interval is less than or equal to the preset value, the touch screen is instructed to display the pick-up reminder after a preset time; the communication interface is further configured to send an opening cabinet request to the server when the user triggers the pick-up function item, the opening cabinet request contains the pick-up information of the first express, so as to open the pick-up box in the express cabinet where the first express is stored.
10. The electronic device of claim 9, wherein the touch screen is further configured to display an automatic opening cabinet prompt if the opening cabinet interface is not displayed, the opening cabinet interface contains the pick-up function item; when the user inputs a preset operation to the automatic opening cabinet prompt, the opening cabinet interface is jumped to.
11. The electronic device of claim 9 or 10, wherein The processor is further configured to hide the pick-up function item in the touch screen when the electronic device leaves the first area, or set the pick-up function item to a state in which the pick-up function item cannot interact with the user when the electronic device leaves the first area. 12.The electronic device of claim 9 or 10, wherein, The positioning apparatus is configured to acquire location information of the electronic device. The processor is further configured to determine whether the location information of the electronic device is located in the first area, and instruct the communication interface to send the cabinet opening request to the server if the location information of the electronic device is located in the first area. 13.The electronic device of claim 12, wherein, The touch screen is further configured to display warning information if the location information of the electronic device is located outside the first area, the warning information being used to prompt the user to open the pick-up box of the first express. 14.The electronic device of claim 9, wherein, The processor is further configured to determine whether the pick-up reminder is operated when the electronic device enters the second area again, and not display the pick-up reminder if the pick-up reminder is operated, or instruct the touch screen to display the pick-up reminder again if the pick-up reminder is not operated.
15. The electronic device of claim 9, wherein, The electronic device is provided with a function of an express card, the express card being used to display express messages of a registered receiver of the user; The touch screen is further configured to jump to an interface in which the express card is located when the user inputs a preset operation to the pick-up notification.
16. A computer-readable storage medium having stored therein instructions, the computer-readable storage medium comprising: The instructions, when executed on an electronic device, cause the electronic device to perform the method for controlling an express cabinet based on an express message according to any one of claims 1-8.
17. A computer program product comprising instructions, characterized in that, The computer program product, when executed on an electronic device, causes the electronic device to perform the method for controlling an express cabinet based on an express message according to any one of claims 1-8.
Citation Information
Patent Citations
Method of massage reminding and mobile terminal
CN106792584A
Remote unpacking method and apparatus of express cabinet
CN107610356A