打开快递柜的方法、装置、设备和系统Method, device, equipment and system for opening express cabinet
本申请要求在2019年04月26日提交中国专利局、申请号为201910345094.9的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office with application number 201910345094.9 on April 26, 2019. The entire content of the application is incorporated into this application by reference.
技术领域Technical field
本申请涉及信息处理技术,例如涉及一种打开快递柜的方法、装置、设备和系统。This application relates to information processing technology, such as a method, device, equipment and system for opening express cabinets.
背景技术Background technique
随着电商的迅猛发展,快递量日益增长,急剧增长的快递量给整个快递行业带来了巨大的挑战,而作为快递末端最后一公里的服务平台的快递智能柜,给人们提供了便利的收取快件的新的方式。不断地优化最后一公里的多个环节,提高效率,提升用户体验,对于整个快递行业的快速健康发展具有重要的意义。With the rapid development of e-commerce, the volume of express delivery is increasing day by day. The rapid increase in express delivery volume has brought huge challenges to the entire express delivery industry. As the service platform of the last mile of express delivery, the express smart cabinet provides convenience for people. A new way to receive express mail. Continuously optimizing multiple links in the last mile, improving efficiency, and enhancing user experience are of great significance to the rapid and healthy development of the entire express industry.
通常,当取件人的快递件被放置于快递柜中、取件人需要取出快递件时,需要通过快递柜的屏幕输入取件密码,校验通过后方可开箱取件。为了实现取件,取件人必须先在手机中找到包括取件码的信息,记住其中的取件码,最后在快递柜上手动输入取件密码。在快递智能柜的屏幕较小或者在阳光比较强烈的情况下,会使得操作便利性较差。Generally, when the picker’s courier is placed in the courier cabinet and the picker needs to take out the courier, he needs to enter the pick-up password through the screen of the courier cabinet, and the package can be opened and retrieved after the verification is passed. In order to realize the pickup, the pickup person must first find the information including the pickup code in the mobile phone, remember the pickup code, and finally manually enter the pickup password on the express cabinet. When the screen of the express smart cabinet is small or in the case of strong sunlight, the operation convenience will be poor.
发明内容Summary of the invention
本申请提供一种打开快递柜的方法、装置、设备和系统,以解决取件时需要手动输入验证码的问题。This application provides a method, device, equipment, and system for opening a courier cabinet to solve the problem of manually entering a verification code when picking up a package.
本申请实施例提供了一种打开快递柜的方法,包括:The embodiment of the application provides a method for opening the express cabinet, including:
发送取件消息,其中,所述取件消息包括第一展示界面和第一交互区域,所述第一展示界面用于显示存放取件人的快递件的快递柜和所述快递柜所在的第一位置信息;Sending a pickup message, where the pickup message includes a first display interface and a first interaction area, and the first display interface is used to display the express cabinet storing the courier of the pickup person and the first express cabinet where the express cabinet is located. A location information;
接收开柜指令,其中,所述开柜指令通过所述第一交互区域产生,所述开柜指令包括所述取件人所在的第二位置信息;Receiving an opening instruction, where the opening instruction is generated through the first interaction area, and the opening instruction includes second location information where the pickup person is located;
确定间隔距离,其中,所述间隔距离通过所述第一位置信息与所述第二位置信息确定;Determining a separation distance, wherein the separation distance is determined by the first position information and the second position information;
在所述间隔距离符合第一距离条件的情况下,控制所述快递柜打开柜门。When the separation distance meets the first distance condition, control the express cabinet to open the cabinet door.
本申请实施例还提供了一种打开快递柜的装置,包括:The embodiment of the present application also provides a device for opening the express cabinet, including:
取件消息发送模块,设置为发送取件消息,其中,所述取件消息包括第一展示界面和第一交互区域,所述第一展示界面用于显示存放取件人的快递件的快递柜和所述快递柜所在的第一位置信息;A pickup message sending module, configured to send a pickup message, where the pickup message includes a first display interface and a first interaction area, and the first display interface is used to display a courier cabinet that stores the courier of the pickup person And the first location information where the express cabinet is located;
开柜指令接收模块,设置为接收开柜指令,其中,所述开柜指令通过所述第一交互区域产生,所述开柜指令包括所述取件人所在的第二位置信息;The opening instruction receiving module is configured to receive an opening instruction, wherein the opening instruction is generated through the first interaction area, and the opening instruction includes second location information where the pickup person is located;
间隔距离确定模块,设置为确定间隔距离,其中,所述间隔距离通过所述第一位置信息与所述第二位置信息确定;A separation distance determination module, configured to determine the separation distance, wherein the separation distance is determined by the first position information and the second position information;
柜门打开模块,设置为在所述间隔距离符合第一距离条件的情况下,控制所述快递柜打开柜门。The cabinet door opening module is configured to control the express cabinet to open the cabinet door when the separation distance meets the first distance condition.
本申请实施例还提供了一种电子设备,包括:An embodiment of the present application also provides an electronic device, including:
一个或多个处理器;One or more processors;
存储器,设置为存储一个或多个程序;Memory, set to store one or more programs;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如任一项实施例所述的一种打开快递柜的方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the method for opening the express cabinet as described in any of the embodiments.
本申请实施例还提供了一种打开快递柜的系统,包括:取件人设备、快递柜和电子设备;The embodiment of the present application also provides a system for opening the express cabinet, including: picker equipment, express cabinet and electronic equipment;
所述电子设备设置为向所述取件人设备发送取件消息,其中,所述取件消息包括第一展示界面和第一交互区域,所述第一展示界面用于显示存放取件人的快递件的快递柜和所述快递柜所在的第一位置,所述取件消息通过短信中心平台发送;The electronic device is configured to send a pickup message to the pickup device, where the pickup message includes a first display interface and a first interaction area, and the first display interface is used to display the pickup information The courier cabinet of the courier and the first location where the courier cabinet is located, the pickup message is sent through the SMS center platform;
所述取件人设备设置为向所述电子设备发送开柜指令,其中,所述开柜指令通过作用于所述第一交互区域产生,所述开柜指令包括所述取件人所在的第二位置信息,所述开柜指令通过所述短信中心平台发送;The pickup device is configured to send an opening instruction to the electronic device, wherein the opening instruction is generated by acting on the first interaction area, and the opening instruction includes the first where the pickup is located. 2. Location information, the opening instruction is sent through the SMS center platform;
所述电子设备还设置为根据所述第一位置信息和所述第二位置信息确定间隔距离;The electronic device is further configured to determine the separation distance according to the first position information and the second position information;
在所述间隔距离符合第一距离条件的情况下,所述电子设备还设置为控制所述快递柜打开柜门。In the case that the separation distance meets the first distance condition, the electronic device is further configured to control the express cabinet to open the cabinet door.
附图说明Description of the drawings
图1A为本申请实施例一提供的一种打开快递柜的方法的流程图;FIG. 1A is a flowchart of a method for opening a courier cabinet provided in Embodiment 1 of this application;
图1B为本申请实施例一提供的一种取件消息的用户界面结构图;FIG. 1B is a structural diagram of a user interface of a pickup message provided in Embodiment 1 of this application;
图2A为本申请实施例二提供的一种打开快递柜的方法的流程图;2A is a flowchart of a method for opening a courier cabinet provided in Embodiment 2 of the application;
图2B为本申请实施例二提供的一种取件消息的用户界面结构图;2B is a structural diagram of a user interface of a pickup message provided in Embodiment 2 of this application;
图2C为本申请实施例二提供的一种确认消息的用户界面结构图;2C is a structural diagram of a user interface of a confirmation message provided in the second embodiment of this application;
图3为本申请实施例三提供的一种打开快递柜的装置的结构图;FIG. 3 is a structural diagram of a device for opening express cabinets according to Embodiment 3 of the application;
图4为本申请实施例四提供的一种电子设备的结构示意图;FIG. 4 is a schematic structural diagram of an electronic device according to Embodiment 4 of the application;
图5为本申请实施例五提供的一种打开快递柜的系统的结构图。Fig. 5 is a structural diagram of a system for opening express cabinets provided in the fifth embodiment of the application.
具体实施方式Detailed ways
下面结合附图和实施例对本申请进行说明。此处所描述的具体实施例仅仅用于解释本申请,而非对本申请的限定。为了便于描述,附图中仅示出了与本申请相关的部分而非全部结构。The application will be described below with reference to the drawings and embodiments. The specific embodiments described here are only used to explain the application, but not to limit the application. For ease of description, the drawings only show a part of the structure related to the present application, but not all of the structure.
实施例一Example one
图1A为本申请实施例一提供的一种打开快递柜的方法的流程图。本实施例可适用于取件人通过一次点击取件人设备,控制快递柜柜门打开的情况。该方法可以由一种打开快递柜的装置来执行,该装置可以由软件和/或硬件的方式实现,通常配置于电子设备中,该电子设备可以是取件人使用的取件人设备、快递柜、云端服务器或任何一种可以执行该方法的电子设备。参考图1A,该方法包括:FIG. 1A is a flowchart of a method for opening an express cabinet provided in Embodiment 1 of the application. This embodiment can be applied to a situation where the pickup person controls the door of the express cabinet to open by clicking the pickup device once. The method can be executed by a device that opens the express cabinet. The device can be implemented by software and/or hardware, and is usually configured in an electronic device. The electronic device can be a pickup device used by a pickup person, or a courier device. Cabinet, cloud server, or any electronic device that can execute the method. Referring to Figure 1A, the method includes:
S101、发送取件消息。S101. Send a pickup message.
取件消息是通过短信平台接口发送的一种消息服务,该消息服务会通过取件人设备的短信通道进行推送,该消息服务包括多种内嵌模板,该内嵌模板可包含展示界面和交互区域。其中,展示界面用于向取件人展示消息,该展示界面可以是文字、图片或视频等内容。交互区域用于接收由于用户触碰而产生的指令,交互区域产生的指令可以根据交互区域的内容来确定。The pickup message is a message service sent through the SMS platform interface. The message service will be pushed through the SMS channel of the pickup device. The message service includes a variety of embedded templates, which can include display interfaces and interactions. area. Among them, the display interface is used to display messages to the pickup person, and the display interface may be text, pictures, or videos. The interactive area is used to receive instructions generated by the user's touch, and the instructions generated in the interactive area can be determined according to the content of the interactive area.
短信平台接口主要有以下几种方式:1、超文本传输协议(Hyper Text Transfer Protocol,HTTP)接口。该接口作为网络时代的最常用的数据提交方式,HTTP接口的使用方式同网站上提交数据的方式基本一致。2、网络服务供应商(webService)接口。该接口是另一种较常用的短信群发提交接口,该接口的使用方式与HTTP接口有相似的地方,使用时可以像调用一般函数一样调用WebService的方法。3、应用程序编程接口(Application Programming Interface,API)。该接口作为另一常用的短信群发接口产品,该接口是以动态链接库 (Dynamic Link Library,DLL)的形式被调用的。The SMS platform interface mainly has the following methods: 1. Hypertext Transfer Protocol (HyperText Transfer Protocol, HTTP) interface. This interface is the most commonly used data submission method in the Internet age. The use of the HTTP interface is basically the same as the way of submitting data on the website. 2. Web Service provider (webService) interface. This interface is another commonly used SMS group submission interface. The use of this interface is similar to that of the HTTP interface. When used, the WebService method can be called like a general function. 3. Application Programming Interface (API). This interface is another commonly used short message group sending interface product, and the interface is called in the form of a dynamic link library (DLL).
图1B为本申请实施例一提供的一种取件消息的用户界面结构图。参考图1B,本实施例中,取件消息10至少包括第一展示界面11和第一交互区域12,该第一展示界面11用于显示存放取件人的快递件的快递柜和所述快递柜所在的第一位置信息。该第一交互区域12用于检测用户的触摸操作,并根据触摸操作生成开柜指令。其中,可以将第一交互区域12设置为包括“一键开柜”字样的按键。FIG. 1B is a structural diagram of a user interface of a pickup message provided in Embodiment 1 of this application. 1B, in this embodiment, the pickup message 10 includes at least a first display interface 11 and a first interaction area 12, and the first display interface 11 is used to display the courier cabinet storing the courier of the pickup person and the courier. The first location information where the cabinet is located. The first interaction area 12 is used to detect a user's touch operation, and generate a cabinet opening instruction according to the touch operation. Wherein, the first interaction area 12 can be set as a button including the words "one-key open cabinet".
在一实现方式中,电子设备向取件人使用的取件人设备发送取件消息,以提示取件人有快递件存放于特定的快递柜中。In an implementation manner, the electronic device sends a pickup message to the pickup device used by the pickup person to remind the pickup person that the express item is stored in a specific express cabinet.
S102、接收开柜指令。S102. Receive a cabinet opening instruction.
开柜指令是通过取件人触摸第一交互区域而产生的指令。开柜指令被触发时,会将取件人所在的第二位置信息同时上传给电子设备。其中,第二位置信息为取件人使用的取件人设备的定位地址信息。The opening instruction is an instruction generated by the picker touching the first interactive area. When the opening instruction is triggered, the second location information of the pickup person will be uploaded to the electronic device at the same time. The second location information is the location address information of the pickup device used by the pickup person.
在一种确定第二位置信息的方式中,定位地址信息可以通过全球定位系统(Global Positioning System,GPS)定位、移动基站定位、行动热点(Wi-Fi)辅助定位、辅助全球卫星定位系统(Assisted Global Positioning System,AGPS)来确定。In a method of determining the second location information, the location address information can be located through the Global Positioning System (GPS) positioning, mobile base station positioning, mobile hotspot (Wi-Fi) assisted positioning, and assisted global satellite positioning system (Assisted Global Positioning System, AGPS) to determine.
在一种确定第二位置信息的方式中,预先采集多个快递柜的位置,构造矢量地图,该矢量地图保存在电子设备中。快递柜提供多个无线热点,如无线保真(Wireless Fidelity,WiFi)热点,取件人将取件人设备接入无线热点,电子设备可通过无线热点检测移动设备产生的数据,从而确定取件人设备在该矢量地图中的位置,作为第二位置信息。In a method of determining the second location information, the locations of multiple express cabinets are collected in advance to construct a vector map, and the vector map is stored in the electronic device. The express cabinet provides multiple wireless hotspots, such as Wireless Fidelity (WiFi) hotspots. The pickup person connects the pickup device to the wireless hotspot, and the electronic device can detect the data generated by the mobile device through the wireless hotspot to determine the pickup The position of the human device in the vector map is used as the second position information.
在一种确定第二位置信息的方式中,预先在快递柜处安装WiFi探针,根据WiFi探针获取到寄件人设备的介质访问控制(Media Access Control,MAC)地址,探针MAC地址,信号强度,时间戳等信息,从而确定第二位置信息。In a method of determining the second location information, a WiFi probe is installed in the express cabinet in advance, and the Media Access Control (MAC) address of the sender’s device and the MAC address of the probe are obtained according to the WiFi probe. Signal strength, time stamp and other information to determine the second location information.
在一实现方式中,当取件人设备检测到取件人触摸第一交互区域时,生成开柜指令,并将取件人所在的第二位置信息与该开柜指令相关联,将二者同时上传给电子设备。In an implementation manner, when the pickup device detects that the pickup person touches the first interaction area, it generates a cabinet opening instruction, and associates the second location information of the pickup person with the cabinet opening instruction, and combines the two At the same time upload to the electronic device.
S103、确定间隔距离。S103: Determine the separation distance.
间隔距离是指取件人距离存放快递件的快递柜的距离,通过解析第一位置信息与第二位置信息,确定二者之间的距离确定。The separation distance refers to the distance between the picker and the courier cabinet where the courier is stored. The distance between the two is determined by analyzing the first location information and the second location information.
S104、当所述间隔距离符合第一距离条件时,控制所述快递柜打开柜门。S104. When the separation distance meets the first distance condition, control the express cabinet to open the cabinet door.
符合第一距离条件说明取件人距离存放快递件的快递柜的距离很近,说明取件人站在快递柜附近触摸了第一交互区域。此时控制快递柜打开柜门,使得取件人可以从快递柜中取出快递件。Meeting the first distance condition means that the pickup person is very close to the express cabinet where the express parcel is stored, and that the pickup person is standing near the express cabinet and touched the first interaction area. At this time, the express cabinet is controlled to open the cabinet door, so that the pickup person can take out the express parcel from the express cabinet.
本申请实施例提供了:发送取件消息,所述取件消息包括第一展示界面和第一交互区域,所述第一展示界面用于显示存放取件人的快递件的快递柜和所述快递柜所在的第一位置信息;接收开柜指令,所述开柜指令通过所述第一交互区域产生,所述开柜指令包括所述取件人所在的第二位置信息;确定间隔距离,所述间隔距离通过第一位置信息与第二位置信息确定;当所述间隔距离符合第一距离条件时,控制所述快递柜打开柜门。实现了取件人在取件人设备上通过一次触摸即可打开快递柜取出快递件,无需操作快递柜,也无需通过手机扫描快递柜信息。同时,本实施例不会要求增加快递柜的硬件设备,极大地节约了成本。The embodiment of the application provides: sending a pickup message, the pickup message includes a first display interface and a first interaction area, the first display interface is used to display the express cabinet storing the pickup person’s express parcel and the The first location information where the express cabinet is located; receiving an opening instruction, the opening instruction is generated through the first interaction area, the opening instruction includes the second location information where the pickup person is located; determining the separation distance, The separation distance is determined by the first location information and the second location information; when the separation distance meets the first distance condition, the express cabinet is controlled to open the cabinet door. It is realized that the picker can open the express cabinet and take out the express parcel with one touch on the picker's device, without operating the express cabinet or scanning the information of the express cabinet with a mobile phone. At the same time, this embodiment does not require additional hardware equipment of the express cabinet, which greatly saves costs.
实施例二Example two
图2A为本申请实施例二提供的一种打开快递柜的方法的流程图。本实施例是在实施例一的基础上,增加了如何发送取件消息,以及取件消息包括的其他内容的描述。参考图2A,该方法包括:FIG. 2A is a flowchart of a method for opening the express cabinet provided in the second embodiment of the application. This embodiment is based on the first embodiment and adds a description of how to send a pickup message and other content included in the pickup message. Referring to Figure 2A, the method includes:
S201、确定取件人的身份信息。S201. Determine the identity information of the pickup person.
一件快递件会包括寄件人的身份信息与地址信息,也会包括取件人的身份信息与地址信息。取件人的地址信息与存放快递件的快递柜相关,而取件人的身份信息与接收取件消息的取件人设备相关。An express parcel will include the identity information and address information of the sender, as well as the identity information and address information of the pickup person. The address information of the pickup person is related to the courier cabinet where the courier is stored, and the identity information of the pickup person is related to the pickup device that receives the pickup message.
取件人的身份信息可以是指一组可以被识别的身份数据,如用户标识(Identifier,ID)、账号等。取件人的身份信息还可以是取件人的电话号码。The identity information of the pickup person may refer to a set of identifiable identity data, such as a user identification (Identifier, ID), account number, and so on. The identity information of the pickup person can also be the phone number of the pickup person.
在一实施方式中,由于取件消息通过短信通道进行传递,因此将取件人的电话号码作为表征不同取件人的身份信息。In one embodiment, since the pickup message is transmitted through the short message channel, the phone number of the pickup person is used as the identity information for different pickup persons.
S202、配置取件消息。S202. Configure a pickup message.
图2B为本申请实施例二提供的一种取件消息的用户界面结构图。本实施例中,取件消息10至少包括第一展示界面11和第一交互区域12,该第一展示界面11用于显示存放取件人的快递件的快递柜和所述快递柜所在的第一位置信息。该第一交互区域12用于检测用户的触摸操作,并根据触摸操作生成开柜指令。其中,可以将第一交互区域12设置为包括“一键开柜”字样的按键。其中,第一展示界面11可以显示“您的单号为:XXXXXXXXXX的快递件已经存放在【XXXX快递柜】中。快递柜地址:XXXXXXXX;取件码:XXXXXX;投 递人:XXX;如有疑问,请咨询:XXXXXXXXXXX”等字样。其中,“XXX”表示根据取件人与快递柜而实际填入的信息。2B is a structural diagram of a user interface of a pickup message provided in the second embodiment of the application. In this embodiment, the pickup message 10 includes at least a first display interface 11 and a first interaction area 12, and the first display interface 11 is used to display the express cabinet where the pickup person’s courier is stored and the first display cabinet where the express cabinet is located. One location information. The first interaction area 12 is used to detect a user's touch operation, and generate a cabinet opening instruction according to the touch operation. Wherein, the first interaction area 12 can be set as a button including the words "one-key open cabinet". Among them, the first display interface 11 can display "Your courier number: XXXXXXXXXX has been stored in the [XXXX express cabinet]. Express cabinet address: XXXXXXXX; pickup code: XXXXXX; delivery person: XXX; if in doubt , Please consult: XXXXXXXXXXX" and other words. Among them, "XXX" represents the information actually filled in according to the picker and the express cabinet.
在此基础上,可以在取件消息10中添加第二交互区域21,该第二交互区域21与服务人员的联系信息相关联。其中,可以将第二交互区域21设置为包括“联系客服”字样的按键。当取件人点击第二交互区域21时,会根据服务人员的联系信息与该服务人员进行连接,连接的方式可以是进行视频通话、语音通话或者进行文字聊天。第二交互区域的设置可以使取件人与服务人员进行即时联系,服务人员可以在短时间内对取件人进行反馈,迅速解决取件人遇到的问题,提高取件人的用户体验。On this basis, a second interaction area 21 can be added to the pickup message 10, and the second interaction area 21 is associated with the contact information of the service personnel. Wherein, the second interaction area 21 can be set as a button including the words "contact customer service". When the picker clicks on the second interaction area 21, it will connect with the service person according to the contact information of the service person, and the connection method may be a video call, a voice call or a text chat. The setting of the second interaction area can enable the pickup person to communicate with the service staff in real time, and the service staff can give feedback to the pickup person in a short time, quickly solve the problems encountered by the pickup person, and improve the user experience of the pickup person.
在此基础上,可以在取件消息10中添加第三交互区域22,该第三交互区域22与功能模块相关联。当取件人点击第三交互区域22中的任意一个功能模块时,可以通过网络对该功能模块进行访问。该功能模块可以包括“我要下单”模块、“购物商城”模块和“优惠购物”模块等。On this basis, a third interaction area 22 can be added to the pickup message 10, and the third interaction area 22 is associated with a functional module. When the picker clicks on any functional module in the third interaction area 22, the functional module can be accessed through the network. This functional module may include an "I want to place an order" module, a "shopping mall" module, and a "discount shopping" module.
在一实现方式中,当取件人点击第三交互区域22中的“我要下单”模块时,可跳转到寄件下单填写信息页面,当取件人(在此页面为寄件人)填写完寄件人(需实名认证)信息、收件人信息后,云端系统会推荐附件的快递柜供取件人选择,取件人选择快递柜和所要投递的格口大小后,选择快递公司、邮寄物品及数量,提交订单后付款,系统会为该用户锁定预约快递柜的格口。预约格口成功,取件人携带包裹前往快递柜投递,等待快递员揽收即可。In one implementation, when the pickup person clicks on the "I want to place an order" module in the third interaction area 22, he can jump to the page where the order is placed and fill in the information page. When the pickup person (in this page is the Person) After filling in the sender (requires real-name authentication) information and recipient information, the cloud system will recommend the attached express cabinet for the picker to choose. After the picker selects the express cabinet and the size of the grid to be delivered, select Courier company, mailing items and quantity, pay after the order is submitted, the system will lock the slot of the courier cabinet for the user. The appointment is successful, and the picker takes the package to the express cabinet for delivery, and waits for the courier to collect it.
在一实现方式中,当取件人点击第三交互区域22中的“购物商城”模块时,可以跳转到商城页面,在商城页面可浏览商品并放入购物车或者直接购买。In an implementation manner, when the pickup person clicks on the "shopping mall" module in the third interaction area 22, he can jump to the mall page where he can browse the products and put them in the shopping cart or directly purchase.
在一实现方式中,当取件人点击第三交互区域22中的“优惠购物”模块时,可以跳转到优惠页面,在优惠页面可浏览进行打折、特价的商品,可以选择并放入购物车或者直接购买。In one implementation, when the picker clicks on the "Discount Shopping" module in the third interaction area 22, he can jump to the discount page where he can browse for discounted and special offers, and he can select and put them in shopping Car or buy directly.
第三交互区域的设置可以对取件人进行二次转化,可以挖掘取件人的用户价值,实现多渠道采集用户数据。The setting of the third interaction area can carry out secondary conversion to the pickup, and can mine the user value of the pickup, and realize the collection of user data through multiple channels.
S203、根据所述身份信息将所述取件消息通过短信中心平台发送给所述取件人。S203: Send the pickup message to the pickup person through a short message center platform according to the identity information.
在一实现方式中,根据取件人的电话号码将配置好的取件消息通过短信中心平台发送到取件人的取件人设备。In an implementation manner, the configured pickup message is sent to the pickup device of the pickup through the SMS center platform according to the phone number of the pickup.
短信中心平台是由通信运营商直接提供的短信接口,实现与客户指定号码进行短信批量发送和自定义发送的目的。The short message center platform is a short message interface directly provided by the communication operator, which realizes the purpose of batch sending and custom sending of short messages with the number designated by the customer.
由于取件消息通过短信中心平台发送,因此要求取件人设备具有接收短信 的功能,可以是带有SIM卡(Subscriber Identification Module,用户身份识别卡)的移动电话,也可以是带有eSIM卡(Embedded-SIM,嵌入式SIM卡)的其他设备。Since the pickup message is sent through the SMS center platform, the pickup device is required to have the function of receiving SMS. It can be a mobile phone with a SIM card (Subscriber Identification Module, user identification card) or an eSIM card ( Embedded-SIM, embedded SIM card) other devices.
通过短息中心平台进行信息传递可以节约取件人的流量。由于快递柜通常安装于小区较为偏僻的地方,通常网络连接不好,使用短信中心平台进行信息传递保证了信息传递的稳定性,节约了用户的开柜时间。Information transmission through the short message center platform can save the traffic of the picker. Since express cabinets are usually installed in relatively remote areas of the community, the network connection is usually not good, and the use of the SMS central platform for information transmission ensures the stability of information transmission and saves users’ time for opening the cabinet.
S204、接收开柜指令。S204. Receive a cabinet opening instruction.
在一实现方式中,电子设备接收取件人设备发送的开柜指令。In an implementation manner, the electronic device receives the opening instruction sent by the pickup device.
开柜指令通过短信中心平台接收。The opening instruction is received through the SMS center platform.
S205、确定间隔距离符合的条件。S205. Determine the condition that the separation distance meets.
判断间隔距离所符合的条件,这里的条件包括第一距离条件、第二距离条件与第三距离条件。第一距离条件的距离小于第二距离条件的距离,第二距离条件的距离小于第三距离条件的距离。一般的,第一距离条件设置为小于或等于2米;第二距离条件设置为大于2米,小于或等于5米;第三距离条件设置为大于5米。第一距离条件、第二距离条件与第三距离条件如何设置,可以根据本领域技术人员的经验来确定。Determine the condition that the separation distance meets, where the conditions include the first distance condition, the second distance condition, and the third distance condition. The distance of the first distance condition is smaller than the distance of the second distance condition, and the distance of the second distance condition is smaller than the distance of the third distance condition. Generally, the first distance condition is set to be less than or equal to 2 meters; the second distance condition is set to be greater than 2 meters and less than or equal to 5 meters; the third distance condition is set to be greater than 5 meters. How to set the first distance condition, the second distance condition and the third distance condition can be determined according to the experience of those skilled in the art.
S206、当所述间隔距离符合第一距离条件时,控制所述快递柜打开柜门。S206: When the separation distance meets the first distance condition, control the express cabinet to open the cabinet door.
当间隔距离符合第一距离条件时,说明取件人距离快递柜很近,应该打开柜门使得取件人获得快递件。When the separation distance meets the first distance condition, it means that the picker is very close to the express cabinet, and the cabinet door should be opened so that the picker can obtain the express.
快递柜包括多个格口,格口用于存放快递件。打开柜门是指打开存放了取件人的快递件的格口的柜门。The express cabinet includes multiple compartments, which are used to store express items. Opening the cabinet door refers to opening the cabinet door where the express parcel of the pickup person is stored.
在一实现方式中,当取件人有多个快递件存放于不同格口中,快递柜发出提醒信息,以提示取件人切勿遗漏快递件。In an implementation method, when the pickup person has multiple express items stored in different compartments, the express cabinet sends a reminder message to remind the pickup person not to miss the express item.
S207、发送确认消息。所述确认消息包括第二展示界面,所述第二展示界面用于提示取件人所述快递件已被查收。S207. Send a confirmation message. The confirmation message includes a second display interface, and the second display interface is used to prompt the pickup that the express parcel has been checked.
图2C为本申请实施例二提供的一种确认消息的用户界面结构图。本实施例中,确认消息20至少包括第二展示界面23,第二展示界面23用于提示取件人快递件已被查收。2C is a structural diagram of a user interface of a confirmation message provided in the second embodiment of the application. In this embodiment, the confirmation message 20 includes at least a second display interface 23, and the second display interface 23 is used to remind the picker that the parcel has been checked.
第二展示界面23可以显示“您的单号为:XXXXXXXXXX的快递件已被取出。感谢本次使用快递柜。如有疑问,请咨询:XXXXXXXXXXX”等字样。其中,“XXX”表示根据取件人与快递柜而实际填入的信息。The second display interface 23 can display the words "Your order number: XXXXXXXXXX has been taken out. Thank you for using the express cabinet this time. If you have any questions, please consult: XXXXXXXXXXX". Among them, "XXX" represents the information actually filled in according to the picker and the express cabinet.
在此基础上,可以在确认消息20中添加第四交互区域24,可以将第四交互 区域24设置为包括“我要赞赏”字样的按键。当取件人点击第四交互区域24时,会提高快递件的投递人的评分。通过第四交互区域的设置可以对快递件的投递人进行有效评分。On this basis, a fourth interaction area 24 can be added to the confirmation message 20, and the fourth interaction area 24 can be set as a button including the words "I would like to appreciate". When the pickup person clicks on the fourth interaction area 24, the score of the delivery person of the express parcel will be improved. The delivery person of the express parcel can be effectively scored through the setting of the fourth interactive area.
S208、当所述间隔距离符合第二距离条件时,在所述第一展示界面提示取件人靠近所述快递柜。S208: When the separation distance meets the second distance condition, prompt the picker to approach the express cabinet on the first display interface.
当间隔距离符合第二距离条件时,说明取件人距离快递柜较近,但是在存在多个快递柜的情况下,无法准确判断取件人是否在正确的快递柜附近。因此在取件人设备的第一展示界面提示取件人靠近快递柜后再点击“一键开锁”按键。When the separation distance meets the second distance condition, it means that the pickup person is close to the express cabinet, but when there are multiple express cabinets, it is impossible to accurately determine whether the pickup person is near the correct express cabinet. Therefore, the first display interface of the pickup device prompts the pickup person to approach the express cabinet and then click the "one-key unlock" button.
S209、当所述间隔距离符合第三距离条件时,在所述第一展示界面提示取件人所述快递柜的第一位置。S209. When the separation distance meets the third distance condition, prompt the picker to the first position of the express cabinet on the first display interface.
当间隔距离符合第三距离条件时,说明取件人距离快递柜较远,可能是误触或者取件人走错快递柜的情况。因此在取件人设备的第一展示界面提示取件人快递柜的第一位置。When the separation distance meets the third distance condition, it means that the pickup person is far away from the express cabinet, which may be caused by accidental touch or the pickup person went to the wrong express cabinet. Therefore, the first display interface of the pickup device prompts the pickup person of the first position of the express cabinet.
实施例三Example three
图3为本申请实施例三提供的一种打开快递柜的装置的结构图。参考图3,包括:取件消息发送模块31、开柜指令接收模块32、间隔距离确定模块33和柜门打开模块34。FIG. 3 is a structural diagram of a device for opening a express cabinet provided in Embodiment 3 of the application. Referring to FIG. 3, it includes: a pickup message sending module 31, a cabinet opening instruction receiving module 32, a separation distance determining module 33, and a cabinet door opening module 34.
取件消息发送模块31,设置为发送取件消息,所述取件消息包括第一展示界面和第一交互区域,所述第一展示界面用于显示存放取件人的快递件的快递柜和所述快递柜所在的第一位置信息;开柜指令接收模块32,设置为接收开柜指令,所述开柜指令通过所述第一交互区域产生,所述开柜指令包括所述取件人所在的第二位置信息;间隔距离确定模块33,设置为确定间隔距离,所述间隔距离通过第一位置信息与第二位置信息确定;柜门打开模块34,设置为当所述间隔距离符合第一距离条件时,控制所述快递柜打开柜门。The pickup message sending module 31 is configured to send a pickup message. The pickup message includes a first display interface and a first interaction area. The first display interface is used to display the courier cabinet and the courier storing the courier of the pickup person. The first location information where the express cabinet is located; the opening instruction receiving module 32 is configured to receive an opening instruction, the opening instruction is generated through the first interaction area, and the opening instruction includes the pickup person The second location information; the separation distance determination module 33 is set to determine the separation distance, the separation distance is determined by the first location information and the second location information; the cabinet door opening module 34 is set to when the separation distance meets the first When a distance condition occurs, control the express cabinet to open the cabinet door.
本申请实施例提供了:发送取件消息,所述取件消息包括第一展示界面和第一交互区域,所述第一展示界面用于显示存放取件人的快递件的快递柜和所述快递柜所在的第一位置信息;接收开柜指令,所述开柜指令通过所述第一交互区域产生,所述开柜指令包括所述取件人所在的第二位置信息;确定间隔距离,所述间隔距离通过第一位置信息与第二位置信息确定;当所述间隔距离符合第一距离条件时,控制所述快递柜打开柜门。实现了取件人在取件人设备上通过一次触摸即可打开快递柜取出快递件,无需操作快递柜,也无需通过手机 扫描快递柜信息。同时,本实施例不会要求增加快递柜的硬件设备,极大地节约了成本。The embodiment of the application provides: sending a pickup message, the pickup message includes a first display interface and a first interaction area, the first display interface is used to display the express cabinet storing the pickup person’s express parcel and the The first location information where the express cabinet is located; receiving an opening instruction, the opening instruction is generated through the first interaction area, the opening instruction includes the second location information where the pickup person is located; determining the separation distance, The separation distance is determined by the first location information and the second location information; when the separation distance meets the first distance condition, the express cabinet is controlled to open the cabinet door. It is realized that the picker can open the express cabinet to take out the courier with one touch on the picker's device, without operating the express cabinet or scanning the express cabinet information through the mobile phone. At the same time, this embodiment does not require additional hardware equipment of the express cabinet, which greatly saves costs.
在上述实施例的基础上,取件消息发送模块31是设置为:On the basis of the foregoing embodiment, the pickup message sending module 31 is set to:
确定取件人的身份信息,所述身份信息用于匹配取件消息;配置取件消息,所述取件消息包括第一展示界面和第一交互区域,所述第一展示界面显示存放取件人快递件的快递柜和所述快递柜所在的第一位置;根据所述身份信息将所述取件消息通过短信中心平台发送给所述取件人。Determine the identity information of the pickup person, the identity information is used to match the pickup message; configure the pickup message, the pickup message includes a first display interface and a first interaction area, the first display interface displays the storage of the pickup The courier cabinet of the personal courier and the first location where the courier cabinet is located; according to the identity information, the pickup message is sent to the pickup person through the SMS center platform.
在上述实施例的基础上,取件消息发送模块31是设置为通过如下方式配置取件消息:On the basis of the foregoing embodiment, the pickup message sending module 31 is configured to configure the pickup message in the following manner:
在所述取件消息中添加第二交互区域,所述第二交互区域与服务人员的联系信息相关联。A second interaction area is added to the pickup message, and the second interaction area is associated with the contact information of the service personnel.
在上述实施例的基础上,所述开柜指令通过短信中心平台接收。On the basis of the foregoing embodiment, the instruction to open the cabinet is received through the SMS center platform.
在上述实施例的基础上,所述快递柜包括至少两个格口,所述格口包括格口门,所述柜门打开模块34是设置为:On the basis of the foregoing embodiment, the express cabinet includes at least two compartments, the compartments include a compartment door, and the cabinet door opening module 34 is configured to:
从所述快递柜中确定存放取件人的快递件的格口;控制所述格口对应的格口门打开。Determine the compartment for storing the courier of the picker from the express cabinet; control the compartment door corresponding to the compartment to open.
在上述实施例的基础上,还包括:On the basis of the foregoing embodiment, it further includes:
当所述间隔距离符合第二距离条件时,在所述第一展示界面提示取件人靠近所述快递柜;当所述间隔距离符合第三距离条件时,在所述第一展示界面提示取件人所述快递柜的第一位置信息。When the separation distance meets the second distance condition, the pickup person is prompted to approach the express cabinet on the first display interface; when the separation distance meets the third distance condition, the pickup is prompted on the first display interface The first location information of the express cabinet mentioned by the person.
在上述实施例的基础上,所述取件消息还包括第三交互区域,所述第三交互区域与功能模块相关联。On the basis of the foregoing embodiment, the pickup message further includes a third interaction area, and the third interaction area is associated with a functional module.
在上述实施例的基础上,还包括确认消息发送模块,设置为发送确认消息,所述确认消息包括第二展示界面,所述第二展示界面用于提示取件人所述快递件已被查收。On the basis of the foregoing embodiment, it further includes a confirmation message sending module, configured to send a confirmation message, the confirmation message including a second display interface, and the second display interface is used to prompt the picker that the courier has been checked. .
本实施例提供的一种打开快递柜的装置可适用于任一实施例提供的一种打开快递柜的方法,具有相应的功能和效果。The device for opening the express cabinet provided in this embodiment is applicable to the method for opening the express cabinet provided in any embodiment, and has corresponding functions and effects.
实施例四Example four
图4为本申请实施例四提供的一种电子设备的结构示意图。如图4所示,该电子设备包括处理器40、存储器41、通信模块42、输入装置43和输出装置 44;电子设备中处理器40的数量可以是一个或多个,图4中以一个处理器40为例;电子设备中的处理器40、存储器41、通信模块42、输入装置43和输出装置44可以通过总线或其他方式连接,图4中以通过总线连接为例。FIG. 4 is a schematic structural diagram of an electronic device provided in Embodiment 4 of this application. As shown in Figure 4, the electronic device includes a processor 40, a memory 41, a communication module 42, an input device 43, and an output device 44; the number of processors 40 in the electronic device can be one or more. Take the device 40 as an example; the processor 40, the memory 41, the communication module 42, the input device 43, and the output device 44 in the electronic device may be connected by a bus or other means. In FIG. 4, the connection by a bus is taken as an example.
存储器41作为一种计算机可读存储介质,可设置为存储软件程序、计算机可执行程序以及模块,如本实施例中的一种打开快递柜的方法对应的模块(例如,一种打开快递柜的装置中的取件消息发送模块31、开柜指令接收模块32、间隔距离确定模块33和柜门打开模块34)。处理器40通过运行存储在存储器41中的软件程序、指令以及模块,从而执行电子设备的多种功能应用以及数据处理,即实现上述的一种打开快递柜的方法。As a computer-readable storage medium, the memory 41 can be configured to store software programs, computer-executable programs, and modules, such as the modules corresponding to the method of opening the express cabinet in this embodiment (for example, a method for opening the express cabinet) The pickup message sending module 31, the cabinet opening instruction receiving module 32, the separation distance determining module 33 and the cabinet door opening module 34) in the device. The processor 40 executes multiple functional applications and data processing of the electronic device by running the software programs, instructions, and modules stored in the memory 41, that is, realizes the above-mentioned method for opening the express cabinet.
存储器41可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据电子设备的使用所创建的数据等。此外,存储器41可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实例中,存储器41可包括相对于处理器40远程设置的存储器,这些远程存储器可以通过网络连接至电子设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 41 may mainly include a program storage area and a data storage area. The program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created according to the use of the electronic device. In addition, the memory 41 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some examples, the memory 41 may include a memory remotely provided with respect to the processor 40, and these remote memories may be connected to the electronic device through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
通信模块42,设置为与显示屏建立连接,并实现与显示屏的数据交互。输入装置43可设置为接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。The communication module 42 is configured to establish a connection with the display screen and realize data interaction with the display screen. The input device 43 may be configured to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device.
本实施例提供的一种电子设备,可执行本申请任一实施例提供的打开快递柜的方法,具备相应的功能和效果。The electronic device provided in this embodiment can execute the method for opening the express cabinet provided in any embodiment of the present application, and has corresponding functions and effects.
实施例五Example five
图5为本申请实施例五提供的一种打开快递柜的系统的结构图。如图5所述,该系统包括:取件人设备51、快递柜53和电子设备52;所述电子设备52向所述取件人设备51发送取件消息,取件消息包括第一展示界面和第一交互区域,所述第一展示界面用于显示存放取件人的快递件的快递柜53和所述快递柜53所在的第一位置,其中,所述取件消息通过短信中心平台发送;所述取件人设备51向所述电子设备52发送开柜指令,所述开柜指令通过所述第一交互区域产生,所述开柜指令包括所述取件人所在的第二位置信息,其中,所述开柜指令通过短信中心平台发送;所述电子设备52根据所述第一位置信息和所述第二位置信息确定间隔距离;当所述间隔距离符合第一距离条件时,所述电子设备52控制所述快递柜53打开柜门。Fig. 5 is a structural diagram of a system for opening express cabinets provided in the fifth embodiment of the application. As shown in Figure 5, the system includes: a pickup device 51, an express cabinet 53, and an electronic device 52; the electronic device 52 sends a pickup message to the pickup device 51, and the pickup message includes a first display interface In the first interaction area, the first display interface is used to display the express cabinet 53 storing the express parcels of the pickup person and the first position where the express cabinet 53 is located, wherein the pickup message is sent through the SMS center platform The pickup device 51 sends an opening instruction to the electronic device 52, the opening instruction is generated through the first interaction area, and the opening instruction includes the second location information where the pickup is located , Wherein the opening instruction is sent through the short message center platform; the electronic device 52 determines the separation distance according to the first location information and the second location information; when the separation distance meets the first distance condition, the The electronic device 52 controls the express cabinet 53 to open the cabinet door.
本实施例提供的系统可以适用于上述任意实施例提供的打开快递柜的装置,具备相应的功能和效果。The system provided in this embodiment can be applied to the device for opening the express cabinet provided in any of the foregoing embodiments, and has corresponding functions and effects.