Storage cabinet control method and device, storage medium and electronic equipment
Through the determination of Bluetooth signal strength, it automatically jumps to the operation interface, and directly generates and sends control commands to the storage cabinet, solving the problem of cumbersome operation procedures of the existing storage cabinet and improving the delivery efficiency.
Patent Information
- Application Number
- CN202411975259.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-04-08
AI Technical Summary
The operation process of existing storage cabinets is complicated, and it is necessary to manually open the terminal equipment program, scan the QR code of the storage cabinet, and choose to open the cabinet, which leads to inefficiency.
By obtaining the Bluetooth communication signal strength with the target locker, responding that the signal strength is greater than or equal to the predetermined threshold, jump to the operation interface, receive the operation request input by the user, and generate control instructions to send it to the locker.
Reduced operational processes and improved delivery efficiency. Users can store lockers without manually opening the APP or scanning the code.
Smart Images

Figure CN119785490A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent control technology, and in particular to a control method, device, storage medium and electronic equipment for a locker. Background Art
[0002] With the rapid development of science and technology and the accelerated pace of people's lives, offline delivery services have gradually become an indispensable part of people's lives. However, traditional delivery methods often face problems such as time mismatch between delivery personnel and customers and low delivery efficiency. In order to solve these problems, lockers have emerged as an innovative delivery method. However, in the prior art, when storing and retrieving items in a locker, it is necessary to manually open the program of the terminal device, then click the code scanning control, scan the QR code on the locker, and then choose to open the locker, etc. This results in cumbersome and inefficient storage and retrieval operations. Summary of the invention
[0003] In view of this, the embodiments of the present invention provide a control method, device, storage medium and electronic device for a locker, which can reduce the operation process and improve the delivery efficiency.
[0004] In a first aspect, an embodiment of the present invention provides a locker control method applicable to a terminal device, the method comprising:
[0005] Obtain the signal strength of the Bluetooth communication with the target locker;
[0006] In response to the signal strength being greater than or equal to a predetermined threshold, jumping to an operation interface;
[0007] receiving, through the operation interface, an operation request for the target locker input by a user;
[0008] A control instruction is generated according to the operation request and sent to the target locker.
[0009] In a second aspect, an embodiment of the present invention provides a locker control method, which is applicable to a terminal device, wherein the terminal device is installed with a first application and a second application, and the method includes:
[0010] The first application obtains the signal strength of the Bluetooth communication with the target locker;
[0011] In response to the signal strength being greater than or equal to a predetermined threshold, jumping to an operation interface of a second application;
[0012] The second application receives an operation request for the target locker input by the user through the operation interface;
[0013] The second application generates a control instruction according to the operation request and sends the control instruction to the target locker.
[0014] In a third aspect, an embodiment of the present invention provides a control device for a locker, applicable to a terminal device, the device comprising:
[0015] A first signal strength acquisition unit, used to acquire the signal strength of the Bluetooth communication with the target locker;
[0016] A first interface jump unit, configured to jump to an operation interface in response to the signal strength being greater than or equal to a predetermined threshold;
[0017] A first operation request receiving unit, configured to receive an operation request for the target locker input by a user through the operation interface;
[0018] The first control instruction sending unit is used to generate a control instruction according to the operation request and send the control instruction to the target locker.
[0019] In a fourth aspect, an embodiment of the present invention provides a control device for a locker, which is applicable to a terminal device, wherein the terminal device is installed with a first application and a second application, and the device includes:
[0020] A second signal strength acquisition unit, configured to acquire the signal strength of the Bluetooth communication with the target locker through the first application;
[0021] A second interface jump unit, configured to jump to an operation interface of a second application program in response to the signal strength being greater than or equal to a predetermined threshold;
[0022] A second operation request receiving unit, configured to receive an operation request for the target locker input by a user through the operation interface based on a second application;
[0023] The second control instruction sending unit is used to generate a control instruction according to the operation request through a second application program and send the control instruction to the target locker.
[0024] In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer program instructions, wherein the computer program instructions, when executed by a processor, implement the method described in the first aspect and the second aspect.
[0025] In a sixth aspect, an embodiment of the present invention provides an electronic device, comprising a memory and a processor, wherein the memory is used to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the method described in the first aspect and the second aspect.
[0026] The technical solution of the embodiment of the present invention obtains the signal strength of the Bluetooth communication with the target locker, jumps to the operation interface in response to the signal strength being greater than or equal to a predetermined threshold, receives the operation request for the target locker input by the user through the operation interface, generates a control instruction according to the operation request and sends it to the target locker. In this way, the operation process can be reduced and the delivery efficiency can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The above and other objects, features and advantages of the present invention will become more apparent through the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:
[0028] Figure 1 is a schematic diagram of a locker control system according to an embodiment of the present invention;
[0029] Figure 2 is a flow chart of information interaction according to the first embodiment of the present invention;
[0030] Figure 3 is a schematic diagram of an operation interface of an embodiment of the present invention;
[0031] Figure 4 is a flow chart of information interaction according to the second embodiment of the present invention;
[0032] Figure 5 is a schematic diagram of a pop-up window according to an embodiment of the present invention;
[0033] Figure 6 is a flow chart of information interaction according to the third embodiment of the present invention;
[0034] Figure 7 is a flowchart of information interaction according to a fourth embodiment of the present invention;
[0035] Figure 8 is a flow chart of a method for controlling a locker according to an embodiment of the present invention;
[0036] Fig. 9 is a flow chart of a method for controlling a locker according to another embodiment of the present invention;
[0037] Fig.10 is a schematic diagram of a control device for a locker according to an embodiment of the present invention;
[0038] Fig.11 is a schematic diagram of a control device for a locker according to another embodiment of the present invention;
[0039] Fig.12 is a schematic diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0040] The present invention is described below based on embodiments, but the present invention is not limited to these embodiments. In the detailed description of the present invention below, some specific details are described in detail. It is possible for a person skilled in the art to fully understand the present invention without the description of these details. In order to avoid confusing the essence of the present invention, known methods, processes, flows, components and circuits are not described in detail.
[0041] In addition, persons of ordinary skill in the art will appreciate that the drawings provided herein are for illustration purposes and are not necessarily drawn to scale.
[0042] Unless the context clearly requires otherwise, the words "include", "comprising" and the like throughout this application should be interpreted as including rather than exclusive or exhaustive; that is, as meaning "including but not limited to".
[0043] In the description of the present invention, it should be understood that the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present invention, unless otherwise specified, "plurality" means two or more.
[0044] The solutions described in this specification and in the examples, if they involve the processing of personal information, will be processed on the premise of having a legal basis (such as obtaining the consent of the subject of personal information, or being necessary for the performance of a contract, etc.), and will only be processed within the scope of regulations or agreements. If a user refuses to process personal information other than the necessary information for basic functions, it will not affect the user's use of basic functions.
[0045] Figure 1 FIG. 1 is a schematic diagram of a locker control system according to an embodiment of the present invention. Figure 1 As shown, the locker control system according to the embodiment of the present invention includes a locker 1 and a terminal device 2 .
[0046] The locker 1 may be any type of locker, such as a takeaway locker, a courier locker, etc.
[0047] Terminal device 2 is a terminal device of a person who uses a locker. It can be a terminal device corresponding to a distribution resource, a terminal device corresponding to a user, etc. Among them, the terminal device corresponding to the distribution resource is a smart phone, tablet computer, smart wearable device, laptop computer or other type of mobile communication terminal or transportation equipment with a mobile communication terminal suitable for use by distribution personnel, such as electric vehicles, cars, etc., and can also be a smart distribution device with mobile capabilities, such as a distribution robot, a distribution drone, etc. The terminal device corresponding to the user is the terminal device of the user who takes items from the locker, which can be a smart phone, tablet computer, smart wearable device, laptop computer or other type of mobile communication terminal or transportation equipment with a mobile communication terminal, such as electric vehicles, cars, etc.
[0048] Figure 2 It is a flow chart of information interaction of the first embodiment of the present invention. Figure 2 shows the information interaction between the terminal device and the locker. Figure 2 In the example, the terminal device is a terminal device for distributing resources and is installed with a specified application. The information interaction between the terminal device and the locker is realized through Bluetooth communication. In the Bluetooth communication process, the locker is a broadcasting device for sending broadcast signals. The terminal device is a scanning device for scanning and obtaining broadcast signals. Specifically, the information interaction between the terminal device and the locker includes the following steps:
[0049] Step S101: Scan broadcast signals.
[0050] In this embodiment, the terminal device scans the broadcast signal through a designated application. The designated application and the locker belong to the same platform. The designated application can execute all or part of the process in the delivery process, such as order acceptance, delivery information display, delivery route navigation, order confirmation delivery, locker opening and / or closing control, etc.
[0051] In an optional implementation, the terminal device is configured to scan and obtain candidate broadcast signals through the Bluetooth communication function in response to staying on a predetermined interface, wherein the candidate broadcast signals are broadcast signals sent by other Bluetooth devices, and the other Bluetooth devices may be lockers or Bluetooth devices other than lockers. The broadcast signals scanned and obtained by the terminal device through the Bluetooth communication function are all candidate broadcast signals. Among them, staying on the predetermined interface may mean that the terminal device opens the predetermined interface through the specified application and is displaying it, and / or, staying on the predetermined interface may mean that the terminal device opens the predetermined interface through the specified application, but the application is running in the background and is not currently displayed. Therefore, by scanning and obtaining broadcast signals when the terminal device stays on the predetermined interface, the user can open the predetermined interface when scanning is required, and exit the predetermined interface when scanning is not required, so that the terminal device stops scanning, thereby reducing the power consumption of the terminal device.
[0052] In another optional implementation, the terminal device is configured to scan and obtain candidate broadcast signals in the background in a predetermined manner. Specifically, the terminal device scans and obtains candidate broadcast signals in a predetermined manner through the Bluetooth communication function. The predetermined manner can be configured according to actual conditions. For example, the predetermined manner is that the terminal device continuously scans and obtains candidate broadcast signals according to a predetermined period. For another example, when the terminal device detects that the distance from the delivery address is within a certain range, it continuously scans and obtains candidate broadcast signals according to a predetermined period.
[0053] Among them, the broadcast signal of Bluetooth includes one or more of data length, broadcast type, company identification, beacon type, container identification, application or service identification, main field, secondary field and power field. Among them, the data length (ADLen) indicates the length of the advertisement data (broadcast data), that is, the total length of the useful information of the broadcast packet. The broadcast type (Type) field indicates the broadcast type. The company identification (Company ID) is the manufacturer's identification, which is assigned to each company by the Bluetooth SIG (Special Interest Group, Bluetooth Technology Alliance) organization to indicate the decoding method of subsequent data. The beacon type field indicates the type of the beacon. The container identification (Container ID) is used to indicate the container. The application or service identification (App ID) is the application or service ID (identification). The major field (Major) and the minor field (Minor) are used to encode functions, operations or controls. Usually, the major field indicates a page, and the minor field indicates a function, button or menu on the page. The power field (Tx Power) helps the application to estimate the distance.
[0054] Step S102: The locker sends a target broadcast signal.
[0055] In this embodiment, the locker sends the target broadcast signal according to a pre-set rule, wherein the pre-set rule may be a predetermined period, for example, sending a broadcast signal every certain period of time (0.5 seconds, 1 second, 3 seconds, etc.).
[0056] Step S103: The terminal device scans the target broadcast signal.
[0057] In this embodiment, the terminal device scans and acquires candidate broadcast signals, parses each candidate broadcast signal to obtain relevant data, wherein the relevant data is each field of the broadcast signal, and in response to the relevant data satisfying a predetermined condition, determines the candidate broadcast signal as the target broadcast signal. The predetermined condition is one or more field types of data length, broadcast type, company identification, beacon type, container identification, application or service identification, primary field, secondary field, and power field in the pre-set broadcast signal.
[0058] The target broadcast signal is a broadcast signal sent by the target locker.
[0059] In an optional implementation, the terminal device is an IOS operating system. The application of the IOS operating system includes five states, namely, not running, inactive, active, background, and suspended. Among them, the not running state means that the application is not started. The inactive state means that the program is running in the foreground, but no events are received. The active state means that the program is running in the foreground and has received events. The background running state means that the application is in the background and can execute code. The suspended state means that the application cannot execute code in the background.
[0060] The terminal device obtains the candidate broadcast signal by scanning, including: the application stays on a predetermined interface, obtains the candidate broadcast signal by scanning, and the working state of the application is an activated state. Alternatively, the application scans and obtains the candidate broadcast signal in the background, and the working state of the application is a background running state.
[0061] In another optional implementation, the terminal device is an Android operating system. The states of applications in the Android operating system also include five types, namely, Not Running, Paused, Active, Stopped, and Destroyed. Among them, Not Running means that the application has not been started or has been killed by the system. Paused means that the application is running in the background but is not seen by the user. At this time, some interfaces of the application may be destroyed, but the data remains in the memory. Active means that the application is running in the foreground, and the user can see and interact with the application. Stopped means that the application is paused or stopped, but it is still retained in the memory and can be quickly restored. Destroyed: The application is destroyed and all resources are released.
[0062] The terminal device obtains the candidate broadcast signal by scanning, which includes: the application stays on a predetermined interface and obtains the candidate broadcast signal by scanning, and the working state of the application is an activated state. Alternatively, the application scans and obtains the candidate broadcast signal in the background, and the working state of the application is a paused state.
[0063] Step S104: The terminal device obtains signal strength.
[0064] In this embodiment, the terminal device obtains the signal strength of the target broadcast signal. The terminal device processes the target broadcast signal to obtain measurement parameters, where the measurement parameters include one or more of transmission power, receiving antenna gain, transmitting antenna gain, and distance attenuation, and determines the signal strength according to the measurement parameters.
[0065] Among them, in the Bluetooth connection, the detection principle of signal strength is mainly based on the received signal strength indication (RSSI). RSSI is a technology for measuring the receiving strength of wireless signals, and the distance between the signal point and the receiving point is determined by the strength of the received signal. During the broadcasting process of the Bluetooth device, the farther the signal receiving end is from the transmitting end, the weaker the received RSSI field strength value; on the contrary, the closer the signal receiving end is to the transmitting end, the stronger the received RSSI field strength value. The change in the strength of this field strength value reflects the attenuation of the signal during the propagation process. Specifically, the terminal device measures the received Bluetooth signal strength through built-in circuits and algorithms, and calculates this strength value as RSSI (received signal strength indication). The RSSI value is a negative value. The larger the value, the stronger the signal, and the smaller the value, the weaker the signal. Among them, the calculation of the RSSI value by the terminal device can be implemented based on various existing methods, and the embodiments of the present invention will not be repeated here.
[0066] Step S105: The terminal device determines whether the signal strength is greater than or equal to a predetermined threshold.
[0067] In this embodiment, after the terminal device obtains the signal strength of the target broadcast signal, it determines whether the signal strength is greater than or equal to a predetermined threshold value, wherein the predetermined threshold value can be set according to actual conditions.
[0068] If the signal strength is greater than or equal to the predetermined threshold, it indicates that the distance between the terminal device and the target locker is small, and the process goes to step S106.
[0069] If the signal strength is less than the predetermined threshold, it indicates that the distance between the terminal device and the target locker is large, and the process returns to steps S101-S104.
[0070] Step S106: The terminal device jumps to the operation interface.
[0071] In this embodiment, if the signal strength is greater than or equal to a predetermined threshold, indicating that the distance between the terminal device and the target locker is small, the terminal device jumps to an operation interface, wherein the operation interface is an operation interface for controlling the target locker.
[0072] Figure 3 Schematic diagram of the operation interface of an embodiment of the present invention. Figure 3 As shown, the operation interface includes operation controls.
[0073] Specifically, the embodiment of the present invention is described by taking the operation controls including the "save item" control and the "retrieve item" control as an example, but the specific functions and controls of the operation interface of the embodiment of the present invention are not limited and can be configured according to actual usage requirements.
[0074] In some embodiments, the operation interface further includes at least one of a target locker name and a location. The target locker name and the location are provided for the user to confirm the target locker, thereby reducing the occurrence of operation errors.
[0075] Step S107: The terminal device obtains an operation request.
[0076] In this embodiment, the terminal device obtains the operation request input by the user through the operation interface. When the operation control is triggered, the terminal device obtains the user's operation request. The operation request includes a pickup request or a storage request.
[0077] Step S108: The terminal device sends an operation instruction.
[0078] In this embodiment, after the terminal device obtains the user's operation request, it generates a corresponding operation instruction according to the operation request and sends the operation instruction to the target locker. The operation instruction includes a locker opening instruction and the like.
[0079] It should be noted that before the terminal device sends the operation instruction to the target locker, the terminal device establishes a Bluetooth communication connection with the target locker according to the scanned target broadcast signal, so as to send the operation instruction via the Bluetooth communication connection.
[0080] Step S109: The locker executes the operation instruction.
[0081] In this embodiment, the target locker receives the operation instruction sent by the terminal device and executes the operation instruction.
[0082] Taking the terminal device as a distribution resource device as an example, through the technical solution of the embodiment of the present invention, when the distribution terminal is close to the target locker within a certain range during order distribution, it automatically jumps to the operation interface, and the user no longer needs to manually open the APP, scan the QR code, etc. This can reduce the operation process and improve the distribution efficiency.
[0083] The embodiment of the present invention obtains the signal strength of the Bluetooth communication with the target locker, jumps to the operation interface in response to the signal strength being greater than or equal to a predetermined threshold, receives the operation request for the target locker input by the user through the operation interface, generates a control instruction according to the operation request and sends it to the target locker. In this way, the operation process can be reduced and the delivery efficiency can be improved.
[0084] Figure 4 It is a flow chart of information interaction of the second embodiment of the present invention. Figure 4 shows the information interaction between the terminal device and the locker. Figure 4In the example, the terminal device is a terminal device for distributing resources, and is installed with a first application and a second application. The information interaction between the terminal device and the locker is realized through Bluetooth communication, wherein, during the Bluetooth communication process, the locker is a broadcasting device for sending broadcast signals. The terminal device is a scanning device for scanning and acquiring broadcast signals. Specifically, the information interaction between the terminal device and the locker includes the following steps:
[0085] Step S201: The terminal device scans the broadcast signal through the first application.
[0086] In this embodiment, the terminal device is installed with a first application and a second application, wherein the first application and the second application can execute part of the process in the delivery process, for example, the first application executes order acceptance, delivery information display, delivery route navigation, order confirmation and delivery, etc. The second application executes the control of the locker, such as opening and / or closing the locker, etc. The first application of the terminal device obtains the candidate broadcast signal by scanning.
[0087] In an optional implementation, the first application of the terminal device is configured to scan and obtain candidate broadcast signals through the Bluetooth communication function in response to staying on the predetermined interface, wherein the candidate broadcast signals are broadcast signals sent by other Bluetooth devices, and the other Bluetooth devices may be lockers or Bluetooth devices other than lockers. The broadcast signals scanned and obtained by the terminal device through the Bluetooth communication function are all candidate broadcast signals. Among them, staying on the predetermined interface may mean that the terminal device opens the predetermined interface through the first application and is displaying it, and / or, staying on the predetermined interface may mean that the terminal device opens the predetermined interface through the first application, but the first application is running in the background and is not currently displayed. Therefore, by scanning and obtaining broadcast signals when the terminal device stays on the predetermined interface, the user can open the predetermined interface when scanning is required, and exit the predetermined interface when scanning is not required, so that the terminal device stops scanning to reduce the power consumption of the terminal device.
[0088] In another optional implementation, the terminal device is configured to scan and obtain candidate broadcast signals in the background in a predetermined manner. Specifically, the terminal device scans and obtains candidate broadcast signals in a predetermined manner through the Bluetooth communication function. The predetermined manner can be configured according to actual conditions. For example, the predetermined manner is that the terminal device continuously scans and obtains candidate broadcast signals according to a predetermined period. For another example, when the terminal device detects that the distance from the delivery address is within a certain range, it continuously scans and obtains candidate broadcast signals according to a predetermined period.
[0089] Among them, the broadcast signal of Bluetooth includes one or more of data length, broadcast type, company identification, beacon type, container identification, application or service identification, main field, secondary field and power field. Among them, the data length (ADLen) indicates the length of the advertisement data (broadcast data), that is, the total length of the useful information of the broadcast packet. The broadcast type (Type) field indicates the broadcast type. The company identification (Company ID) is the manufacturer's identification, which is assigned to each company by the Bluetooth SIG (Special Interest Group, Bluetooth Technology Alliance) organization to indicate the decoding method of subsequent data. The beacon type field indicates the type of the beacon. The container identification (Container ID) is used to indicate the container. The application or service identification (App ID) is the application or service ID (identification). The major field (Major) and the minor field (Minor) are used to encode functions, operations or controls. Usually, the major field indicates a page, and the minor field indicates a function, button or menu on the page. The power field (Tx Power) helps the application to estimate the distance.
[0090] Step S202: The locker sends a target broadcast signal.
[0091] In this embodiment, the locker sends the target broadcast signal according to a pre-set rule, wherein the pre-set rule may be a predetermined period, for example, sending a broadcast signal every certain period of time (0.5 seconds, 1 second, 3 seconds, etc.).
[0092] Step S203: The terminal device scans the target broadcast signal through the first application.
[0093] In this embodiment, the terminal device scans and acquires candidate broadcast signals, parses each candidate broadcast signal to obtain relevant data, wherein the relevant data is each field of the broadcast signal, and in response to the relevant data satisfying a predetermined condition, determines the candidate broadcast signal as the target broadcast signal. The predetermined condition is one or more field types of data length, broadcast type, company identification, beacon type, container identification, application or service identification, primary field, secondary field, and power field in the pre-set broadcast signal.
[0094] The target broadcast signal is a broadcast signal sent by the target locker.
[0095] In an optional implementation, the terminal device is an IOS operating system. The application of the IOS operating system includes five states, namely, not running, inactive, active, background, and suspended. Among them, the not running state means that the application is not started. The inactive state means that the program is running in the foreground, but no events are received. The active state means that the program is running in the foreground and has received events. The background running state means that the application is in the background and can execute code. The suspended state means that the application cannot execute code in the background.
[0096] The terminal device obtains the candidate broadcast signal by scanning, including: the first application stays on a predetermined interface, obtains the candidate broadcast signal by scanning, and the working state of the first application is an activated state. Alternatively, the first application scans and obtains the candidate broadcast signal in the background, and the working state of the first application is a background running state.
[0097] In another optional implementation, the terminal device is an Android operating system. The states of applications in the Android operating system also include five types, namely, Not Running, Paused, Active, Stopped, and Destroyed. Among them, Not Running means that the application has not been started or has been killed by the system. Paused means that the application is running in the background but is not seen by the user. At this time, some interfaces of the application may be destroyed, but the data remains in the memory. Active means that the application is running in the foreground, and the user can see and interact with the application. Stopped means that the application is paused or stopped, but it is still retained in the memory and can be quickly restored. Destroyed: The application is destroyed and all resources are released.
[0098] The terminal device obtains the candidate broadcast signal by scanning, including: the first application stays on a predetermined interface, obtains the candidate broadcast signal by scanning, and the working state of the first application is activated. Alternatively, the first application scans and obtains the candidate broadcast signal in the background, and the working state of the first application is paused.
[0099] Step S204: The terminal device obtains signal strength through the first application.
[0100] In this embodiment, the terminal device obtains the signal strength of the target broadcast signal through the first application. The terminal device processes the target broadcast signal to obtain measurement parameters, where the measurement parameters include one or more of transmission power, receiving antenna gain, transmitting antenna gain, and distance attenuation, and determines the signal strength according to the measurement parameters.
[0101] Among them, in the Bluetooth connection, the detection principle of signal strength is mainly based on the received signal strength indication (RSSI). RSSI is a technology for measuring the receiving strength of wireless signals, and the distance between the signal point and the receiving point is determined by the strength of the received signal. During the broadcasting process of the Bluetooth device, the farther the signal receiving end is from the transmitting end, the weaker the received RSSI field strength value; on the contrary, the closer the signal receiving end is to the transmitting end, the stronger the received RSSI field strength value. The change in the strength of this field strength value reflects the attenuation of the signal during the propagation process. Specifically, the terminal device measures the received Bluetooth signal strength through built-in circuits and algorithms, and calculates this strength value as RSSI (received signal strength indication). The RSSI value is a negative value. The larger the value, the stronger the signal, and the smaller the value, the weaker the signal. Among them, the calculation of the RSSI value by the terminal device can be implemented based on various existing methods, and the embodiments of the present invention will not be repeated here.
[0102] Step S205: The terminal device determines whether the signal strength is greater than or equal to a predetermined threshold through the first application.
[0103] In this embodiment, after the first application obtains the signal strength of the target broadcast signal, it determines whether the signal strength is greater than or equal to a predetermined threshold value, wherein the predetermined threshold value can be set according to actual conditions.
[0104] If the signal strength is greater than or equal to the predetermined threshold, it indicates that the distance between the terminal device and the target locker is small, and the process goes to step S206.
[0105] If the signal strength is less than the predetermined threshold, it indicates that the distance between the terminal device and the target locker is large, and the process returns to steps S201-S204.
[0106] Step S206: The first application of the terminal device displays a pop-up window.
[0107] In this embodiment, if the signal strength is greater than or equal to a predetermined threshold, indicating that the distance between the terminal device and the target locker is small, the first application of the terminal device displays a jump control. Specifically, the first application displays a pop-up window, and the pop-up window includes the jump control.
[0108] Among them, the jump control is bound to the uniform resource identifier of the second application, and the uniform resource identifier includes at least one of the protocol name of the resource, the host name where the resource is located, the designated interface for entering the second application, the parameters required to enter the designated interface, and the positioning position in the designated interface.
[0109] In response to the signal strength being greater than or equal to a predetermined threshold, the first application displays a pop-up window, including: in response to the first application being opened and displaying a predetermined interface, displaying the pop-up window on the predetermined interface being displayed by the first application. In response to the first application being opened but running in the background, displaying a notification message on the currently displayed interface, the notification message being used to open the predetermined interface of the first application; in response to the notification message being triggered, opening the predetermined interface of the first application, and displaying the pop-up window on the predetermined interface of the first application.
[0110] That is to say, if the terminal device opens a predetermined interface through a first application and is displaying it, the first application of the terminal device displays the pop-up window specifically by: displaying the pop-up window on the predetermined interface being displayed by the first application.
[0111] If the terminal device opens the predetermined interface through the first application, but the first application is running in the background and is not currently displayed. The first application of the terminal device displays a pop-up window specifically as follows: displaying a notification message in the interface where the terminal device is currently staying, the notification message is used to open the predetermined interface of the first application; in response to the notification message being triggered, opening the predetermined interface of the first application, and displaying the pop-up window on the predetermined interface of the first application. Among them, the notification message can be displayed in the drop-down page of the terminal device.
[0112] Figure 5 is a schematic diagram of a pop-up window in an embodiment of the present invention. Figure 5 In the illustrated embodiment, a pop-up window is popped up by a first application, including prompt information and controls. The prompt information is an inquiry message for jumping to a second application, such as "Please confirm whether to open the locker control program". The controls include "Yes" and "No", wherein the control "Yes" is the jump control. When the user clicks the "Yes" control, the second application is jumped. When the user clicks the "No" control, the pop-up window is exited and the original interface continues to be displayed.
[0113] Step S207: The second application of the terminal device displays an operation interface.
[0114] In this embodiment, in response to the jump control being triggered, the uniform resource identifier of the second application is accessed, and the jump is to the operation interface in the second application, wherein the uniform resource identifier includes at least one of the protocol name of the resource, the host name where the resource is located, the designated interface for entering the second application, the parameters required for entering the designated interface, and the positioning position in the designated interface. The operation interface is the operation interface for controlling the target locker. Specifically, the operation interface is Figure 3 Similarly, the embodiments of the present invention will not be described in detail here.
[0115] For the above steps S206-S207:
[0116] In an optional implementation, the terminal device is an IOS operating system. In response to the working state of the first application being in an activated state and the signal strength being greater than or equal to a predetermined threshold, the first application displays a jump control, and in response to the jump control being triggered, jumps to an operation interface in the second application. Alternatively, in response to the working state of the first application being in a background running state and the signal strength being greater than or equal to a predetermined threshold, a notification message is displayed, and in response to the notification message being triggered or the working state of the first application being switched to an activated state, the first application displays a jump control, and in response to the jump control being triggered, jumps to an operation interface in the second application.
[0117] In another optional implementation, the terminal device is an Android operating system. In response to the working state of the first application being in an activated state and the signal strength being greater than or equal to a predetermined threshold, the first application displays a jump control, and in response to the jump control being triggered, jumps to an operation interface in the second application. In response to the working state of the first application being in a paused state and the signal strength being greater than or equal to a predetermined threshold, a notification message is displayed, and in response to the notification message being triggered or the working state of the first application being switched to an activated state, the first application displays a jump control, and in response to the jump control being triggered, jumps to an operation interface in the second application.
[0118] Among them, in response to the jump control being triggered, jumping to the operation interface in the second application includes: in response to the jump control being triggered, accessing the uniform resource identifier of the second application, jumping to the operation interface in the second application, the uniform resource identifier includes the protocol name of the resource, the host name where the resource is located, entering the designated interface of the second application, parameters required to enter the designated interface, and at least one of the positioning position in the designated interface.
[0119] Step S208: The second application of the terminal device obtains an operation request.
[0120] In this embodiment, the terminal device obtains the operation request input by the user through the operation interface of the second application program. When the operation control is triggered, the terminal device obtains the user's operation request. The operation request includes a pickup request or a storage request.
[0121] Step S209: The second application of the terminal device sends an operation instruction.
[0122] In this embodiment, after the terminal device obtains the user's operation request, the second application generates a corresponding operation instruction according to the operation request and sends the operation instruction to the target locker. The operation instruction includes a locker opening instruction and the like.
[0123] It should be noted that before the terminal device sends the operation instruction to the target locker, the terminal device establishes a Bluetooth communication connection with the target locker according to the scanned target broadcast signal, so as to send the operation instruction via the Bluetooth communication connection.
[0124] Step S210: The locker executes the operation instruction.
[0125] In this embodiment, the target locker receives the operation instruction sent by the terminal device and executes the operation instruction.
[0126] Taking the terminal device as a distribution resource device as an example, through the technical solution of the embodiment of the present invention, when the distribution terminal is close to the target locker within a certain range during order distribution, it automatically jumps to the operation interface, and the user no longer needs to manually open the APP, scan the QR code, etc. This can reduce the operation process and improve the distribution efficiency.
[0127] The embodiment of the present invention obtains the signal strength of the Bluetooth communication with the target locker, jumps to the operation interface in response to the signal strength being greater than or equal to a predetermined threshold, receives the operation request for the target locker input by the user through the operation interface, generates a control instruction according to the operation request and sends it to the target locker. In this way, the operation process can be reduced and the delivery efficiency can be improved.
[0128] Figure 6 It is a flow chart of information interaction of the third embodiment of the present invention. Figure 6 shows the information interaction between the terminal device and the locker. Figure 6 In the example, the terminal device is a terminal device for distributing resources and is installed with a specified application. The information exchange between the terminal device and the locker is realized through Bluetooth communication. In the Bluetooth communication process, the terminal device is a broadcasting device for sending broadcast signals. The locker is a scanning device for scanning and obtaining broadcast signals. Specifically, the information exchange between the terminal device and the locker includes the following steps:
[0129] Step S301: The locker scans the broadcast signal.
[0130] In this embodiment, the locker continuously scans for broadcast signals. Specifically, the locker uses the Bluetooth communication function to scan and obtain candidate broadcast signals in a predetermined manner. The predetermined manner can be configured according to actual conditions. For example, the predetermined manner is that the terminal device continuously scans and obtains candidate broadcast signals according to a predetermined period. The predetermined period can be 0.5 seconds, 1 second, 3 seconds, etc. The candidate broadcast signal is a broadcast signal sent by other Bluetooth devices. The other Bluetooth devices can be terminal devices or Bluetooth devices other than terminal devices. The broadcast signals scanned and obtained by the locker through the Bluetooth communication function are all candidate broadcast signals.
[0131] Among them, the broadcast signal of Bluetooth includes one or more of data length, broadcast type, company identification, beacon type, container identification, application or service identification, main field, secondary field and power field. Among them, the data length (ADLen) indicates the length of the advertisement data (broadcast data), that is, the total length of the useful information of the broadcast packet. The broadcast type (Type) field indicates the broadcast type. The company identification (Company ID) is the manufacturer's identification, which is assigned to each company by the Bluetooth SIG (Special Interest Group, Bluetooth Technology Alliance) organization to indicate the decoding method of subsequent data. The beacon type field indicates the type of the beacon. The container identification (Container ID) is used to indicate the container. The application or service identification (App ID) is the application or service ID (identification). The major field (Major) and the minor field (Minor) are used to encode functions, operations or controls. Usually, the major field indicates a page, and the minor field indicates a function, button or menu on the page. The power field (Tx Power) helps the application to estimate the distance.
[0132] Step S302: The terminal device sends a target broadcast signal.
[0133] In this embodiment, the terminal device sends the target broadcast signal according to a pre-set rule. The terminal device sends the broadcast signal through a designated application. The designated application and the locker belong to the same platform. The designated application can execute all or part of the process in the delivery process, such as order acceptance, delivery information display, delivery route navigation, order confirmation delivery, locker opening and / or closing control, etc.
[0134] In an optional implementation, the terminal device is configured to send a target broadcast signal through a Bluetooth communication function in response to staying on a predetermined interface, wherein staying on the predetermined interface means that the terminal device opens the predetermined interface through the specified application and is displaying it, and / or staying on the predetermined interface means that the terminal device opens the predetermined interface through the specified application, but the application is running in the background and is not currently displayed. Thus, by sending a broadcast signal when the terminal device stays on the predetermined interface, the user can open the predetermined interface when he needs to use the locker, and exit the predetermined interface when he does not need to use the locker, so that the terminal device stops broadcasting, thereby reducing the power consumption of the terminal device.
[0135] In another optional implementation, the terminal device is configured to send a broadcast signal in the background according to a predetermined method. Specifically, the terminal device sends a broadcast signal in a predetermined manner through a Bluetooth communication function. The predetermined method can be configured according to actual conditions. For example, the predetermined method is that the terminal device continuously sends a broadcast signal according to a predetermined period. For another example, when the terminal device detects that the distance from the delivery address is within a certain range, the broadcast signal is sent according to a predetermined period.
[0136] Step S304: The locker sends a broadcast response.
[0137] In this embodiment, the locker scans and obtains candidate broadcast signals, parses each candidate broadcast signal to obtain relevant data, wherein the relevant data is each field of the broadcast signal, and in response to the relevant data satisfying a predetermined condition, the candidate broadcast signal is determined as the target broadcast signal. The predetermined condition is one or more field types of data length, broadcast type, company identification, beacon type, container identification, application or service identification, primary field, secondary field and power field in the pre-set broadcast signal. The target broadcast signal is a broadcast signal sent by the target terminal device.
[0138] Furthermore, after the locker obtains the target broadcast signal, it sends a broadcast response, that is, a response packet, to the terminal device corresponding to the target broadcast signal.
[0139] In an optional implementation, the terminal device is an IOS operating system. The terminal device obtains the candidate broadcast signal by scanning, including: the application stays in a predetermined interface, obtains the candidate broadcast signal by scanning, and the working state of the application is an activated state. Alternatively, the application scans and obtains the candidate broadcast signal in the background, and the working state of the application is a background running state.
[0140] In another optional implementation, the terminal device is an Android operating system. The terminal device obtains the candidate broadcast signal by scanning, wherein the application stays on a predetermined interface, obtains the candidate broadcast signal by scanning, and the working state of the application is an activated state. Alternatively, the application scans and obtains the candidate broadcast signal in the background, and the working state of the application is a paused state.
[0141] Step S304: The terminal device obtains signal strength.
[0142] In this embodiment, the terminal device obtains the signal strength of the broadcast response. The terminal device processes the candidate broadcast signal to obtain measurement parameters, the measurement parameters including one or more of transmission power, receiving antenna gain, transmitting antenna gain, and distance attenuation, and determines the signal strength according to the measurement parameters.
[0143] Among them, in the Bluetooth connection, the detection principle of signal strength is mainly based on the received signal strength indication (RSSI). RSSI is a technology for measuring the receiving strength of wireless signals, and the distance between the signal point and the receiving point is determined by the strength of the received signal. During the broadcasting process of the Bluetooth device, the farther the signal receiving end is from the transmitting end, the weaker the received RSSI field strength value; on the contrary, the closer the signal receiving end is to the transmitting end, the stronger the received RSSI field strength value. The change in the strength of this field strength value reflects the attenuation of the signal during the propagation process. Specifically, the terminal device measures the received Bluetooth signal strength through built-in circuits and algorithms, and calculates this strength value as RSSI (received signal strength indication). The RSSI value is a negative value. The larger the value, the stronger the signal, and the smaller the value, the weaker the signal. Among them, the calculation of the RSSI value by the terminal device can be implemented based on various existing methods, and the embodiments of the present invention will not be repeated here.
[0144] Step S305: The terminal device determines whether the signal strength is greater than or equal to a predetermined threshold.
[0145] In this embodiment, after the terminal device obtains the signal strength of the target broadcast signal, it determines whether the signal strength is greater than or equal to a predetermined threshold value, wherein the predetermined threshold value can be set according to actual conditions.
[0146] If the signal strength is greater than or equal to the predetermined threshold, it indicates that the distance between the terminal device and the target locker is small, and the process goes to step S306.
[0147] If the signal strength is less than the predetermined threshold, it indicates that the distance between the terminal device and the target locker is large, and the process returns to steps S301-S304.
[0148] Step S306: The terminal device jumps to the operation interface.
[0149] In this embodiment, if the signal strength is greater than or equal to a predetermined threshold, indicating that the distance between the terminal device and the target locker is small, the terminal device jumps to the operation interface. The operation interface is an operation interface for controlling the target locker. Figure 3 shown.
[0150] Specifically, the embodiment of the present invention is described by taking the operation controls including the "save item" control and the "retrieve item" control as an example, but the specific functions and controls of the operation interface of the embodiment of the present invention are not limited and can be configured according to actual usage requirements.
[0151] In some embodiments, the operation interface further includes at least one of a target locker name and a location. The target locker name and the location are provided for the user to confirm the target locker, thereby reducing the occurrence of operation errors.
[0152] In an optional implementation, the terminal device is an IOS operating system, and the jump to the operation interface in response to the signal strength being greater than or equal to a predetermined threshold comprises: in response to the working state of the application being in an activated state and the signal strength being greater than or equal to a predetermined threshold, jumping to the operation interface. Alternatively, in response to the working state of the application being in a background running state and the signal strength being greater than or equal to a predetermined threshold, displaying a notification message, and in response to the notification message being triggered or the working state of the application being switched to an activated state, the application jumps to the operation interface.
[0153] In another optional implementation, the terminal device is an Android operating system, and the jump to the operation interface in response to the signal strength being greater than or equal to a predetermined threshold comprises: in response to the working state of the application being in an activated state and the signal strength being greater than or equal to a predetermined threshold, jumping to the operation interface. Alternatively, in response to the working state of the application being in a paused state and the signal strength being greater than or equal to a predetermined threshold, displaying a notification message, and in response to the notification message being triggered or the working state of the application being switched to an activated state, the application jumps to the operation interface.
[0154] Step S307: The terminal device obtains the operation request.
[0155] In this embodiment, the terminal device obtains the operation request input by the user through the operation interface. When the operation control is triggered, the terminal device obtains the user's operation request. The operation request includes a pickup request or a storage request.
[0156] Step S308: The terminal device sends an operation instruction.
[0157] In this embodiment, after the terminal device obtains the user's operation request, it generates a corresponding operation instruction according to the operation request and sends the operation instruction to the locker. The operation instruction includes a locker opening instruction and the like.
[0158] It should be noted that before the terminal device sends the operation instruction to the target locker, the terminal device establishes a Bluetooth communication connection with the target locker to send the operation instruction via the Bluetooth communication connection.
[0159] Step S309: The locker executes the operation instruction.
[0160] In this embodiment, the target locker receives the operation instruction sent by the terminal device and executes the operation instruction.
[0161] Taking the terminal device as a distribution resource device as an example, through the technical solution of the embodiment of the present invention, when the distribution terminal is close to the target locker within a certain range during order distribution, it automatically jumps to the operation interface, and the user no longer needs to manually open the APP, scan the QR code, etc. This can reduce the operation process and improve the distribution efficiency.
[0162] The embodiment of the present invention obtains the signal strength of the Bluetooth communication with the target locker, jumps to the operation interface in response to the signal strength being greater than or equal to a predetermined threshold, receives the operation request for the target locker input by the user through the operation interface, generates a control instruction according to the operation request and sends it to the target locker. In this way, the operation process can be reduced and the delivery efficiency can be improved.
[0163] Figure 7 It is a flowchart of information interaction of the fourth embodiment of the present invention. Figure 7 shows the information interaction between the terminal device and the locker. Figure 7 In the example, the terminal device is a terminal device for distributing resources, and is installed with a first application and a second application. The information interaction between the terminal device and the locker is realized through Bluetooth communication, wherein during the Bluetooth communication process, the terminal device is a broadcasting device for sending broadcast signals. The locker is a scanning device for scanning and acquiring broadcast signals. Specifically, the information interaction between the terminal device and the locker includes the following steps:
[0164] Step S401: The locker scans the broadcast signal.
[0165] In this embodiment, the locker continuously scans for broadcast signals. Specifically, the locker uses the Bluetooth communication function to scan and obtain candidate broadcast signals in a predetermined manner. The predetermined manner can be configured according to actual conditions. For example, the predetermined manner is that the terminal device continuously scans and obtains candidate broadcast signals according to a predetermined period. The predetermined period can be 0.5 seconds, 1 second, 3 seconds, etc. The candidate broadcast signal is a broadcast signal sent by other Bluetooth devices. The other Bluetooth devices can be terminal devices or Bluetooth devices other than terminal devices. The broadcast signals scanned and obtained by the locker through the Bluetooth communication function are all candidate broadcast signals.
[0166] Among them, the broadcast signal of Bluetooth includes one or more of data length, broadcast type, company identification, beacon type, container identification, application or service identification, main field, secondary field and power field. Among them, the data length (ADLen) indicates the length of the advertisement data (broadcast data), that is, the total length of the useful information of the broadcast packet. The broadcast type (Type) field indicates the broadcast type. The company identification (Company ID) is the manufacturer's identification, which is assigned to each company by the Bluetooth SIG (Special Interest Group, Bluetooth Technology Alliance) organization to indicate the decoding method of subsequent data. The beacon type field indicates the type of the beacon. The container identification (Container ID) is used to indicate the container. The application or service identification (App ID) is the application or service ID (identification). The major field (Major) and the minor field (Minor) are used to encode functions, operations or controls. Usually, the major field indicates a page, and the minor field indicates a function, button or menu on the page. The power field (Tx Power) helps the application to estimate the distance.
[0167] Step S402: The terminal device sends a target broadcast signal through a first application.
[0168] In this embodiment, the terminal device sends the target broadcast signal according to a preset rule through the first application.
[0169] In an optional implementation, the first application is configured to send a target broadcast signal through a Bluetooth communication function in response to staying on a predetermined interface, wherein staying on the predetermined interface means that the terminal device opens the predetermined interface through the first application and is displaying it, and / or staying on the predetermined interface means that the terminal device opens the predetermined interface through the first application, but the application is running in the background and is not currently displayed. Thus, by sending a broadcast signal when the terminal device stays on the predetermined interface, the user can open the predetermined interface when he needs to use the locker, and exit the predetermined interface when he does not need to use the locker, so that the terminal device stops broadcasting, thereby reducing the power consumption of the terminal device.
[0170] In another optional implementation, the terminal device is configured to send a broadcast signal in the background according to a predetermined method. Specifically, the terminal device sends a broadcast signal in a predetermined manner through a Bluetooth communication function. The predetermined method can be configured according to actual conditions. For example, the predetermined method is that the terminal device continuously sends a broadcast signal according to a predetermined period. For another example, when the terminal device detects that the distance from the delivery address is within a certain range, the broadcast signal is sent according to a predetermined period.
[0171] Step S403: The locker sends a broadcast response.
[0172] In this embodiment, the locker scans and obtains candidate broadcast signals, parses each candidate broadcast signal to obtain relevant data, wherein the relevant data is each field of the broadcast signal, and in response to the relevant data satisfying a predetermined condition, the candidate broadcast signal is determined as the target broadcast signal. The predetermined condition is one or more field types of data length, broadcast type, company identification, beacon type, container identification, application or service identification, primary field, secondary field and power field in the pre-set broadcast signal. The target broadcast signal is a broadcast signal sent by the target terminal device.
[0173] Furthermore, after the locker obtains the target broadcast signal, it sends a broadcast response, that is, a response packet, to the terminal device corresponding to the target broadcast signal.
[0174] In an optional implementation, the terminal device is an IOS operating system. The first application sends a broadcast signal, and in response to receiving a broadcast response sent by the target locker, obtains the signal strength of the Bluetooth communication with the target locker according to the broadcast response, including: the first application stays in a predetermined interface, sends a broadcast signal, and in response to receiving a broadcast response sent by the target locker, obtains the signal strength of the Bluetooth communication with the target locker according to the broadcast response, and the working state of the first application is an activated state. Alternatively, the first application sends a broadcast signal in the background, and in response to receiving a broadcast response sent by the target locker, obtains the signal strength of the Bluetooth communication with the target locker according to the broadcast response, and the working state of the first application is a background running state.
[0175] In another optional implementation, the terminal device is an Android operating system. The first application sends a broadcast signal, and in response to receiving a broadcast response sent by the target locker, obtains the signal strength of the Bluetooth communication with the target locker according to the broadcast response, including: the first application stays on a predetermined interface, sends a broadcast signal, and in response to receiving a broadcast response sent by the target locker, obtains the signal strength of the Bluetooth communication with the target locker according to the broadcast response, and the working state of the first application is an activated state; or the first application sends a broadcast signal in the background, and in response to receiving a broadcast response sent by the target locker, obtains the signal strength of the Bluetooth communication with the target locker according to the broadcast response, and the working state of the first application is a suspended state.
[0176] Step S404: The terminal device obtains signal strength.
[0177] In this embodiment, the terminal device obtains the signal strength of the broadcast response through the first application.
[0178] Among them, obtaining the signal strength of Bluetooth communication with the target locker according to the broadcast response includes: processing the broadcast response to obtain measurement parameters, the measurement parameters including one or more of transmission power, receiving antenna gain, transmitting antenna gain, and distance attenuation, and determining the signal strength according to the measurement parameters.
[0179] Among them, in the Bluetooth connection, the detection principle of signal strength is mainly based on the received signal strength indication (RSSI). RSSI is a technology for measuring the receiving strength of wireless signals, and the distance between the signal point and the receiving point is determined by the strength of the received signal. During the broadcasting process of the Bluetooth device, the farther the signal receiving end is from the transmitting end, the weaker the received RSSI field strength value; on the contrary, the closer the signal receiving end is to the transmitting end, the stronger the received RSSI field strength value. The change in the strength of this field strength value reflects the attenuation of the signal during the propagation process. Specifically, the terminal device measures the received Bluetooth signal strength through built-in circuits and algorithms, and calculates this strength value as RSSI (received signal strength indication). The RSSI value is a negative value. The larger the value, the stronger the signal, and the smaller the value, the weaker the signal. Among them, the calculation of the RSSI value by the terminal device can be implemented based on various existing methods, and the embodiments of the present invention will not be repeated here.
[0180] Step S405: The terminal device determines whether the signal strength is greater than or equal to a predetermined threshold through the first application.
[0181] In this embodiment, after the first application obtains the signal strength of the target broadcast signal, it determines whether the signal strength is greater than or equal to a predetermined threshold value, wherein the predetermined threshold value can be set according to actual conditions.
[0182] If the signal strength is greater than or equal to the predetermined threshold, it indicates that the distance between the terminal device and the target locker is small, and the process goes to step S406.
[0183] If the signal strength is less than the predetermined threshold, it indicates that the distance between the terminal device and the target locker is large, and the process returns to steps S401-S404.
[0184] Step S406: The first application of the terminal device displays a pop-up window.
[0185] In this embodiment, if the signal strength is greater than or equal to a predetermined threshold, indicating that the distance between the terminal device and the target locker is small, the first application of the terminal device displays a pop-up window, and the pop-up window includes the jump control.
[0186] The jump control is bound to the uniform resource identifier of the second application, and the uniform resource identifier includes at least one of the protocol name of the resource, the host name where the resource is located, the specified interface for entering the second application, the parameters required for entering the specified interface, and the location of the specified interface. Figure 5 As shown, it includes prompt information and controls. The prompt information is an inquiry information for jumping to the second application, such as "Please confirm whether to open the locker control program". The controls include "Yes" and "No", wherein the control "Yes" is the jump control. When the user clicks the "Yes" control, it jumps to the second application. When the user clicks the "No" control, it exits the pop-up and continues to display the original interface.
[0187] In response to the signal strength being greater than or equal to a predetermined threshold, the first application displays a pop-up window, including: in response to the first application being opened and displaying a predetermined interface, displaying the pop-up window on the predetermined interface being displayed by the first application. In response to the first application being opened but running in the background, displaying a notification message on the currently displayed interface, the notification message being used to open the predetermined interface of the first application; in response to the notification message being triggered, opening the predetermined interface of the first application, and displaying the pop-up window on the predetermined interface of the first application.
[0188] That is to say, if the terminal device opens a predetermined interface through a first application and is displaying it, the first application of the terminal device displays the pop-up window specifically by: displaying the pop-up window on the predetermined interface being displayed by the first application.
[0189] If the terminal device opens the predetermined interface through the first application, but the first application is running in the background and is not currently displayed. The terminal device displays the pop-up window of the first application specifically by: displaying a notification message in the interface where the terminal device is currently staying, the notification message is used to open the predetermined interface of the first application; in response to the notification message being triggered, the predetermined interface of the first application is opened, and the pop-up window is displayed on the predetermined interface of the first application.
[0190] In an optional implementation, the terminal device is an IOS operating system. In response to the signal strength being greater than or equal to a predetermined threshold, jumping to an operation interface of a second application program comprises:
[0191] In response to the working state of the first application being an activated state and the signal strength being greater than or equal to a predetermined threshold, the first application displays a jump control, and in response to the jump control being triggered, accesses a uniform resource identifier of the second application, and jumps to an operation interface in the second application, wherein the uniform resource identifier includes at least one of a protocol name of the resource, a host name where the resource is located, a designated interface for entering the second application, parameters required for entering the designated interface, and a positioning position in the designated interface; or
[0192] In response to the working state of the first application being a background running state and the signal strength being greater than or equal to a predetermined threshold, a notification message is displayed; in response to the notification message being triggered or the working state of the first application being switched to an activated state, the first application displays a jump control; in response to the jump control being triggered, a uniform resource identifier of the second application is accessed, and the jump is made to an operation interface in the second application, wherein the uniform resource identifier includes at least one of a protocol name of a resource, a host name where the resource is located, a designated interface for entering the second application, parameters required for entering the designated interface, and a positioning position in the designated interface;
[0193] Among them, the first application displays the jump control includes: the first application displays a pop-up window, and the pop-up window includes the jump control.
[0194] In another optional implementation, the terminal device is an Android operating system. In response to the signal strength being greater than or equal to a predetermined threshold, jumping to an operation interface of a second application program includes:
[0195] In response to the working state of the first application being an activated state and the signal strength being greater than or equal to a predetermined threshold, the first application displays a jump control, and in response to the jump control being triggered, accesses a uniform resource identifier of the second application, and jumps to an operation interface in the second application, wherein the uniform resource identifier includes at least one of a protocol name of the resource, a host name where the resource is located, a designated interface for entering the second application, parameters required for entering the designated interface, and a positioning position in the designated interface; or
[0196] In response to the working state of the first application being a paused state and the signal strength being greater than or equal to a predetermined threshold, a notification message is displayed; in response to the notification message being triggered or the working state of the first application being switched to an activated state, the first application displays a jump control; in response to the jump control being triggered, a uniform resource identifier of the second application is accessed, and the jump is made to an operation interface in the second application, wherein the uniform resource identifier includes at least one of a protocol name of a resource, a host name where the resource is located, a designated interface for entering the second application, parameters required for entering the designated interface, and a positioning position in the designated interface;
[0197] Among them, the first application displays the jump control includes: the first application displays a pop-up window, and the pop-up window includes the jump control.
[0198] Step S407: The second application of the terminal device displays an operation interface.
[0199] In this embodiment, in response to the jump control being triggered, the terminal device jumps to the operation interface in the second application. The operation interface is an operation interface for controlling the target locker. Figure 3 Similarly, the embodiments of the present invention will not be described in detail here.
[0200] Step S408: The second application of the terminal device obtains an operation request.
[0201] In this embodiment, the terminal device obtains the operation request input by the user through the operation interface of the second application program. When the operation control is triggered, the terminal device obtains the user's operation request. The operation request includes a pickup request or a storage request.
[0202] Step S409: The second application of the terminal device sends an operation instruction.
[0203] In this embodiment, after the terminal device obtains the user's operation request, the second application generates a corresponding operation instruction according to the operation request and sends the operation instruction to the target locker. The operation instruction includes a locker opening instruction and the like.
[0204] It should be noted that before the terminal device sends the operation instruction to the target locker, the terminal device establishes a Bluetooth communication connection with the target locker according to the scanned target broadcast signal, so as to send the operation instruction via the Bluetooth communication connection.
[0205] Step S410: The locker executes the operation instruction.
[0206] In this embodiment, the target locker receives the operation instruction sent by the terminal device and executes the operation instruction.
[0207] Taking the terminal device as a distribution resource device as an example, through the technical solution of the embodiment of the present invention, when the distribution terminal is close to the target locker within a certain range during order distribution, it automatically jumps to the operation interface, and the user no longer needs to manually open the APP, scan the QR code, etc. This can reduce the operation process and improve the distribution efficiency.
[0208] The embodiment of the present invention obtains the signal strength of the Bluetooth communication with the target locker, jumps to the operation interface in response to the signal strength being greater than or equal to a predetermined threshold, receives the operation request for the target locker input by the user through the operation interface, generates a control instruction according to the operation request and sends it to the target locker. In this way, the operation process can be reduced and the delivery efficiency can be improved.
[0209] Figure 8 FIG. 1 is a flow chart of a method for controlling a locker according to an embodiment of the present invention. Figure 8 As shown, the control method of the locker includes the following steps:
[0210] Step S510: Acquire the signal strength of the Bluetooth communication with the target locker.
[0211] Step S520: In response to the signal strength being greater than or equal to a predetermined threshold, jump to an operation interface.
[0212] Step S530: receiving an operation request for the target locker input by the user through the operation interface.
[0213] Step S540: Generate a control instruction according to the operation request and send it to the target locker.
[0214] In some embodiments, obtaining the signal strength of the Bluetooth communication with the target locker includes:
[0215] Acquire candidate broadcast signals by scanning;
[0216] Determining a target broadcast signal among the candidate broadcast signals, the target broadcast signal being a broadcast signal sent by the target locker;
[0217] The signal strength of the Bluetooth communication between the terminal device and the target locker is obtained according to the target broadcast signal.
[0218] In some embodiments, the terminal device is an IOS operating system;
[0219] Wherein, acquiring the candidate broadcast signal by scanning includes:
[0220] The application stays on a predetermined interface and obtains candidate broadcast signals by scanning, and the working state of the application is an activated state; or
[0221] The application scans and obtains candidate broadcast signals in the background, and the working state of the application is a background running state.
[0222] In some embodiments, the terminal device is an Android operating system;
[0223] The acquiring of candidate broadcast signals by scanning includes:
[0224] The application stays on a predetermined interface and obtains candidate broadcast signals by scanning, and the working state of the application is an activated state; or
[0225] The application scans and obtains candidate broadcast signals in the background, and the working state of the application is a paused state.
[0226] In some embodiments, determining the target broadcast signal from the candidate broadcast signals comprises:
[0227] parsing the candidate broadcast signal to obtain relevant data;
[0228] In response to the correlation data satisfying a predetermined condition, the candidate broadcast signal is determined as the target broadcast signal.
[0229] In some embodiments, the relevant data includes at least one of a company identification and an application or service identification.
[0230] In some embodiments, obtaining the signal strength of the Bluetooth communication with the target locker includes:
[0231] A broadcast signal is sent, and in response to receiving a broadcast response sent by a target locker, a signal strength of Bluetooth communication with the target locker is acquired according to the broadcast response.
[0232] In some embodiments, the terminal device is an IOS operating system;
[0233] The sending of the broadcast signal, in response to receiving a broadcast response sent by the target locker, and acquiring the signal strength of the Bluetooth communication with the target locker according to the broadcast response comprises:
[0234] The application stays on a predetermined interface, sends a broadcast signal, and in response to receiving a broadcast response sent by a target locker, obtains the signal strength of the Bluetooth communication with the target locker according to the broadcast response, and the working state of the application is an activated state; or
[0235] The application sends a broadcast signal in the background, and in response to receiving a broadcast response sent by the target locker, obtains the signal strength of the Bluetooth communication with the target locker according to the broadcast response. The working state of the application is the background running state.
[0236] In some embodiments, the terminal device is an Android operating system;
[0237] The sending of the broadcast signal, in response to receiving a broadcast response sent by the target locker, and acquiring the signal strength of the Bluetooth communication with the target locker according to the broadcast response comprises:
[0238] The application stays on a predetermined interface, sends a broadcast signal, and in response to receiving a broadcast response sent by a target locker, obtains the signal strength of the Bluetooth communication with the target locker according to the broadcast response, and the working state of the application is an activated state; or
[0239] The application sends a broadcast signal in the background, and in response to receiving a broadcast response sent by the target locker, obtains the signal strength of the Bluetooth communication with the target locker according to the broadcast response, and the working state of the application is a pause state.
[0240] In some embodiments, acquiring the signal strength of the Bluetooth communication between the terminal device and the target locker according to the target broadcast signal includes:
[0241] Processing the target broadcast signal to obtain measurement parameters, where the measurement parameters include one or more of transmit power, receive antenna gain, transmit antenna gain, and range attenuation;
[0242] The signal strength is determined based on the measurement parameter.
[0243] In some embodiments, acquiring the signal strength of the Bluetooth communication with the target locker according to the broadcast response includes:
[0244] Processing the broadcast response to obtain measurement parameters, where the measurement parameters include one or more of transmit power, receive antenna gain, transmit antenna gain, and range attenuation;
[0245] The signal strength is determined based on the measurement parameter.
[0246] In some embodiments, in response to the signal strength being greater than or equal to a predetermined threshold, jumping to an operation interface includes:
[0247] In response to the application being in an activated state and the signal strength being greater than or equal to a predetermined threshold, jumping to an operation interface; or
[0248] In response to the application's working state being a background running state and the signal strength being greater than or equal to a predetermined threshold, a notification message is displayed; in response to the notification message being triggered or the application's working state being switched to an activated state, the application jumps to an operation interface.
[0249] In some embodiments, in response to the signal strength being greater than or equal to a predetermined threshold, jumping to an operation interface includes:
[0250] In response to the application being in an activated state and the signal strength being greater than or equal to a predetermined threshold, jumping to an operation interface; or
[0251] In response to the application's working state being a paused state and the signal strength being greater than or equal to a predetermined threshold, a notification message is displayed; in response to the notification message being triggered or the application's working state being switched to an activated state, the application jumps to an operation interface.
[0252] The embodiment of the present invention obtains the signal strength of the Bluetooth communication with the target locker, jumps to the operation interface in response to the signal strength being greater than or equal to a predetermined threshold, receives the operation request for the target locker input by the user through the operation interface, generates a control instruction according to the operation request and sends it to the target locker. In this way, the operation process can be reduced and the delivery efficiency can be improved.
[0253] Fig. 9 FIG. 1 is a flow chart of a method for controlling a locker according to another embodiment of the present invention. Fig. 9 As shown, the locker control method is applicable to a terminal device, the terminal device is installed with a first application and a second application, and the method comprises the following steps:
[0254] Step S610: The first application obtains the signal strength of the Bluetooth communication with the target locker.
[0255] Step S620: In response to the signal strength being greater than or equal to a predetermined threshold, jump to an operation interface of a second application.
[0256] Step S630: The second application receives an operation request for the target locker input by the user through the operation interface.
[0257] Step S640: The second application generates a control instruction according to the operation request and sends it to the target locker.
[0258] In some embodiments, the first application program obtaining the signal strength of the Bluetooth communication with the target locker includes:
[0259] The first application obtains candidate broadcast signals by scanning;
[0260] The first application determines a target broadcast signal from the candidate broadcast signals, where the target broadcast signal is a broadcast signal sent by the target locker;
[0261] The first application obtains the signal strength of the Bluetooth communication between the terminal device and the target locker according to the target broadcast signal.
[0262] In some embodiments, the terminal device is an IOS operating system;
[0263] The first application program obtains the candidate broadcast signal by scanning, comprising:
[0264] The first application program remains in the predetermined interface and obtains candidate broadcast signals by scanning, and the working state of the first application program is an activated state; or
[0265] The first application scans and acquires candidate broadcast signals in the background, and the working state of the first application is a background running state.
[0266] In some embodiments, the terminal device is an Android operating system;
[0267] The first application program obtains the candidate broadcast signal by scanning, comprising:
[0268] The first application stays on a predetermined interface and obtains candidate broadcast signals by scanning, and the working state of the first application is an activated state; or
[0269] The first application scans and acquires candidate broadcast signals in the background, and the working state of the first application is a pause state.
[0270] In some embodiments, the first application determines the target broadcast signal from the candidate broadcast signals, including:
[0271] A first application parses the candidate broadcast signal to obtain relevant data;
[0272] The first application determines the candidate broadcast signal as the target broadcast signal in response to the relevant data satisfying a predetermined condition.
[0273] In some embodiments, the relevant data includes at least one of a company identification and an application or service identification.
[0274] In some embodiments, the first application program obtaining the signal strength of the Bluetooth communication with the target locker includes:
[0275] The first application sends a broadcast signal, and in response to receiving a broadcast response sent by a target locker, obtains a signal strength of Bluetooth communication with the target locker according to the broadcast response.
[0276] In some embodiments, the first application program acquiring the signal strength of the Bluetooth communication between the terminal device and the target locker according to the target broadcast signal comprises:
[0277] Processing the target broadcast signal to obtain measurement parameters, where the measurement parameters include one or more of transmit power, receive antenna gain, transmit antenna gain, and range attenuation;
[0278] The signal strength is determined based on the measurement parameter.
[0279] In some embodiments, acquiring the signal strength of the Bluetooth communication with the target locker according to the broadcast response includes:
[0280] Processing the broadcast response to obtain measurement parameters, where the measurement parameters include one or more of transmit power, receive antenna gain, transmit antenna gain, and range attenuation;
[0281] The signal strength is determined based on the measurement parameter.
[0282] In some embodiments, the terminal device is an IOS operating system;
[0283] The first application sends a broadcast signal, and in response to receiving a broadcast response sent by the target locker, acquiring the signal strength of the Bluetooth communication with the target locker according to the broadcast response includes:
[0284] The first application program stays in the predetermined interface, sends a broadcast signal, and in response to receiving a broadcast response sent by a target locker, obtains the signal strength of the Bluetooth communication with the target locker according to the broadcast response, and the working state of the first application program is an activated state; or
[0285] The first application sends a broadcast signal in the background, and in response to receiving a broadcast response sent by the target locker, obtains the signal strength of the Bluetooth communication with the target locker according to the broadcast response. The working state of the first application is the background running state.
[0286] In some embodiments, the terminal device is an Android operating system;
[0287] The first application sends a broadcast signal, and in response to receiving a broadcast response sent by the target locker, acquiring the signal strength of the Bluetooth communication with the target locker according to the broadcast response includes:
[0288] The first application stays on a predetermined interface, sends a broadcast signal, and in response to receiving a broadcast response sent by a target locker, obtains the signal strength of Bluetooth communication with the target locker according to the broadcast response, and the working state of the first application is an activated state; or
[0289] The first application sends a broadcast signal in the background, and in response to receiving a broadcast response sent by the target locker, obtains the signal strength of the Bluetooth communication with the target locker according to the broadcast response. The working state of the first application is a paused state.
[0290] In some embodiments, in response to the signal strength being greater than or equal to a predetermined threshold, jumping to an operation interface of a second application program includes:
[0291] In response to the working state of the first application being an activated state and the signal strength being greater than or equal to a predetermined threshold, the first application displays a jump control, and in response to the jump control being triggered, accesses a uniform resource identifier of the second application, and jumps to an operation interface in the second application, wherein the uniform resource identifier includes at least one of a protocol name of the resource, a host name where the resource is located, a designated interface for entering the second application, parameters required for entering the designated interface, and a positioning position in the designated interface; or
[0292] In response to the working state of the first application being a background running state and the signal strength being greater than or equal to a predetermined threshold, a notification message is displayed; in response to the notification message being triggered or the working state of the first application being switched to an activated state, the first application displays a jump control; in response to the jump control being triggered, a uniform resource identifier of the second application is accessed, and the jump is made to an operation interface in the second application, wherein the uniform resource identifier includes at least one of a protocol name of a resource, a host name where the resource is located, a designated interface for entering the second application, parameters required for entering the designated interface, and a positioning position in the designated interface;
[0293] Among them, the first application displays the jump control includes: the first application displays a pop-up window, and the pop-up window includes the jump control.
[0294] In some embodiments, in response to the signal strength being greater than or equal to a predetermined threshold, jumping to an operation interface of a second application program includes:
[0295] In response to the working state of the first application being an activated state and the signal strength being greater than or equal to a predetermined threshold, the first application displays a jump control, and in response to the jump control being triggered, accesses a uniform resource identifier of the second application, and jumps to an operation interface in the second application, wherein the uniform resource identifier includes at least one of a protocol name of the resource, a host name where the resource is located, a designated interface for entering the second application, parameters required for entering the designated interface, and a positioning position in the designated interface; or
[0296] In response to the working state of the first application being a paused state and the signal strength being greater than or equal to a predetermined threshold, a notification message is displayed; in response to the notification message being triggered or the working state of the first application being switched to an activated state, the first application displays a jump control; in response to the jump control being triggered, a uniform resource identifier of the second application is accessed, and the jump is made to an operation interface in the second application, wherein the uniform resource identifier includes at least one of a protocol name of a resource, a host name where the resource is located, a designated interface for entering the second application, parameters required for entering the designated interface, and a positioning position in the designated interface;
[0297] Among them, the first application displays the jump control includes: the first application displays a pop-up window, and the pop-up window includes the jump control.
[0298] Fig.10 FIG. 1 is a schematic diagram of a control device for a locker according to an embodiment of the present invention. Fig.10 As shown, the control device of the locker includes a first signal strength acquisition unit 101, a first interface jump unit 102, a first operation request receiving unit 103 and a first control instruction sending unit 104. Among them, the first signal strength acquisition unit 101 is used to obtain the signal strength of the Bluetooth communication with the target locker. The first interface jump unit 102 is used to jump to the operation interface in response to the signal strength being greater than or equal to a predetermined threshold. The first operation request receiving unit 103 is used to receive an operation request for the target locker input by the user through the operation interface. The first control instruction sending unit 104 is used to generate a control instruction according to the operation request and send it to the target locker.
[0299] In some embodiments, obtaining the signal strength of the Bluetooth communication with the target locker includes:
[0300] Acquire candidate broadcast signals by scanning;
[0301] Determining a target broadcast signal among the candidate broadcast signals, the target broadcast signal being a broadcast signal sent by the target locker;
[0302] The signal strength of the Bluetooth communication between the terminal device and the target locker is obtained according to the target broadcast signal.
[0303] In some embodiments, the terminal device is an IOS operating system;
[0304] The acquiring of candidate broadcast signals by scanning includes:
[0305] The application stays on a predetermined interface and obtains candidate broadcast signals by scanning, and the working state of the application is an activated state; or
[0306] The application scans and obtains candidate broadcast signals in the background, and the working state of the application is a background running state.
[0307] In some embodiments, the terminal device is an Android operating system;
[0308] The acquiring of candidate broadcast signals by scanning includes:
[0309] The application stays on a predetermined interface and obtains candidate broadcast signals by scanning, and the working state of the application is an activated state; or
[0310] The application scans and obtains candidate broadcast signals in the background, and the working state of the application is a paused state.
[0311] In some embodiments, determining the target broadcast signal from the candidate broadcast signals comprises:
[0312] parsing the candidate broadcast signal to obtain relevant data;
[0313] In response to the correlation data satisfying a predetermined condition, the candidate broadcast signal is determined as the target broadcast signal.
[0314] In some embodiments, the relevant data includes at least one of a company identification and an application or service identification.
[0315] In some embodiments, obtaining the signal strength of the Bluetooth communication with the target locker includes:
[0316] A broadcast signal is sent, and in response to receiving a broadcast response sent by a target locker, a signal strength of Bluetooth communication with the target locker is acquired according to the broadcast response.
[0317] In some embodiments, the terminal device is an IOS operating system;
[0318] The sending of the broadcast signal, in response to receiving a broadcast response sent by the target locker, and acquiring the signal strength of the Bluetooth communication with the target locker according to the broadcast response comprises:
[0319] The application stays on a predetermined interface, sends a broadcast signal, and in response to receiving a broadcast response sent by a target locker, obtains the signal strength of the Bluetooth communication with the target locker according to the broadcast response, and the working state of the application is an activated state; or
[0320] The application sends a broadcast signal in the background, and in response to receiving a broadcast response sent by the target locker, obtains the signal strength of the Bluetooth communication with the target locker according to the broadcast response. The working state of the application is the background running state.
[0321] In some embodiments, the terminal device is an Android operating system;
[0322] The sending of the broadcast signal, in response to receiving a broadcast response sent by the target locker, and acquiring the signal strength of the Bluetooth communication with the target locker according to the broadcast response comprises:
[0323] The application stays on a predetermined interface, sends a broadcast signal, and in response to receiving a broadcast response sent by a target locker, obtains the signal strength of the Bluetooth communication with the target locker according to the broadcast response, and the working state of the application is an activated state; or
[0324] The application sends a broadcast signal in the background, and in response to receiving a broadcast response sent by the target locker, obtains the signal strength of the Bluetooth communication with the target locker according to the broadcast response, and the working state of the application is a pause state.
[0325] In some embodiments, acquiring the signal strength of the Bluetooth communication between the terminal device and the target locker according to the target broadcast signal includes:
[0326] Processing the target broadcast signal to obtain measurement parameters, where the measurement parameters include one or more of transmit power, receive antenna gain, transmit antenna gain, and range attenuation;
[0327] The signal strength is determined based on the measurement parameter.
[0328] In some embodiments, acquiring the signal strength of the Bluetooth communication with the target locker according to the broadcast response includes:
[0329] Processing the broadcast response to obtain measurement parameters, where the measurement parameters include one or more of transmit power, receive antenna gain, transmit antenna gain, and range attenuation;
[0330] The signal strength is determined based on the measurement parameter.
[0331] In some embodiments, in response to the signal strength being greater than or equal to a predetermined threshold, jumping to an operation interface includes:
[0332] In response to the application being in an activated state and the signal strength being greater than or equal to a predetermined threshold, jumping to an operation interface; or
[0333] In response to the application's working state being a background running state and the signal strength being greater than or equal to a predetermined threshold, a notification message is displayed; in response to the notification message being triggered or the application's working state being switched to an activated state, the application jumps to an operation interface.
[0334] In some embodiments, in response to the signal strength being greater than or equal to a predetermined threshold, jumping to an operation interface includes:
[0335] In response to the application being in an activated state and the signal strength being greater than or equal to a predetermined threshold, jumping to an operation interface; or
[0336] In response to the application's working state being a paused state and the signal strength being greater than or equal to a predetermined threshold, a notification message is displayed; in response to the notification message being triggered or the application's working state being switched to an activated state, the application jumps to an operation interface.
[0337] The embodiment of the present invention obtains the signal strength of the Bluetooth communication with the target locker, jumps to the operation interface in response to the signal strength being greater than or equal to a predetermined threshold, receives the operation request for the target locker input by the user through the operation interface, generates a control instruction according to the operation request and sends it to the target locker. In this way, the operation process can be reduced and the delivery efficiency can be improved.
[0338] Fig.11 FIG. 2 is a schematic diagram of a control device for a locker according to another embodiment of the present invention. Fig.11 As shown, the control device of the locker includes a second signal strength acquisition unit 111, a second interface jump unit 112, a second operation request receiving unit 113, and a second control instruction sending unit 114. The second signal strength acquisition unit 111 is used to obtain the signal strength of the Bluetooth communication with the target locker through the first application. The second interface jump unit 112 is used to jump to the operation interface of the second application in response to the signal strength being greater than or equal to a predetermined threshold. The second operation request receiving unit 113 is used to receive an operation request for the target locker input by the user through the operation interface based on the second application. The second control instruction sending unit 114 is used to generate a control instruction according to the operation request through the second application and send it to the target locker.
[0339] In some embodiments, the first application program obtaining the signal strength of the Bluetooth communication with the target locker includes:
[0340] The first application obtains candidate broadcast signals by scanning;
[0341] The first application determines a target broadcast signal from the candidate broadcast signals, where the target broadcast signal is a broadcast signal sent by the target locker;
[0342] The first application obtains the signal strength of the Bluetooth communication between the terminal device and the target locker according to the target broadcast signal.
[0343] In some embodiments, the terminal device is an IOS operating system;
[0344] The first application program obtains the candidate broadcast signal by scanning, comprising:
[0345] The first application program remains in the predetermined interface and obtains candidate broadcast signals by scanning, and the working state of the first application program is an activated state; or
[0346] The first application scans and acquires candidate broadcast signals in the background, and the working state of the first application is a background running state.
[0347] In some embodiments, the terminal device is an Android operating system;
[0348] The first application program obtains the candidate broadcast signal by scanning, comprising:
[0349] The first application stays on a predetermined interface and obtains candidate broadcast signals by scanning, and the working state of the first application is an activated state; or
[0350] The first application scans and acquires candidate broadcast signals in the background, and the working state of the first application is a pause state.
[0351] In some embodiments, the first application determines the target broadcast signal from the candidate broadcast signals, including:
[0352] A first application parses the candidate broadcast signal to obtain relevant data;
[0353] The first application determines the candidate broadcast signal as the target broadcast signal in response to the relevant data satisfying a predetermined condition.
[0354] In some embodiments, the relevant data includes at least one of a company identification and an application or service identification.
[0355] In some embodiments, the first application program obtaining the signal strength of the Bluetooth communication with the target locker includes:
[0356] The first application sends a broadcast signal, and in response to receiving a broadcast response sent by a target locker, obtains a signal strength of Bluetooth communication with the target locker according to the broadcast response.
[0357] In some embodiments, the first application program acquiring the signal strength of the Bluetooth communication between the terminal device and the target locker according to the target broadcast signal comprises:
[0358] Processing the target broadcast signal to obtain measurement parameters, where the measurement parameters include one or more of transmit power, receive antenna gain, transmit antenna gain, and range attenuation;
[0359] The signal strength is determined based on the measurement parameter.
[0360] In some embodiments, acquiring the signal strength of the Bluetooth communication with the target locker according to the broadcast response includes:
[0361] Processing the broadcast response to obtain measurement parameters, where the measurement parameters include one or more of transmit power, receive antenna gain, transmit antenna gain, and range attenuation;
[0362] The signal strength is determined based on the measurement parameter.
[0363] In some embodiments, the terminal device is an IOS operating system;
[0364] The first application sends a broadcast signal, and in response to receiving a broadcast response sent by the target locker, acquiring the signal strength of the Bluetooth communication with the target locker according to the broadcast response includes:
[0365] The first application program stays in the predetermined interface, sends a broadcast signal, and in response to receiving a broadcast response sent by a target locker, obtains the signal strength of the Bluetooth communication with the target locker according to the broadcast response, and the working state of the first application program is an activated state; or
[0366] The first application sends a broadcast signal in the background, and in response to receiving a broadcast response sent by the target locker, obtains the signal strength of the Bluetooth communication with the target locker according to the broadcast response. The working state of the first application is the background running state.
[0367] In some embodiments, the terminal device is an Android operating system;
[0368] The first application sends a broadcast signal, and in response to receiving a broadcast response sent by the target locker, acquiring the signal strength of the Bluetooth communication with the target locker according to the broadcast response includes:
[0369] The first application stays on a predetermined interface, sends a broadcast signal, and in response to receiving a broadcast response sent by a target locker, obtains the signal strength of Bluetooth communication with the target locker according to the broadcast response, and the working state of the first application is an activated state; or
[0370] The first application sends a broadcast signal in the background, and in response to receiving a broadcast response sent by the target locker, obtains the signal strength of the Bluetooth communication with the target locker according to the broadcast response. The working state of the first application is a paused state.
[0371] In some embodiments, in response to the signal strength being greater than or equal to a predetermined threshold, jumping to an operation interface of a second application program includes:
[0372] In response to the working state of the first application being an activated state and the signal strength being greater than or equal to a predetermined threshold, the first application displays a jump control, and in response to the jump control being triggered, accesses a uniform resource identifier of the second application, and jumps to an operation interface in the second application, wherein the uniform resource identifier includes at least one of a protocol name of the resource, a host name where the resource is located, a designated interface for entering the second application, parameters required for entering the designated interface, and a positioning position in the designated interface; or
[0373] In response to the working state of the first application being a background running state and the signal strength being greater than or equal to a predetermined threshold, a notification message is displayed; in response to the notification message being triggered or the working state of the first application being switched to an activated state, the first application displays a jump control; in response to the jump control being triggered, a uniform resource identifier of the second application is accessed, and the jump is made to an operation interface in the second application, wherein the uniform resource identifier includes at least one of a protocol name of a resource, a host name where the resource is located, a designated interface for entering the second application, parameters required for entering the designated interface, and a positioning position in the designated interface;
[0374] Among them, the first application displays the jump control includes: the first application displays a pop-up window, and the pop-up window includes the jump control.
[0375] In some embodiments, in response to the signal strength being greater than or equal to a predetermined threshold, jumping to an operation interface of a second application program includes:
[0376] In response to the working state of the first application being an activated state and the signal strength being greater than or equal to a predetermined threshold, the first application displays a jump control, and in response to the jump control being triggered, accesses a uniform resource identifier of the second application, and jumps to an operation interface in the second application, wherein the uniform resource identifier includes at least one of a protocol name of the resource, a host name where the resource is located, a designated interface for entering the second application, parameters required for entering the designated interface, and a positioning position in the designated interface; or
[0377] In response to the working state of the first application being a paused state and the signal strength being greater than or equal to a predetermined threshold, a notification message is displayed; in response to the notification message being triggered or the working state of the first application being switched to an activated state, the first application displays a jump control; in response to the jump control being triggered, a uniform resource identifier of the second application is accessed, and the jump is made to an operation interface in the second application, wherein the uniform resource identifier includes at least one of a protocol name of a resource, a host name where the resource is located, a designated interface for entering the second application, parameters required for entering the designated interface, and a positioning position in the designated interface;
[0378] Among them, the first application displays the jump control includes: the first application displays a pop-up window, and the pop-up window includes the jump control.
[0379] The embodiment of the present invention obtains the signal strength of the Bluetooth communication with the target locker, jumps to the operation interface in response to the signal strength being greater than or equal to a predetermined threshold, receives the operation request for the target locker input by the user through the operation interface, generates a control instruction according to the operation request and sends it to the target locker. In this way, the operation process can be reduced and the delivery efficiency can be improved.
[0380] Fig.12 Schematic diagram of an electronic device according to an embodiment of the present invention. In this embodiment, the electronic device includes a server, a terminal, etc. Fig.12 As shown, the electronic device: includes at least one processor 121; and a memory 122 communicatively connected to at least one processor 121; and a communication component 123 communicatively connected to a scanning device, the communication component 123 receiving and sending data under the control of the processor 121; wherein the memory 122 stores instructions executable by at least one processor 121, and the instructions are executed by at least one processor 121 to implement the above-mentioned locker control method.
[0381] Specifically, the electronic device includes: one or more processors 121 and a memory 122, Fig.12 A processor 121 is taken as an example. The processor 121 and the memory 122 may be connected via a bus or other means. Fig.12The example of the bus connection is taken as an example. The memory 122 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The processor 121 executes various functional applications and data processing of the device by running the non-volatile software programs, instructions and modules stored in the memory 122, that is, realizing the control method of the locker.
[0382] The memory 122 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and applications required for at least one function; the data storage area may store a list of options, etc. In addition, the memory 122 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 122 may optionally include a memory remotely arranged relative to the processor 121, and these remote memories may be connected to an external device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0383] One or more modules are stored in the memory 122, and when executed by one or more processors 121, the locker control method in any of the above method embodiments is executed.
[0384] The above-mentioned product can execute the method provided in the embodiment of the present application, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not fully described in this embodiment, please refer to the method provided in the embodiment of the present application.
[0385] The embodiment of the present invention obtains the signal strength of the Bluetooth communication with the target locker, jumps to the operation interface in response to the signal strength being greater than or equal to a predetermined threshold, receives the operation request for the target locker input by the user through the operation interface, generates a control instruction according to the operation request and sends it to the target locker. In this way, the operation process can be reduced and the delivery efficiency can be improved.
[0386] An embodiment of the present invention relates to a non-volatile storage medium for storing a computer-readable program, wherein the computer-readable program is used for a computer to execute part or all of the above method embodiments.
[0387] That is, those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including a number of instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0388] The embodiment of the present invention further provides B1, a locker control method applicable to a terminal device, the method comprising:
[0389] Obtain the signal strength of the Bluetooth communication with the target locker;
[0390] In response to the signal strength being greater than or equal to a predetermined threshold, jumping to an operation interface;
[0391] receiving, through the operation interface, an operation request for the target locker input by a user;
[0392] A control instruction is generated according to the operation request and sent to the target locker.
[0393] B2. The method as described in B1, wherein obtaining the signal strength of the Bluetooth communication with the target locker comprises:
[0394] Acquire candidate broadcast signals by scanning;
[0395] Determining a target broadcast signal among the candidate broadcast signals, the target broadcast signal being a broadcast signal sent by the target locker;
[0396] The signal strength of the Bluetooth communication between the terminal device and the target locker is obtained according to the target broadcast signal.
[0397] B3. The method as described in B2, wherein the terminal device is an IOS operating system;
[0398] The acquiring of candidate broadcast signals by scanning includes:
[0399] The application stays on a predetermined interface and obtains candidate broadcast signals by scanning, and the working state of the application is an activated state; or
[0400] The application scans and obtains candidate broadcast signals in the background, and the working state of the application is a background running state.
[0401] B4. The method as described in B2, wherein the terminal device is an Android operating system;
[0402] The acquiring of candidate broadcast signals by scanning includes:
[0403] The application stays on a predetermined interface and obtains candidate broadcast signals by scanning, and the working state of the application is an activated state; or
[0404] The application scans and obtains candidate broadcast signals in the background, and the working state of the application is a paused state.
[0405] B5. The method as described in B2, wherein determining the target broadcast signal from the candidate broadcast signals comprises:
[0406] parsing the candidate broadcast signal to obtain relevant data;
[0407] In response to the correlation data satisfying a predetermined condition, the candidate broadcast signal is determined as the target broadcast signal.
[0408] B6. As described in B5, the relevant data includes at least one of a company logo and an application or service logo.
[0409] B7. The method as described in B1, wherein obtaining the signal strength of the Bluetooth communication with the target locker comprises:
[0410] A broadcast signal is sent, and in response to receiving a broadcast response sent by a target locker, a signal strength of Bluetooth communication with the target locker is acquired according to the broadcast response.
[0411] B8. The method as described in B7, wherein the terminal device is an IOS operating system;
[0412] The sending of the broadcast signal, in response to receiving a broadcast response sent by the target locker, and acquiring the signal strength of the Bluetooth communication with the target locker according to the broadcast response comprises:
[0413] The application stays on a predetermined interface, sends a broadcast signal, and in response to receiving a broadcast response sent by a target locker, obtains the signal strength of the Bluetooth communication with the target locker according to the broadcast response, and the working state of the application is an activated state; or
[0414] The application sends a broadcast signal in the background, and in response to receiving a broadcast response sent by the target locker, obtains the signal strength of the Bluetooth communication with the target locker according to the broadcast response. The working state of the application is the background running state.
[0415] B9. The method as described in B7, wherein the terminal device is an Android operating system;
[0416] The sending of the broadcast signal, in response to receiving a broadcast response sent by the target locker, and acquiring the signal strength of the Bluetooth communication with the target locker according to the broadcast response comprises:
[0417] The application stays on a predetermined interface, sends a broadcast signal, and in response to receiving a broadcast response sent by a target locker, obtains the signal strength of the Bluetooth communication with the target locker according to the broadcast response, and the working state of the application is an activated state; or
[0418] The application sends a broadcast signal in the background, and in response to receiving a broadcast response sent by the target locker, obtains the signal strength of the Bluetooth communication with the target locker according to the broadcast response, and the working state of the application is a pause state.
[0419] B10. As described in B2, the step of acquiring the signal strength of the Bluetooth communication between the terminal device and the target locker according to the target broadcast signal comprises:
[0420] Processing the target broadcast signal to obtain measurement parameters, where the measurement parameters include one or more of transmit power, receive antenna gain, transmit antenna gain, and range attenuation;
[0421] The signal strength is determined based on the measurement parameter.
[0422] B11. The method as described in B7, wherein obtaining the signal strength of the Bluetooth communication with the target locker according to the broadcast response comprises:
[0423] Processing the broadcast response to obtain measurement parameters, where the measurement parameters include one or more of transmit power, receive antenna gain, transmit antenna gain, and range attenuation;
[0424] The signal strength is determined based on the measurement parameter.
[0425] B12. The method as described in B3 or B8, wherein in response to the signal strength being greater than or equal to a predetermined threshold, jumping to the operation interface comprises:
[0426] In response to the application being in an activated state and the signal strength being greater than or equal to a predetermined threshold, jumping to an operation interface; or
[0427] In response to the application's working state being a background running state and the signal strength being greater than or equal to a predetermined threshold, a notification message is displayed; in response to the notification message being triggered or the application's working state being switched to an activated state, the application jumps to an operation interface.
[0428] B13. The method as described in B4 or B9, wherein in response to the signal strength being greater than or equal to a predetermined threshold, jumping to the operation interface comprises:
[0429] In response to the application being in an activated state and the signal strength being greater than or equal to a predetermined threshold, jumping to an operation interface; or
[0430] In response to the application's working state being a paused state and the signal strength being greater than or equal to a predetermined threshold, a notification message is displayed; in response to the notification message being triggered or the application's working state being switched to an activated state, the application jumps to an operation interface.
[0431] B14. A locker control method, applicable to a terminal device, wherein the terminal device is installed with a first application and a second application, the method comprising:
[0432] The first application obtains the signal strength of the Bluetooth communication with the target locker;
[0433] In response to the signal strength being greater than or equal to a predetermined threshold, jumping to an operation interface of a second application;
[0434] The second application receives an operation request for the target locker input by the user through the operation interface;
[0435] The second application generates a control instruction according to the operation request and sends the control instruction to the target locker.
[0436] B15. As described in B14, the first application program acquires the signal strength of the Bluetooth communication with the target locker, including:
[0437] The first application obtains candidate broadcast signals by scanning;
[0438] The first application determines a target broadcast signal from the candidate broadcast signals, where the target broadcast signal is a broadcast signal sent by the target locker;
[0439] The first application obtains the signal strength of the Bluetooth communication between the terminal device and the target locker according to the target broadcast signal.
[0440] B16. The method as described in B15, wherein the terminal device is an IOS operating system;
[0441] The first application program obtains the candidate broadcast signal by scanning, comprising:
[0442] The first application program remains in the predetermined interface and obtains candidate broadcast signals by scanning, and the working state of the first application program is an activated state; or
[0443] The first application scans and acquires candidate broadcast signals in the background, and the working state of the first application is a background running state.
[0444] B17. The method as described in B15, wherein the terminal device is an Android operating system;
[0445] The first application program obtains the candidate broadcast signal by scanning, comprising:
[0446] The first application stays on a predetermined interface and obtains candidate broadcast signals by scanning, and the working state of the first application is an activated state; or
[0447] The first application scans and acquires candidate broadcast signals in the background, and the working state of the first application is a pause state.
[0448] B18. The method as described in B15, wherein the first application determines the target broadcast signal from the candidate broadcast signals, comprising:
[0449] A first application parses the candidate broadcast signal to obtain relevant data;
[0450] The first application determines the candidate broadcast signal as the target broadcast signal in response to the relevant data satisfying a predetermined condition.
[0451] B19. As described in B18, the relevant data includes at least one of a company logo and an application or service logo.
[0452] B20. As described in B14, the first application program acquiring the signal strength of the Bluetooth communication with the target locker comprises:
[0453] The first application sends a broadcast signal, and in response to receiving a broadcast response sent by a target locker, obtains a signal strength of Bluetooth communication with the target locker according to the broadcast response.
[0454] B21. As described in B15, the first application program acquires the signal strength of the Bluetooth communication between the terminal device and the target locker according to the target broadcast signal, including:
[0455] Processing the target broadcast signal to obtain measurement parameters, where the measurement parameters include one or more of transmit power, receive antenna gain, transmit antenna gain, and range attenuation;
[0456] The signal strength is determined based on the measurement parameter.
[0457] B22. The method as described in B20, wherein obtaining the signal strength of the Bluetooth communication with the target locker according to the broadcast response comprises:
[0458] Processing the broadcast response to obtain measurement parameters, where the measurement parameters include one or more of transmit power, receive antenna gain, transmit antenna gain, and range attenuation;
[0459] The signal strength is determined based on the measurement parameter.
[0460] B23. The method as described in B20, wherein the terminal device is an IOS operating system;
[0461] The first application sends a broadcast signal, and in response to receiving a broadcast response sent by the target locker, acquiring the signal strength of the Bluetooth communication with the target locker according to the broadcast response includes:
[0462] The first application program stays in the predetermined interface, sends a broadcast signal, and in response to receiving a broadcast response sent by a target locker, obtains the signal strength of the Bluetooth communication with the target locker according to the broadcast response, and the working state of the first application program is an activated state; or
[0463] The first application sends a broadcast signal in the background, and in response to receiving a broadcast response sent by the target locker, obtains the signal strength of the Bluetooth communication with the target locker according to the broadcast response. The working state of the first application is the background running state.
[0464] B24. The method as described in B20, wherein the terminal device is an Android operating system;
[0465] The first application sends a broadcast signal, and in response to receiving a broadcast response sent by the target locker, acquiring the signal strength of the Bluetooth communication with the target locker according to the broadcast response includes:
[0466] The first application stays on a predetermined interface, sends a broadcast signal, and in response to receiving a broadcast response sent by a target locker, obtains the signal strength of Bluetooth communication with the target locker according to the broadcast response, and the working state of the first application is an activated state; or
[0467] The first application sends a broadcast signal in the background, and in response to receiving a broadcast response sent by the target locker, obtains the signal strength of the Bluetooth communication with the target locker according to the broadcast response. The working state of the first application is a paused state.
[0468] B25. The method as described in B16 or B23, wherein in response to the signal strength being greater than or equal to a predetermined threshold, jumping to the operation interface of the second application comprises:
[0469] In response to the working state of the first application being an activated state and the signal strength being greater than or equal to a predetermined threshold, the first application displays a jump control, and in response to the jump control being triggered, accesses a uniform resource identifier of the second application, and jumps to an operation interface in the second application, wherein the uniform resource identifier includes at least one of a protocol name of the resource, a host name where the resource is located, a designated interface for entering the second application, parameters required for entering the designated interface, and a positioning position in the designated interface; or
[0470] In response to the working state of the first application being a background running state and the signal strength being greater than or equal to a predetermined threshold, a notification message is displayed; in response to the notification message being triggered or the working state of the first application being switched to an activated state, the first application displays a jump control; in response to the jump control being triggered, a uniform resource identifier of the second application is accessed, and the jump is made to an operation interface in the second application, wherein the uniform resource identifier includes at least one of a protocol name of a resource, a host name where the resource is located, a designated interface for entering the second application, parameters required for entering the designated interface, and a positioning position in the designated interface;
[0471] Among them, the first application displays the jump control includes: the first application displays a pop-up window, and the pop-up window includes the jump control.
[0472] B26. The method as described in B17 or B24, wherein in response to the signal strength being greater than or equal to a predetermined threshold, jumping to the operation interface of the second application comprises:
[0473] In response to the working state of the first application being an activated state and the signal strength being greater than or equal to a predetermined threshold, the first application displays a jump control, and in response to the jump control being triggered, accesses a uniform resource identifier of the second application, and jumps to an operation interface in the second application, wherein the uniform resource identifier includes at least one of a protocol name of the resource, a host name where the resource is located, a designated interface for entering the second application, parameters required for entering the designated interface, and a positioning position in the designated interface; or
[0474] In response to the working state of the first application being a paused state and the signal strength being greater than or equal to a predetermined threshold, a notification message is displayed; in response to the notification message being triggered or the working state of the first application being switched to an activated state, the first application displays a jump control; in response to the jump control being triggered, a uniform resource identifier of the second application is accessed, and the jump is made to an operation interface in the second application, wherein the uniform resource identifier includes at least one of a protocol name of a resource, a host name where the resource is located, a designated interface for entering the second application, parameters required for entering the designated interface, and a positioning position in the designated interface;
[0475] Among them, the first application displays the jump control includes: the first application displays a pop-up window, and the pop-up window includes the jump control.
[0476] B27. A control device for a locker, applicable to a terminal device, comprising:
[0477] A first signal strength acquisition unit, used to acquire the signal strength of the Bluetooth communication with the target locker;
[0478] A first interface jump unit, configured to jump to an operation interface in response to the signal strength being greater than or equal to a predetermined threshold;
[0479] A first operation request receiving unit, configured to receive an operation request for the target locker input by a user through the operation interface;
[0480] The first control instruction sending unit is used to generate a control instruction according to the operation request and send the control instruction to the target locker.
[0481] B28. A control device for a locker, applicable to a terminal device, wherein the terminal device is installed with a first application and a second application, and the device comprises:
[0482] A second signal strength acquisition unit, configured to acquire the signal strength of the Bluetooth communication with the target locker through the first application;
[0483] A second interface jump unit, configured to jump to an operation interface of a second application program in response to the signal strength being greater than or equal to a predetermined threshold;
[0484] A second operation request receiving unit, configured to receive an operation request for the target locker input by a user through the operation interface based on a second application;
[0485] The second control instruction sending unit is used to generate a control instruction according to the operation request through a second application program and send the control instruction to the target locker.
[0486] B29. A computer-readable storage medium storing computer program instructions, which implement the method described in any one of B1-B26 when executed by a processor.
[0487] B30. An electronic device comprising a memory and a processor, wherein the memory is used to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement a method as described in any one of B1-B26.
[0488] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A locker control method, applicable to a terminal device, characterized in that: The method comprises: Obtain the signal strength of the Bluetooth communication with the target locker; In response to the signal strength being greater than or equal to a predetermined threshold, jumping to an operation interface; receiving, through the operation interface, an operation request for the target locker input by a user; A control instruction is generated according to the operation request and sent to the target locker.
2. The method according to claim 1, characterized in that The step of obtaining the signal strength of the Bluetooth communication with the target locker includes: Acquire candidate broadcast signals by scanning; Determining a target broadcast signal among the candidate broadcast signals, the target broadcast signal being a broadcast signal sent by the target locker; The signal strength of the Bluetooth communication between the terminal device and the target locker is obtained according to the target broadcast signal.
3. The method according to claim 2, characterized in that The terminal device uses an IOS operating system; The acquiring of candidate broadcast signals by scanning includes: The application stays on a predetermined interface and obtains candidate broadcast signals by scanning, and the working state of the application is an activated state; or The application scans and obtains candidate broadcast signals in the background, and the working state of the application is a background running state.
4. The method according to claim 2, characterized in that: The terminal device uses an Android operating system; The acquiring of candidate broadcast signals by scanning includes: The application stays on a predetermined interface and obtains candidate broadcast signals by scanning, and the working state of the application is an activated state; or The application scans and obtains candidate broadcast signals in the background, and the working state of the application is a paused state.
5. The method according to claim 2, characterized in that: Determining a target broadcast signal from among the candidate broadcast signals comprises: parsing the candidate broadcast signal to obtain relevant data; In response to the correlation data satisfying a predetermined condition, the candidate broadcast signal is determined as the target broadcast signal.
6. A locker control method, applicable to a terminal device, characterized in that: The terminal device is installed with a first application and a second application, and the method includes: The first application obtains the signal strength of the Bluetooth communication with the target locker; In response to the signal strength being greater than or equal to a predetermined threshold, jumping to an operation interface of a second application; The second application receives an operation request for the target locker input by the user through the operation interface; The second application generates a control instruction according to the operation request and sends the control instruction to the target locker.
7. A locker control device, suitable for terminal equipment, characterized in that: The device comprises: A first signal strength acquisition unit, used to acquire the signal strength of the Bluetooth communication with the target locker; A first interface jump unit, configured to jump to an operation interface in response to the signal strength being greater than or equal to a predetermined threshold; A first operation request receiving unit, configured to receive an operation request for the target locker input by a user through the operation interface; The first control instruction sending unit is used to generate a control instruction according to the operation request and send the control instruction to the target locker.
8. A control device for a locker, suitable for a terminal device, characterized in that: The terminal device is installed with a first application and a second application, and the apparatus comprises: A second signal strength acquisition unit, configured to acquire the signal strength of the Bluetooth communication with the target locker through the first application; A second interface jump unit, configured to jump to an operation interface of a second application program in response to the signal strength being greater than or equal to a predetermined threshold; A second operation request receiving unit, configured to receive an operation request for the target locker input by a user through the operation interface based on a second application; The second control instruction sending unit is used to generate a control instruction according to the operation request through a second application program and send the control instruction to the target locker.
9. A computer-readable storage medium storing computer program instructions, characterized in that: The computer program instructions implement the method according to any one of claims 1 to 6 when executed by a processor.
10. An electronic device comprising a memory and a processor, characterized in that: The memory is used to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Intelligent television control method and mobile terminal
CN105338391A
Express cabinet control method, express cabinet and computer readable medium
CN109598834A
Control method of display equipment and related device
CN110337020A
Take-out delivery method and device, electronic equipment and storage medium
CN111476516A
Intelligent access method and device, electronic equipment, storage medium and program product
CN112863072A
Cited By
Control method and apparatus for locker, storage medium, and electronic device
WO2026144260A1