技术领域Technical field
本发明涉及储物柜技术领域,尤其涉及一种储物柜的通信方法和装置。The present invention relates to the technical field of lockers, and in particular, to a communication method and device for a locker.
背景技术Background technique
目前,人们经常会用物品存取柜,例如外卖取餐、快递取件、超市存包和火车站存包等。储物柜的存取严重依赖于设备本身网络,网络一旦出现问题会造成用户无法进行正常的取放物品。目前储物柜基本使用物联网卡提供基础网络服务,而物联网卡的网络优先级低于4G、5G网络服务,在争取网络资源时,会被自动网络服务降级,导致储物柜的存取服务出现短时间延迟甚至异常。At present, people often use lockers to deposit and withdraw items, such as taking out food, courier pickup, supermarket bag storage and train station bag storage, etc. The access to lockers relies heavily on the network of the device itself. Once there is a problem with the network, users will be unable to access items normally. At present, lockers basically use IoT cards to provide basic network services. However, the network priority of IoT cards is lower than 4G and 5G network services. When competing for network resources, they will be automatically downgraded by network services, causing locker access problems. The service may experience short-term delays or even abnormalities.
发明内容Contents of the invention
有鉴于此,本发明实施例提供了一种储物柜的通信方法和装置,降低储物柜的通信延迟,减少通信数据异常的情况,提高储物柜的响应速度和稳定性。In view of this, embodiments of the present invention provide a communication method and device for a locker, which can reduce the communication delay of the locker, reduce abnormal communication data, and improve the response speed and stability of the locker.
第一方面,本发明实施例提供了一种储物柜的通信方法,所述方法包括:In a first aspect, an embodiment of the present invention provides a communication method for a locker. The method includes:
初始化网络模式为单网络模式,在所述单网络模式下,通过第一网络与服务器进行通信;Initialize the network mode to a single network mode, and in the single network mode, communicate with the server through the first network;
从服务器获取与所述储物柜对应的第二网络的可用状态;以及Obtain the availability status of the second network corresponding to the locker from the server; and
响应于存在可用的第二网络,将所述网络模式切换为双网络模式,在所述双网络模式下,通过所述第一网络和所述第二网络与所述服务器进行通信;In response to the existence of an available second network, switching the network mode to a dual network mode, in which communication is performed with the server through the first network and the second network;
其中,所述第一网络为移动数据网络,所述第二网络为无线局域网。Wherein, the first network is a mobile data network, and the second network is a wireless local area network.
在一些实施例中,所述将所述网络模式切换为双网络模式具体为:In some embodiments, the switching of the network mode to the dual network mode is specifically:
响应于存在可用的第二网络,运行双网络模式的启动脚本,以将所述网络模式切换为双网络模式。In response to the presence of an available second network, a startup script for dual network mode is run to switch the network mode to dual network mode.
在一些实施例中,所述双网络模式的启动脚本包括双网络模式的优先级配置、路由表和策略;In some embodiments, the startup script of the dual network mode includes the priority configuration, routing table and policy of the dual network mode;
其中,所述优先级配置用于使得所述第一网络和所述第二网络共存;Wherein, the priority configuration is used to enable the first network and the second network to coexist;
所述路由表和策略用于使得第一网络和第二网络同时上网。The routing table and policy are used to enable the first network and the second network to access the Internet at the same time.
在一些实施例中,所述启动脚本通过如下步骤获取:In some embodiments, the startup script is obtained through the following steps:
修改网络的优先级代码,以使得所述第一网络和第二网络共存;Modify the priority code of the network so that the first network and the second network coexist;
修改路由表和策略,以使得所述第一网络和第二网络同时上网;Modify the routing table and policy so that the first network and the second network access the Internet at the same time;
响应于第一网络和第二网络同时上网成功,生成双网络模式配置文件;以及In response to the first network and the second network successfully accessing the Internet at the same time, a dual network mode configuration file is generated; and
根据所述双网络模式配置文件生成所述双网络模式的启动脚本。Generate the startup script of the dual network mode according to the dual network mode configuration file.
在一些实施例中,所述方法还包括:In some embodiments, the method further includes:
响应于不存在可用的第二网络,控制网络模式为单网络模式。In response to no available second network, the network mode is controlled to be a single network mode.
在一些实施例中,所述方法还包括:In some embodiments, the method further includes:
在所述双网络模式下,对所述第一网络和第二网络的数据进行同步。In the dual network mode, data of the first network and the second network are synchronized.
第二方面,本发明实施例提供了一种储物柜的通信装置,所述装置包括:In a second aspect, an embodiment of the present invention provides a communication device for a locker. The device includes:
网络初始化单元,用于初始化网络模式为单网络模式,在所述单网络模式下,通过第一网络与服务器进行通信;A network initialization unit, used to initialize the network mode to a single network mode, and in the single network mode, communicate with the server through the first network;
状态查询单元,用于从服务器获取与所述储物柜对应的第二网络的可用状态;A status query unit configured to obtain the available status of the second network corresponding to the locker from the server;
网络模式切换单元,用于响应于存在可用的第二网络,将所述网络模式切换为双网络模式,在所述双网络模式下,通过所述第一网络和所述第二网络与所述服务器进行通信;A network mode switching unit configured to switch the network mode to a dual network mode in response to the existence of an available second network. In the dual network mode, the first network and the second network are connected to the dual network mode. The server communicates;
其中,所述第一网络为移动数据网络,所述第二网络为无线局域网。Wherein, the first network is a mobile data network, and the second network is a wireless local area network.
在一些实施例中,所述网络模式切换单元具体用于:In some embodiments, the network mode switching unit is specifically used to:
响应于存在可用的第二网络,运行双网络模式的启动脚本,以将所述网络模式切换为双网络模式。In response to the presence of an available second network, a startup script for dual network mode is run to switch the network mode to dual network mode.
在一些实施例中,所述双网络模式的启动脚本包括双网络模式的优先级配置、路由表和策略;In some embodiments, the startup script of the dual network mode includes the priority configuration, routing table and policy of the dual network mode;
其中,所述优先级配置用于使得所述第一网络和所述第二网络共存;Wherein, the priority configuration is used to enable the first network and the second network to coexist;
所述路由表和策略用于使得第一网络和第二网络同时上网。The routing table and policy are used to enable the first network and the second network to access the Internet at the same time.
在一些实施例中,所述装置还包括启动脚本获取单元,用于通过如下步骤获取所述启动脚本:In some embodiments, the device further includes a startup script obtaining unit, configured to obtain the startup script through the following steps:
修改网络的优先级代码,以使得所述第一网络和第二网络共存;Modify the priority code of the network so that the first network and the second network coexist;
修改路由表和策略,以使得所述第一网络和第二网络同时上网;Modify the routing table and policy so that the first network and the second network access the Internet at the same time;
响应于第一网络和第二网络同时上网成功,生成双网络模式配置文件;以及In response to the first network and the second network successfully accessing the Internet at the same time, a dual network mode configuration file is generated; and
根据所述双网络模式配置文件生成所述双网络模式的启动脚本。Generate the startup script of the dual network mode according to the dual network mode configuration file.
在一些实施例中,所述网络模式切换单元还用于:In some embodiments, the network mode switching unit is also used to:
响应于不存在可用的第二网络,控制网络模式为单网络模式。In response to no available second network, the network mode is controlled to be a single network mode.
在一些实施例中,所述装置还包括:In some embodiments, the device further includes:
数据同步单元,用于在所述双网络模式下,对所述第一网络和第二网络的数据进行同步。A data synchronization unit is used to synchronize the data of the first network and the second network in the dual network mode.
第三方面,本发明实施例提供了一种计算机可读存储介质,其上存储计算机程序指令,所述计算机程序指令在被处理器执行时实现如第一方面所述的方法。In a third aspect, embodiments of the present invention provide a computer-readable storage medium on which computer program instructions are stored, and when executed by a processor, the computer program instructions implement the method described in the first aspect.
第四方面,本发明实施例提供了一种电子设备,包括存储器和处理器,所述存储器用于存储一条或多条计算机程序指令,其中,所述一条或多条计算机程序指令被所述处理器执行以实现如第一方面所述的方法。In a fourth aspect, embodiments of the present invention provide an electronic device, including a memory and a processor, the memory being used to store one or more computer program instructions, wherein the one or more computer program instructions are processed by the The processor is executed to implement the method described in the first aspect.
本发明实施例的技术方案通过第一网络与服务器进行通信,并从服务器获取与第二网络的可用状态,在存在可用的第二网络时,通过第一网络和第二网络同时与服务器进行通信。由此,可以降低储物柜的通信延迟,减少通信数据异常的情况,提高储物柜的响应速度和稳定性。The technical solution of the embodiment of the present invention communicates with the server through the first network, obtains the availability status of the second network from the server, and communicates with the server simultaneously through the first network and the second network when there is an available second network. . As a result, the communication delay of the locker can be reduced, abnormal communication data can be reduced, and the response speed and stability of the locker can be improved.
附图说明Description of drawings
通过以下参照附图对本发明实施例的描述,本发明的上述以及其它目的、特征和优点将更为清楚,在附图中:The above and other objects, features and advantages of the present invention will become more apparent from the following description of embodiments of the present invention with reference to the accompanying drawings, in which:
图1是本发明实施例的储物柜系统的示意图;Figure 1 is a schematic diagram of a locker system according to an embodiment of the present invention;
图2是本发明实施例的网络配置的流程图;Figure 2 is a flow chart of network configuration according to an embodiment of the present invention;
图3是本发明实施例的储物柜系统的控制流程图;Figure 3 is a control flow chart of the locker system according to the embodiment of the present invention;
图4是本发明实施例的储物柜的通信方法的流程图;Figure 4 is a flow chart of the communication method of the locker according to the embodiment of the present invention;
图5是本发明实施例的储物柜的通信装置的流程图;Figure 5 is a flow chart of the communication device of the locker according to the embodiment of the present invention;
图6是本发明实施例的电子设备的示意图。Figure 6 is a schematic diagram of an electronic device according to an embodiment of the present invention.
具体实施方式Detailed ways
以下基于实施例对本发明进行描述,但是本发明并不仅仅限于这些实施例。在下文对本发明的细节描述中,详尽描述了一些特定的细节部分。对本领域技术人员来说没有这些细节部分的描述也可以完全理解本发明。为了避免混淆本发明的实质,公知的方法、过程、流程、元件和电路并没有详细叙述。The present invention will be described below based on examples, but the present invention is not limited only to these examples. In the following detailed description of the invention, specific details are set forth. It is possible for a person skilled in the art to fully understand the present invention without these detailed descriptions. In order to avoid obscuring the essence of the present invention, well-known methods, procedures, flows, components and circuits have not been described in detail.
此外,本领域普通技术人员应当理解,在此提供的附图都是为了说明的目的,并且附图不一定是按比例绘制的。Furthermore, those of ordinary skill in the art will appreciate that the drawings provided herein are for illustrative purposes and that the drawings are not necessarily drawn to scale.
除非上下文明确要求,否则在说明书的“包括”、“包含”等类似词语应当解释为包含的含义而不是排他或穷举的含义;也就是说,是“包括但不限于”的含义。Unless the context clearly requires it, the words "including", "includes" and other similar words in the specification should be interpreted as inclusive rather than exclusive or exhaustive; that is, as "including but not limited to".
在本发明的描述中,需要理解的是,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性。此外,在本发明的描述中,除非另有说明,“多个”的含义是两个或两个以上。In the description of the present invention, it should be understood that the terms "first", "second", etc. are used for descriptive purposes only and shall not be understood as indicating or implying relative importance. Furthermore, in the description of the present invention, unless otherwise specified, "plurality" means two or more.
图1是本发明实施例的储物柜系统的示意图。如图1所示,本发明实施例的储物柜系统包括储物柜1和服务器2。其中,储物柜1包括第一通信模块11和第二通信模块12。所述第一通信模块11通过第一网络与服务器2进行通信,所述第二通信模块12通过第二网络与服务器2进行通信。Figure 1 is a schematic diagram of a locker system according to an embodiment of the present invention. As shown in FIG. 1 , the locker system according to the embodiment of the present invention includes a locker 1 and a server 2 . Among them, the locker 1 includes a first communication module 11 and a second communication module 12 . The first communication module 11 communicates with the server 2 through the first network, and the second communication module 12 communicates with the server 2 through the second network.
在本实施例中,储物柜1用于存取物品。In this embodiment, the locker 1 is used to store and retrieve items.
在本实施例中,服务器2可以是独立的服务器,也可以是由多个服务器组成的服务器集群。In this embodiment, server 2 may be an independent server or a server cluster composed of multiple servers.
进一步地,目前储物柜柜通常使用移动数据网卡提供基础网络服务,因此,所述第一通信模块11为移动通信模块,对应地,所述第一网络为移动数据网络。Furthermore, currently lockers usually use mobile data network cards to provide basic network services. Therefore, the first communication module 11 is a mobile communication module, and correspondingly, the first network is a mobile data network.
在一个可选的实现方式中,所述第一通信模块11为5G/4G/3G/2G的移动数据通信模块。对应地,储物柜1还包括与移动数据通信模块搭配的移动数据卡和卡槽,其中,移动数据卡可以是5G/4G/3G/2G的普通卡(例如手机卡),其安装在所述卡槽内。具体地,移动数据卡可以通过插入、贴片、嵌入等方式安装在所述卡槽内。由此,移动数据通信模块和对应的移动通信卡可以为储物柜提供移动通信服务(包括2G、3G、4G、5G),储物柜即可通过移动通信网络与服务器进行通信。In an optional implementation, the first communication module 11 is a 5G/4G/3G/2G mobile data communication module. Correspondingly, the locker 1 also includes a mobile data card and a card slot that are matched with the mobile data communication module. The mobile data card can be a 5G/4G/3G/2G ordinary card (such as a mobile phone card), which is installed in the mobile data communication module. into the card slot. Specifically, the mobile data card can be installed in the card slot by inserting, patching, embedding, etc. Therefore, the mobile data communication module and the corresponding mobile communication card can provide mobile communication services (including 2G, 3G, 4G, 5G) for the locker, and the locker can communicate with the server through the mobile communication network.
在另一个可选的实现方式中,所述第一通信模块11为5G/4G/3G/2G物联网模块。对应地,储物柜1还包括与物联网模块搭配的物联网卡和卡槽,其中,所述物联网卡安装在所述卡槽内。具体地,物联网卡可以通过插入、贴片、嵌入等方式安装在所述卡槽内。其中,物联网卡是由运营商提供的5G/4G/3G/2G卡,采用专用号段和独立网元,可以满足智能硬件和物联网行业对设备联网的管理需求以及移动信息化应用需求,具有价格低、环境适应性强等优势。由此,物联网模块和对应的物联卡可以为储物柜提供移动通信服务(包括2G、3G、4G、5G),储物柜即可通过移动通信网络与服务器进行通信。In another optional implementation, the first communication module 11 is a 5G/4G/3G/2G Internet of Things module. Correspondingly, the locker 1 also includes an IoT card and a card slot matched with the IoT module, wherein the IoT card is installed in the card slot. Specifically, the IoT card can be installed in the card slot by inserting, patching, embedding, etc. Among them, the IoT card is a 5G/4G/3G/2G card provided by the operator. It uses a dedicated number segment and an independent network element, which can meet the management needs of the smart hardware and IoT industries for device networking and mobile information application needs. It has the advantages of low price and strong environmental adaptability. Therefore, the IoT module and the corresponding IoT card can provide mobile communication services (including 2G, 3G, 4G, 5G) for the locker, and the locker can communicate with the server through the mobile communication network.
应理解,上述列举的第一通信模块仅为本发明实施例的一个示例,本发明实施例对此不作限制,第一通信模块可以基于现有的各种方式实现,例如,第一通信模块11也可以是GSM(Global System for Mobile Communications,全球移动通信系统)模块、GPRS(General packet radio service,通用无线分组业务)模块、eMTC(LTE enhanced MTO,增强机器类通信)模块、NB-IoT(Narrow Band Internet of Things,窄带物联网)模块等。It should be understood that the first communication module listed above is only an example of the embodiment of the present invention, and the embodiment of the present invention does not limit this. The first communication module can be implemented based on various existing methods, for example, the first communication module 11 It can also be a GSM (Global System for Mobile Communications, global mobile communications system) module, GPRS (General packet radio service, general wireless packet service) module, eMTC (LTE enhanced MTO, enhanced machine type communications) module, NB-IoT (Narrow Band Internet of Things, narrowband Internet of Things) modules, etc.
进一步地,所述第二通信模块12为无线局域网模块,对应地,所述第二网络为无线局域网络。Further, the second communication module 12 is a wireless local area network module, and correspondingly, the second network is a wireless local area network.
在一个具体的实现方式中,所述第二通信模块12为Wi-Fi(无线网络通信技术)模块。Wi-Fi又称作“行动热点”,是Wi-Fi联盟制造商的商标做为产品的品牌认证,是一个创建于IEEE 802.11标准的无线局域网技术。通常是通过无线路由器发送电波,在无线路由器的电波覆盖的有效范围都可以采用Wi-Fi连接方式进行联网,进而进行无线通信。In a specific implementation manner, the second communication module 12 is a Wi-Fi (wireless network communication technology) module. Wi-Fi, also known as "mobile hotspot", is a trademark of the Wi-Fi Alliance manufacturers as a product brand certification. It is a wireless LAN technology created in the IEEE 802.11 standard. Radio waves are usually sent through a wireless router. Within the effective range covered by the radio waves of the wireless router, Wi-Fi connection can be used for networking and wireless communication.
应理解,上述列举的第二通信模块仅为本发明实施例的一个示例,本发明实施例对此不作限制,第二通信模块可以基于现有的各种方式实现,例如,第二通信模块12也可以是蓝牙模块。It should be understood that the second communication module listed above is only an example of the embodiment of the present invention, and the embodiment of the present invention is not limited thereto. The second communication module can be implemented based on various existing methods, for example, the second communication module 12 It can also be a Bluetooth module.
由此,储物柜1即可通过第一网络和第二网络与服务器2进行通信。Thus, the locker 1 can communicate with the server 2 through the first network and the second network.
进一步地,本发明实施例的储物柜可以在单网络模式,也可以工作在双网络模式。其中,单网络模式是指储物柜通过一种网络与服务器进行通信,本发明实施例以储物柜通过第一网络与服务器进行通信为例进行说明。双网络模式是指储物柜可以同时通过第一网络和第二网络与服务器进行通信。Furthermore, the locker in the embodiment of the present invention can operate in a single network mode or a dual network mode. The single network mode refers to that the locker communicates with the server through a network. The embodiment of the present invention takes the locker communicating with the server through the first network as an example for explanation. Dual network mode means that the locker can communicate with the server through the first network and the second network at the same time.
在所述单网络或双网络模式下,储物柜与服务器之间的通信数据可以为服务器向储物柜发送的控制指令,例如,开启柜门的指令、关闭柜门的指令等。也可以是储物柜向服务器发送的状态数据,例如,各个柜格是否放置有物品、各个柜格正在执行的动作(开门或关门等)、储物柜损坏等异常状态等。In the single network or dual network mode, the communication data between the locker and the server may be control instructions sent by the server to the locker, for example, an instruction to open the cabinet door, an instruction to close the cabinet door, etc. It can also be the status data sent by the locker to the server, for example, whether there are items placed in each cabinet, the action being performed by each cabinet (opening or closing the door, etc.), abnormal status such as damage to the locker, etc.
进一步地,服务器2为AIoT(Artificial Intelligence&Internet of Things,人工智能物联网)服务平台。其中,AIoT融合AI(Artificial Intelligence,人工智能)技术和IoT(Internet of Things,物联网)技术,通过物联网产生、收集来自不同维度的、海量的数据存储于云端、边缘端,再通过大数据分析,以及更高形式的人工智能,实现万物数据化、万物智联化。在该体系内,实现了不同智能终端设备之间、不同系统平台之间、不同应用场景之间的互融互通,万物互融。Further, server 2 is an AIoT (Artificial Intelligence & Internet of Things) service platform. Among them, AIoT combines AI (Artificial Intelligence, artificial intelligence) technology and IoT (Internet of Things, Internet of Things) technology to generate and collect massive data from different dimensions through the Internet of Things and store it in the cloud and edge, and then through big data Analysis, as well as higher forms of artificial intelligence, realize the digitalization of everything and the intelligentization of everything. Within this system, the interoperability between different intelligent terminal devices, different system platforms, and different application scenarios is realized, and everything is interoperable.
进一步地,AIoT可以提供高效、可视化的批量管理设备管理功能,管理的设备范围涉及传感器、微控制器以及功能强大的路由设备组通信的网关等。由此,在储物柜的控制中,可以实现对大量的储物柜以及储物柜中的传感器、控制器等设备进行管理。同时,AIoT还可以通过安装在储物柜上的传感器采集数据,然后通过仿真手段预测设备未来运行情况,从而采取预防性维护,降低宕机风险、缩短停机时间。而且。AIoT还支持多种协议,多种网络、多平台、多地域的设备快速接入,网络有2G、3G、4G、5G、NB-IoT、LoRa和Wi-Fi等,通讯协议有MQTT、CoAP、HTTP等。Furthermore, AIoT can provide efficient and visual batch management of device management functions. The scope of managed devices involves sensors, microcontrollers, and powerful gateways for routing device group communications. Therefore, in the control of lockers, it is possible to manage a large number of lockers and the sensors, controllers and other equipment in the lockers. At the same time, AIoT can also collect data through sensors installed on lockers, and then predict the future operation of the equipment through simulation, thereby taking preventive maintenance, reducing the risk of downtime and shortening downtime. and. AIoT also supports multiple protocols, allowing quick access to devices from multiple networks, multiple platforms, and multiple regions. Networks include 2G, 3G, 4G, 5G, NB-IoT, LoRa and Wi-Fi, etc. Communication protocols include MQTT, CoAP, HTTP etc.
在本实施例中,储物柜1配置有预定的操作系统,通过操作系统对网络进行配置。In this embodiment, the locker 1 is configured with a predetermined operating system, and the network is configured through the operating system.
在一个具体的实现方式中,储物柜1配置的操作系统为Android(安卓)系统,Android是一种基于Linux内核的自由及开放源代码的操作系统,可以适用于智能手机、平板电脑、电视、数码相机、游戏机、智能手表等各种智能设备,本发明实施例将其配置在储物柜。In a specific implementation, the operating system configured in locker 1 is Android. Android is a free and open source operating system based on the Linux kernel, which can be applied to smartphones, tablets, and TVs. , digital cameras, game consoles, smart watches and other smart devices, which are arranged in lockers in embodiments of the present invention.
应理解,本发明实施例对储物柜的操作系统不做限制,其可以通过现有的各种操作系统实现,例如,windows操作系统、liunx操作系统、ios操作系统等。It should be understood that the embodiment of the present invention does not limit the operating system of the locker, which can be implemented by various existing operating systems, such as windows operating system, liunx operating system, ios operating system, etc.
以Android系统为例进行说明,在默认情况下,当一个网络连网时,另一个网络的连接会被强制断开,也即两个网络不能共存。由此,本发明实施例需要对网络进行配置,以使得第一网络和第二网络共存。Taking the Android system as an example, by default, when one network is connected, the connection to the other network will be forcibly disconnected, that is, the two networks cannot coexist. Therefore, the embodiment of the present invention requires configuring the network so that the first network and the second network coexist.
具体地,配置网络的流程可参照图2,具体包括如下步骤:Specifically, the process of configuring the network can refer to Figure 2, which specifically includes the following steps:
步骤S110、修改网络的优先级代码。Step S110: Modify the priority code of the network.
在本实施例中,通常情况下,Android系统默认Wi-Fi的优先级高于4G,由此,当系统连接Wi-Fi时,4G会被断开。由此,需要通过修改Android系统的优先级代码,使得4G的优先级高于Wi-Fi,同时,去除新网络加入时原始android系统会根据网络优先级关闭已存在网络的动作,以增加网络共存。由此,可以使得Wi-Fi和4G网络共存,跳过切断其它网络的动作。In this embodiment, under normal circumstances, the default priority of Wi-Fi in the Android system is higher than 4G. Therefore, when the system is connected to Wi-Fi, 4G will be disconnected. Therefore, it is necessary to modify the priority code of the Android system so that 4G has a higher priority than Wi-Fi. At the same time, when a new network is added, the original Android system will close the existing network based on the network priority to increase network coexistence. . This allows Wi-Fi and 4G networks to coexist, skipping the action of cutting off other networks.
进一步地,通过修改Android系统的framwork(框架)以对网络进行配置。Further, the network is configured by modifying the framework of the Android system.
具体地,Android系统的网络连接管理系统包括ConnectivityService(连接服务)、NetworkManagementService(网络管理服务)、NetworkStatsService(网络统计服务)和NetworkPolicyManagerService(网络策略管理服务)组成,这四个部分共同配合完成网络的连接管理服务。其中,ConnectivityService提供数据连接管理服务,NetworkPolicyManagerService提供网络策略管理服务,NetworkStatsService提供网络传输数据统计服务,NetworkManagementService提供对物理网络接口的管理服务。Specifically, the network connection management system of the Android system consists of ConnectivityService (connection service), NetworkManagementService (network management service), NetworkStatsService (network statistics service) and NetworkPolicyManagerService (network policy management service). These four parts work together to complete the network connection Management services. Among them, ConnectivityService provides data connection management services, NetworkPolicyManagerService provides network policy management services, NetworkStatsService provides network transmission data statistics services, and NetworkManagementService provides management services for physical network interfaces.
NetworkPolicyManagerService维护网络使用策略,策略可以从一个策略文件读取。也可以通过NetworkPolicyManager对外提供的设置策略接口进行设置,NetworkPolicyManagerService能够根据这些设置或从策略文件中读取的策略控制网络连接。NetworkPolicyManagerService maintains network usage policies, which can be read from a policy file. It can also be set through the setting policy interface provided by NetworkPolicyManager. NetworkPolicyManagerService can control network connections based on these settings or policies read from the policy file.
ConnectivityService实现对系统的所有数据连接进行管理,包括物理连接、虚拟连接以及共享连接。ConnectivityService manages all data connections of the system, including physical connections, virtual connections and shared connections.
进一步地,android系统默认情况下,当一个网络连网时,另一个网络的连接会被强制断开,由此,为了满足第一网络和第二网络同时上网的要求,需要修改android的网络管理机制,以实现当一个网络连网时,另一个网络不被强制断开。Furthermore, by default in the Android system, when one network is connected, the connection to the other network will be forcibly disconnected. Therefore, in order to meet the requirements of the first network and the second network to access the Internet at the same time, the network management of Android needs to be modified. Mechanism to ensure that when one network is connected, the other network will not be forcibly disconnected.
在一个具体实现方式中,可以通过对ConnectivityService的代码进行配置,以使得两个网络可以同时连接。这样使得当一个网络连网时,另一个网络不被强制断开。In a specific implementation, the code of ConnectivityService can be configured so that two networks can be connected at the same time. This prevents the other network from being forcibly disconnected when one network is connected.
不同的Android版本改动方式有所不同,本发明实施例在此不再赘述。Different Android versions have different modification methods, and the embodiments of the present invention will not be repeated here.
步骤S120、修改路由表和策略,以使得第一网络和第二网络同时上网。Step S120: Modify the routing table and policy so that the first network and the second network access the Internet at the same time.
在本实施例中,在步骤S110的配置之后,虽然4G和Wi-Fi可以共存,但实际上只能通过其中一种网络上网,由此,通过修改路由表和策略,以使得第一网络和第二网络可以同时上网。In this embodiment, after the configuration in step S110, although 4G and Wi-Fi can coexist, the Internet can actually only be accessed through one of the networks. Therefore, the routing table and policy are modified so that the first network and The second network can access the Internet at the same time.
Android系统维护多个路由表及一个策略表,策略表定义了各路由表的使用策略,每条策略包含一个优先级,路由表是一个存储在路由器或者联网计算机中的电子表格(文件)或类数据库,存储着指向特定网络地址的路径。The Android system maintains multiple routing tables and a policy table. The policy table defines the usage policy of each routing table. Each policy contains a priority. The routing table is a spreadsheet (file) or class stored in a router or networked computer. A database that stores paths to specific network addresses.
步骤S130、响应于第一网络和第二网络同时上网成功,生成双网络模式配置文件。Step S130: In response to the first network and the second network successfully accessing the Internet at the same time, a dual network mode configuration file is generated.
在本实施例中,当第一网络和第二网络同时上网成功时,生成双网络模式配置文件,包括了需要共存的网络信息、与之相关的参数信息等。In this embodiment, when the first network and the second network successfully access the Internet at the same time, a dual network mode configuration file is generated, including network information that needs to coexist, parameter information related to it, etc.
步骤S140、根据所述双网络模式配置文件生成所述双网络模式的启动脚本。Step S140: Generate a startup script for the dual network mode according to the dual network mode configuration file.
在本实施例中,将上述双网络模式配置文件,按照按特定格式生成对应的启动脚本。以使得响应于存在可用的第二网络,运行启动脚本,以通过所述第一网络和第二网络与所述服务器进行通信。In this embodiment, the above dual network mode configuration file is used to generate a corresponding startup script in a specific format. Such that in response to the presence of the second network being available, a startup script is run to communicate with the server over the first network and the second network.
由此,即可完成对双网络同时连接的配置。From this, you can complete the configuration of dual network connections at the same time.
进一步地,图3是本发明实施例的储物柜的通信方法的流程图。在图3所示的实施例中,储物柜的通信方法包括如下步骤:Further, FIG. 3 is a flow chart of the communication method of the locker according to the embodiment of the present invention. In the embodiment shown in Figure 3, the communication method of the locker includes the following steps:
步骤S210、储物柜开机。Step S210: Start the locker.
在本实施例中,储物柜开机是储物柜的操作系统重启。In this embodiment, starting the locker means restarting the operating system of the locker.
步骤S220、初始化通过第一网络与服务器进行通信。Step S220: Initialize communication with the server through the first network.
在本实施例中,在储物柜开机后,启动网络连接的应用程序,根据网络的优先级配置,通过优先级较高的第一网络与服务器进行通信。In this embodiment, after the locker is turned on, the network connection application is started, and according to the priority configuration of the network, the server communicates with the server through the first network with a higher priority.
进一步地,由于可能存在没有Wi-Fi覆盖的环境,由此,通过对网络进行配置,使得在开机时自动连接4G网络,通过4G网络与服务器进行通信。Furthermore, since there may be an environment without Wi-Fi coverage, the network is configured so that it automatically connects to the 4G network when it is turned on, and communicates with the server through the 4G network.
步骤S230、向服务器查询第二网络的可用状态。Step S230: Query the server for the availability status of the second network.
在本实施例中,储物柜通过第一网络与服务器建立连接,从服务器中获取第二网络的可用状态。所述可用状态包括存在可用第二网络和不存在可用第二网络。In this embodiment, the locker establishes a connection with the server through the first network and obtains the availability status of the second network from the server. The available status includes the presence of an available second network and the absence of an available second network.
进一步地,在通过第一网络与服务器建立通信连接后,通过第一网络向服务器发送查询请求,服务器接收到查询请求后,向储物柜返回可用状态。Further, after establishing a communication connection with the server through the first network, a query request is sent to the server through the first network. After receiving the query request, the server returns an available status to the locker.
具体地,服务器预先存储各个储物柜或者储物柜站点的网络状态,所述网络状态至少包括第二网络的可用状态。由此,当接收到查询请求后,根据储物柜标识查询对应的网络状态,以获取第二网络的可用状态,并通过第一网络发送至储物柜。Specifically, the server pre-stores the network status of each locker or locker site, and the network status at least includes the available status of the second network. Therefore, after receiving the query request, the corresponding network status is queried according to the locker identification to obtain the available status of the second network and send it to the locker through the first network.
步骤S240、检测第二网络是否可用。Step S240: Check whether the second network is available.
在本实施例中,储物柜根据接收到的服务器发送的可用状态,检测第二网络是否可用。In this embodiment, the locker detects whether the second network is available based on the received availability status sent by the server.
步骤S250、响应于不存在可用的第二网络,通过所述第一网络与所述服务器进行通信。Step S250: In response to the absence of an available second network, communicate with the server through the first network.
在本实施例中,如果没有可用的第二网络,则通过第一网络与服务器通信。In this embodiment, if there is no second network available, communication with the server is performed through the first network.
步骤S260、响应于存在可用的第二网络,通过所述第一网络和第二网络与所述服务器进行通信。Step S260: In response to the existence of an available second network, communicate with the server through the first network and the second network.
在本实施例中,如果存在可用的第二网络,则切换为双网络通信模式,在双网络通信模式下,通过第一网络和第二网络同时与服务器进行通信。In this embodiment, if there is an available second network, the system switches to the dual network communication mode. In the dual network communication mode, communication with the server is performed simultaneously through the first network and the second network.
步骤S270、数据同步。Step S270, data synchronization.
在本实施例中,如上所述,在第二模式下,通过第一网络和第二网络同时与服务器进行通信,也即,第一网络和第二网络的进程使用同一份数据资源,为了避免引发数据安全或顺序混乱,本发明试试还对第一网络和第二网络进行进程间数据同步。In this embodiment, as mentioned above, in the second mode, communication is performed with the server through the first network and the second network at the same time, that is, the processes of the first network and the second network use the same data resource. In order to avoid If data security or order confusion occurs, the present invention attempts to perform inter-process data synchronization between the first network and the second network.
进一步地,第一网络和第二网络的进程间数据同步可以基于现有的各种方式实现,本发明实施例对此不作限制。例如,可以通过创建共享的进程队列,Queue(队列)是多进程安全的队列,可以使用Queue实现多进程之间的数据传递。由此,可以避免两个网络中相同数据的重复发送,同时,还可以避免在一种网络数据丢失时,可以通过另一种网络进行数据传输。Furthermore, inter-process data synchronization between the first network and the second network can be implemented based on various existing methods, and the embodiment of the present invention does not limit this. For example, you can create a shared process queue. Queue is a multi-process safe queue. You can use Queue to transfer data between multiple processes. This can avoid repeated transmission of the same data in two networks. At the same time, it can also avoid data transmission through another network when data is lost on one network.
图4是本发明实施例的储物柜的通信方法的流程图。在图4所示的实施例中,通信方法包括如下步骤:Figure 4 is a flow chart of a communication method for a locker according to an embodiment of the present invention. In the embodiment shown in Figure 4, the communication method includes the following steps:
步骤S210、初始化网络模式为单网络模式,在所述单网络模式下,通过第一网络与服务器进行通信。Step S210: Initialize the network mode to a single network mode. In the single network mode, communicate with the server through the first network.
步骤S220、从服务器获取与所述储物柜对应的第二网络的可用状态。Step S220: Obtain the availability status of the second network corresponding to the locker from the server.
步骤S230、响应于存在可用的第二网络,将所述网络模式切换为双网络模式,在所述双网络模式下,通过所述第一网络和所述第二网络与所述服务器进行通信;Step S230: In response to the existence of an available second network, switch the network mode to a dual network mode. In the dual network mode, communicate with the server through the first network and the second network;
其中,所述第一网络为移动数据网络,所述第二网络为无线局域网。Wherein, the first network is a mobile data network, and the second network is a wireless local area network.
在一些实施例中,所述将所述网络模式切换为双网络模式具体为:In some embodiments, the switching of the network mode to the dual network mode is specifically:
响应于存在可用的第二网络,运行双网络模式的启动脚本,以将所述网络模式切换为双网络模式。In response to the presence of an available second network, a startup script for dual network mode is run to switch the network mode to dual network mode.
在一些实施例中,所述双网络模式的启动脚本包括双网络模式的优先级配置、路由表和策略;In some embodiments, the startup script of the dual network mode includes the priority configuration, routing table and policy of the dual network mode;
其中,所述优先级配置用于使得所述第一网络和所述第二网络共存;Wherein, the priority configuration is used to enable the first network and the second network to coexist;
所述路由表和策略用于使得第一网络和第二网络同时上网。The routing table and policy are used to enable the first network and the second network to access the Internet at the same time.
在一些实施例中,所述启动脚本通过如下步骤获取:In some embodiments, the startup script is obtained through the following steps:
修改网络的优先级代码,以使得所述第一网络和第二网络共存;Modify the priority code of the network so that the first network and the second network coexist;
修改路由表和策略,以使得所述第一网络和第二网络同时上网;Modify the routing table and policy so that the first network and the second network access the Internet at the same time;
响应于第一网络和第二网络同时上网成功,生成双网络模式配置文件;以及In response to the first network and the second network successfully accessing the Internet at the same time, a dual network mode configuration file is generated; and
根据所述双网络模式配置文件生成所述双网络模式的启动脚本。Generate the startup script of the dual network mode according to the dual network mode configuration file.
在一些实施例中,所述方法还包括:In some embodiments, the method further includes:
响应于不存在可用的第二网络,控制网络模式为单网络模式。In response to no available second network, the network mode is controlled to be a single network mode.
在一些实施例中,所述方法还包括:In some embodiments, the method further includes:
在所述双网络模式下,对所述第一网络和第二网络的数据进行同步。In the dual network mode, data of the first network and the second network are synchronized.
本发明实施例通过第一网络与服务器进行通信,并从服务器获取与第二网络的可用状态,在存在可用的第二网络时,通过第一网络和第二网络同时与服务器进行通信。由此,可以降低储物柜的通信延迟,减少通信数据异常的情况,提高储物柜的响应速度和稳定性。The embodiment of the present invention communicates with the server through the first network, obtains the availability status of the second network from the server, and communicates with the server simultaneously through the first network and the second network when there is an available second network. As a result, the communication delay of the locker can be reduced, abnormal communication data can be reduced, and the response speed and stability of the locker can be improved.
图5是本发明实施例的储物柜的通信装置的示意图。在图5所示的实施例中,通信装置包括网络初始化单元51、状态查询单元52和网络模式切换单元53。其中,网络初始化单元51用于初始化网络模式为单网络模式,在所述单网络模式下,通过第一网络与服务器进行通信。状态查询单元52用于从服务器获取与所述储物柜对应的第二网络的可用状态。网络模式切换单元53用于响应于存在可用的第二网络,将所述网络模式切换为双网络模式,在所述双网络模式下,通过所述第一网络和所述第二网络与所述服务器进行通信。其中,所述第一网络为移动数据网络,所述第二网络为无线局域网。Figure 5 is a schematic diagram of a communication device of a locker according to an embodiment of the present invention. In the embodiment shown in FIG. 5 , the communication device includes a network initialization unit 51 , a status query unit 52 and a network mode switching unit 53 . Among them, the network initialization unit 51 is used to initialize the network mode to a single network mode. In the single network mode, communication with the server is performed through the first network. The status query unit 52 is used to obtain the available status of the second network corresponding to the locker from the server. The network mode switching unit 53 is configured to switch the network mode to a dual network mode in response to the existence of an available second network. In the dual network mode, the first network and the second network are connected to the dual network mode. server communicates. Wherein, the first network is a mobile data network, and the second network is a wireless local area network.
在一些实施例中,所述网络模式切换单元具体用于:In some embodiments, the network mode switching unit is specifically used to:
响应于存在可用的第二网络,运行双网络模式的启动脚本,以将所述网络模式切换为双网络模式。In response to the presence of an available second network, a startup script for dual network mode is run to switch the network mode to dual network mode.
在一些实施例中,所述双网络模式的启动脚本包括双网络模式的优先级配置、路由表和策略;In some embodiments, the startup script of the dual network mode includes the priority configuration, routing table and policy of the dual network mode;
其中,所述优先级配置用于使得所述第一网络和所述第二网络共存;Wherein, the priority configuration is used to enable the first network and the second network to coexist;
所述路由表和策略用于使得第一网络和第二网络同时上网。The routing table and policy are used to enable the first network and the second network to access the Internet at the same time.
在一些实施例中,所述装置还包括启动脚本获取单元,用于通过如下步骤获取所述启动脚本:In some embodiments, the device further includes a startup script obtaining unit, configured to obtain the startup script through the following steps:
修改网络的优先级代码,以使得所述第一网络和第二网络共存;Modify the priority code of the network so that the first network and the second network coexist;
修改路由表和策略,以使得所述第一网络和第二网络同时上网;Modify the routing table and policy so that the first network and the second network access the Internet at the same time;
响应于第一网络和第二网络同时上网成功,生成双网络模式配置文件;以及In response to the first network and the second network successfully accessing the Internet at the same time, a dual network mode configuration file is generated; and
根据所述双网络模式配置文件生成所述双网络模式的启动脚本。Generate the startup script of the dual network mode according to the dual network mode configuration file.
在一些实施例中,所述网络模式切换单元还用于:In some embodiments, the network mode switching unit is also used to:
响应于不存在可用的第二网络,控制网络模式为单网络模式。In response to no available second network, the network mode is controlled to be a single network mode.
在一些实施例中,所述装置还包括:In some embodiments, the device further includes:
数据同步单元,用于在所述双网络模式下,对所述第一网络和第二网络的数据进行同步。A data synchronization unit is used to synchronize the data of the first network and the second network in the dual network mode.
本发明实施例通过第一网络与服务器进行通信,并从服务器获取与第二网络的可用状态,在存在可用的第二网络时,通过第一网络和第二网络同时与服务器进行通信。由此,可以降低储物柜的通信延迟,减少通信数据异常的情况,提高储物柜的响应速度和稳定性。The embodiment of the present invention communicates with the server through the first network, obtains the availability status of the second network from the server, and communicates with the server simultaneously through the first network and the second network when there is an available second network. As a result, the communication delay of the locker can be reduced, abnormal communication data can be reduced, and the response speed and stability of the locker can be improved.
图6是本发明实施例的电子设备的示意图。在本实施例中,电子设备包括服务器、终端等。如图6所示,该电子设备:至少包括一个处理器61;以及,与至少一个处理器61通信连接的存储器62;以及,与扫描装置通信连接的通信组件63,通信组件63在处理器61的控制下接收和发送数据;其中,存储器62存储有可被至少一个处理器61执行的指令,指令被至少一个处理器61执行以实现上述通信方法。Figure 6 is a schematic diagram of an electronic device according to an embodiment of the present invention. In this embodiment, electronic devices include servers, terminals, etc. As shown in Figure 6, the electronic device: includes at least one processor 61; and a memory 62 communicatively connected to the at least one processor 61; and a communication component 63 communicatively connected to the scanning device. The communication component 63 is in the processor 61 Receive and send data under the control; wherein, the memory 62 stores instructions that can be executed by at least one processor 61, and the instructions are executed by at least one processor 61 to implement the above communication method.
具体地,该电子设备包括:一个或多个处理器61以及存储器62,图6中以一个处理器61为例。处理器61、存储器62可以通过总线或者其他方式连接,图6中以通过总线连接为例。存储器62作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块。处理器61通过运行存储在存储器62中的非易失性软件程序、指令以及模块,从而执行设备的各种功能应用以及数据处理,即实现上述通信方法。Specifically, the electronic device includes: one or more processors 61 and a memory 62. In FIG. 6, one processor 61 is taken as an example. The processor 61 and the memory 62 can be connected through a bus or other means. In FIG. 6 , the connection through a bus is taken as an example. As a non-volatile computer-readable storage medium, the memory 62 can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The processor 61 executes various functional applications and data processing of the device by running non-volatile software programs, instructions and modules stored in the memory 62, that is, implementing the above communication method.
存储器62可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储选项列表等。此外,存储器62可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器62可选包括相对于处理器61远程设置的存储器,这些远程存储器可以通过网络连接至外接设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 62 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application program required for at least one function; the storage data area may store an option list, etc. In addition, memory 62 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 62 optionally includes memory located remotely relative to the processor 61, and these remote memories can be connected to external devices through a network. Examples of the above-mentioned networks include but are not limited to the Internet, intranets, local area networks, mobile communication networks and combinations thereof.
一个或者多个模块存储在存储器62中,当被一个或者多个处理器61执行时,执行上述任意方法实施例中的通信方法。One or more modules are stored in the memory 62, and when executed by one or more processors 61, perform the communication method in any of the above method embodiments.
上述产品可执行本申请实施例所提供的方法,具备执行方法相应的功能模块和有益效果,未在本实施例中详尽描述的技术细节,可参见本申请实施例所提供的方法。The above-mentioned products can execute the methods provided by the embodiments of this application and have corresponding functional modules and beneficial effects for executing the methods. For technical details not described in detail in this embodiment, please refer to the methods provided by the embodiments of this application.
本发明实施例通过第一网络与服务器进行通信,并从服务器获取与第二网络的可用状态,在存在可用的第二网络时,通过第一网络和第二网络同时与服务器进行通信。由此,可以降低储物柜的通信延迟,减少通信数据异常的情况,提高储物柜的响应速度和稳定性。The embodiment of the present invention communicates with the server through the first network, obtains the availability status of the second network from the server, and communicates with the server simultaneously through the first network and the second network when there is an available second network. As a result, the communication delay of the locker can be reduced, abnormal communication data can be reduced, and the response speed and stability of the locker can be improved.
本发明实施例涉及一种非易失性存储介质,用于存储计算机可读程序,所述计算机可读程序用于供计算机执行上述部分或全部的方法实施例。Embodiments of the present invention relate to a non-volatile storage medium for storing a computer-readable program. The computer-readable program is used for a computer to execute some or all of the above method embodiments.
即,本领域技术人员可以理解,实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-OnlyMemory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。That is, those skilled in the art can understand that all or part of the steps in the methods of the above embodiments can be completed by instructing relevant hardware through a program. The program is stored in a storage medium and includes several instructions to cause a device ( It may be a microcontroller, a chip, etc.) or a processor (processor) that executes all or part of the steps of the methods described in the embodiments of this application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program code.
以上所述仅为本发明的优选实施例,并不用于限制本发明,对于本领域技术人员而言,本发明可以有各种改动和变化。凡在本发明的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210028758.0ACN114364059B (en) | 2022-01-11 | 2022-01-11 | Communication method and device of storage cabinet |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210028758.0ACN114364059B (en) | 2022-01-11 | 2022-01-11 | Communication method and device of storage cabinet |
| Publication Number | Publication Date |
|---|---|
| CN114364059A CN114364059A (en) | 2022-04-15 |
| CN114364059Btrue CN114364059B (en) | 2024-02-23 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210028758.0AActiveCN114364059B (en) | 2022-01-11 | 2022-01-11 | Communication method and device of storage cabinet |
| Country | Link |
|---|---|
| CN (1) | CN114364059B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103491653A (en)* | 2013-05-13 | 2014-01-01 | 上海盛本通讯科技有限公司 | WiFi and 3G coexisting method based on Android intelligent terminal |
| EP2706790A1 (en)* | 2012-08-27 | 2014-03-12 | Deutsche Telekom AG | Network selection and traffic offloading module |
| CN106297046A (en)* | 2015-06-12 | 2017-01-04 | 广州宝物达网络科技有限公司 | The control system of express delivery cabinet |
| CN107426784A (en)* | 2017-06-16 | 2017-12-01 | 贵州近邻宝科技有限公司 | Communication network switching method, video inspection method, express delivery cabinet and other equipment |
| CN108173909A (en)* | 2017-12-15 | 2018-06-15 | 北京臻迪科技股份有限公司 | Method of data synchronization, mobile terminal and computer readable storage medium |
| CN109526020A (en)* | 2018-10-29 | 2019-03-26 | Oppo广东移动通信有限公司 | Data transmission method and Related product |
| CN109743771A (en)* | 2019-01-22 | 2019-05-10 | 苏州长风航空电子有限公司 | A kind of method and its system for realizing that vehicle device is network coexisted |
| CN110232763A (en)* | 2019-06-26 | 2019-09-13 | 深圳市丰巢科技有限公司 | A kind of method, apparatus of pickup, express delivery cabinet and storage medium |
| CN110995867A (en)* | 2019-12-20 | 2020-04-10 | 上海有个机器人有限公司 | Communication system for human-computer interaction and robot |
| CN111327672A (en)* | 2019-12-18 | 2020-06-23 | 珠海奔图电子有限公司 | Data transmission control method, control device and mobile terminal |
| CN112801594A (en)* | 2021-02-19 | 2021-05-14 | 上海中通吉网络技术有限公司 | Terminal pickup method and device and express cabinet |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| GB201604868D0 (en)* | 2016-03-22 | 2016-05-04 | Bybox Holdings Ltd | Automated locker system and method for delivery and collection of packages |
| US11488436B2 (en)* | 2017-01-03 | 2022-11-01 | United Parcel Service Of America, Inc. | Computerized locker banks with enhanced forecasting capabilities |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP2706790A1 (en)* | 2012-08-27 | 2014-03-12 | Deutsche Telekom AG | Network selection and traffic offloading module |
| CN103491653A (en)* | 2013-05-13 | 2014-01-01 | 上海盛本通讯科技有限公司 | WiFi and 3G coexisting method based on Android intelligent terminal |
| CN106297046A (en)* | 2015-06-12 | 2017-01-04 | 广州宝物达网络科技有限公司 | The control system of express delivery cabinet |
| CN107426784A (en)* | 2017-06-16 | 2017-12-01 | 贵州近邻宝科技有限公司 | Communication network switching method, video inspection method, express delivery cabinet and other equipment |
| CN108173909A (en)* | 2017-12-15 | 2018-06-15 | 北京臻迪科技股份有限公司 | Method of data synchronization, mobile terminal and computer readable storage medium |
| CN109526020A (en)* | 2018-10-29 | 2019-03-26 | Oppo广东移动通信有限公司 | Data transmission method and Related product |
| CN109743771A (en)* | 2019-01-22 | 2019-05-10 | 苏州长风航空电子有限公司 | A kind of method and its system for realizing that vehicle device is network coexisted |
| CN110232763A (en)* | 2019-06-26 | 2019-09-13 | 深圳市丰巢科技有限公司 | A kind of method, apparatus of pickup, express delivery cabinet and storage medium |
| CN111327672A (en)* | 2019-12-18 | 2020-06-23 | 珠海奔图电子有限公司 | Data transmission control method, control device and mobile terminal |
| CN110995867A (en)* | 2019-12-20 | 2020-04-10 | 上海有个机器人有限公司 | Communication system for human-computer interaction and robot |
| CN112801594A (en)* | 2021-02-19 | 2021-05-14 | 上海中通吉网络技术有限公司 | Terminal pickup method and device and express cabinet |
| Publication number | Publication date |
|---|---|
| CN114364059A (en) | 2022-04-15 |
| Publication | Publication Date | Title |
|---|---|---|
| CN111865736B (en) | Equipment control method and device | |
| CN109617963B (en) | Device control method, device, and Internet of Things system | |
| US20220052866A1 (en) | Smart home system control method and apparatus, electronic device | |
| CN110659053A (en) | Program updating method, device, storage medium and electronic equipment | |
| EP3165009A1 (en) | Apparatus and method for controlling wireless network access and wireless data traffic | |
| CN107172075B (en) | Communication method, system and readable storage medium based on network isolation | |
| CN112511393A (en) | Equipment linkage control method and device and storage medium | |
| EP4290389B1 (en) | Logical java card runtime environment | |
| KR20090084670A (en) | Two-stage method and system for discovering web service based management services | |
| CN113765885A (en) | Firewall rule synchronization method and device, electronic equipment and storage medium | |
| CN116074372B (en) | Service management method, device and electronic equipment | |
| US10938773B2 (en) | Method and apparatus for synchronizing contact information and medium | |
| CN114157725B (en) | Method, device, server, electronic equipment and storage medium for equipment linkage | |
| CN114364059B (en) | Communication method and device of storage cabinet | |
| CN115514667A (en) | Access service processing method, system, device, electronic device, and storage medium | |
| CN111050356A (en) | Data transmission processing method and device, storage medium and electronic device | |
| RU2693903C1 (en) | Method, apparatus and processing system for expanded port | |
| KR20150088462A (en) | Method for linking network device in cloud environment and apparatus therefor | |
| US9674774B2 (en) | Method and device for binding information | |
| CN116450385B (en) | Watchdog detection method, device and storage medium | |
| US11856066B2 (en) | System and methods for managing physical network functions via orchestration | |
| CN117098014A (en) | Control connection method and device for optical line terminal and management equipment | |
| CN116450390B (en) | Watchdog detection method and electronic device | |
| EP3047660B1 (en) | Method of communicating between a server and a secure element | |
| CN118054983A (en) | Network access equipment control method and device, electronic equipment and storage medium |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |