CN116321523A - Cloud platform, device management method thereof and storage medium - Google Patents

Cloud platform, device management method thereof and storage medium Download PDF

Info

Publication number
CN116321523A
CN116321523A CN202310105197.4A CN202310105197A CN116321523A CN 116321523 A CN116321523 A CN 116321523A CN 202310105197 A CN202310105197 A CN 202310105197A CN 116321523 A CN116321523 A CN 116321523A
Authority
CN
China
Prior art keywords
link
intelligent
cloud platform
intelligent equipment
established
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310105197.4A
Other languages
Chinese (zh)
Inventor
苏湘
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Maojing Artificial Intelligence Technology Co ltd
Original Assignee
Zhejiang Maojing Artificial Intelligence Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Maojing Artificial Intelligence Technology Co ltd filed Critical Zhejiang Maojing Artificial Intelligence Technology Co ltd
Priority to CN202310105197.4A priority Critical patent/CN116321523A/en
Publication of CN116321523A publication Critical patent/CN116321523A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/143Termination or inactivation of sessions, e.g. event-controlled end of session
    • H04L67/145Termination or inactivation of sessions, e.g. event-controlled end of session avoiding end of session, e.g. keep-alive, heartbeats, resumption message or wake-up for inactive or interrupted session
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/03Protecting confidentiality, e.g. by encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/04Key management, e.g. using generic bootstrapping architecture [GBA]
    • H04W12/041Key generation or derivation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/60Context-dependent security
    • H04W12/69Identity-dependent
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/25Maintenance of established connections

Abstract

The embodiment of the specification provides a cloud platform, a device management method thereof and a storage medium, wherein the device management method is suitable for link management of intelligent devices, the intelligent devices support multi-channel communication, and the method comprises the following steps: responding to a link establishment request of intelligent equipment, establishing a communication link with the intelligent equipment, acquiring an identity of the intelligent equipment from the link establishment request, and storing a corresponding relation between the identity of the intelligent equipment and a link identifier of the established communication link with the intelligent equipment so as to maintain the established communication link with the intelligent equipment; the identity of the intelligent device is a unique identity of the intelligent device irrelevant to the link type. According to the scheme, the interconnection stability of the cloud platform and the intelligent equipment can be improved, and processing resources are saved.

Description

Cloud platform, device management method thereof and storage medium
Technical Field
Embodiments of the present disclosure relate to the field of communications technologies, and in particular, to a cloud platform, a device management method thereof, and a storage medium.
Background
Currently, the intelligent home internet of things (Internet of Things, ioT) devices are mainly single communication protocols and single communication channels, but with the increasing demands of people for home intellectualization, more and more intelligent devices supporting various communication protocols (wired communication protocols and/or wireless communication protocols) in the home are used by users, especially, the devices for wireless communication are flexibly installed and deployed, and in addition, the interference between the devices and the IoT intelligent devices of various home devices such as microwave ovens and routers in the home is more and more serious.
In terms of technology, chip design and manufacturing and communication capability are mature, cost is lower, experience of users on the IoT intelligent device is seen more and more in combination with the change of the user scene, and the intelligent device has multi-channel coexistence capability and can guarantee interconnection stability of the intelligent device to the greatest extent. Thus, the use of IoT intelligent devices with multi-channel communication capabilities, such as dual-channel devices supporting simultaneous WiFi and bluetooth channels, multi-channel devices supporting simultaneous WiFi and bluetooth channels, fourth generation mobile communication systems (4G), etc., is now beginning to gradually begin.
At present, management of IoT cloud platforms on IoT intelligent devices basically stays on the level of designing devices facing single-channel communication capability, communication interruption is easy to occur, and switching between different channels is needed, so that a large amount of processing resources are consumed.
The matters in the background section are only those known to the public and do not, of course, represent prior art in the field.
Disclosure of Invention
In view of this, the embodiments of the present disclosure provide a cloud platform, a device management method thereof, and a storage medium, which can improve the stability of interconnection between the cloud platform and an intelligent device, and save processing resources.
Firstly, an embodiment of the present disclosure provides a device management method suitable for a cloud platform, which is suitable for link management of an intelligent device, where the intelligent device supports multi-channel communication, and the method includes:
responding to a link establishment request of intelligent equipment, establishing a communication link with the intelligent equipment, acquiring an identity of the intelligent equipment from the link establishment request, and storing a corresponding relation between the identity of the intelligent equipment and a link identifier of the established communication link with the intelligent equipment so as to maintain the established communication link with the intelligent equipment; the identity of the intelligent device is a unique identity of the intelligent device irrelevant to the link type.
Optionally, the establishing a communication link with the smart device in response to a link establishment request of the smart device includes at least one of:
responding to a link establishment request sent by the intelligent equipment through a wireless router, and establishing an equipment direct link between the intelligent equipment and the intelligent equipment;
and responding to a link establishment request sent by the intelligent equipment through the bridging equipment, and establishing an equipment virtual link between the intelligent equipment and the cloud platform through an established direct link between the cloud platform and the bridging equipment.
Optionally, the responding to the link establishment request sent by the intelligent device through the router establishes a device direct link with the intelligent device, including:
and responding to a Wi-Fi link establishment request sent by the intelligent device through the wireless router, and establishing a Wi-Fi direct link with the intelligent device.
Optionally, the responding to the link establishment request sent by the intelligent device through the bridging device establishes a device virtual link with the intelligent device through the established direct link between the cloud platform and the bridging device, including at least one of the following:
responding to a Bluetooth link establishment request sent by the intelligent equipment through an established gateway direct link between the cloud platform and a gateway, and establishing a Bluetooth virtual link between the intelligent equipment and the intelligent equipment;
responding to a Bluetooth link establishment request sent by the intelligent equipment through an established mobile terminal direct link between the cloud platform and the mobile terminal, and establishing a Bluetooth virtual link between the intelligent equipment and the intelligent equipment;
responding to a ZigBee link establishment request sent by the intelligent equipment through an established gateway direct link between the cloud platform and a gateway, and establishing a ZigBee virtual link between the intelligent equipment and the intelligent equipment;
and responding to a 4G/5G network link establishment request sent by the intelligent equipment through an established gateway direct link between the cloud platform and a gateway, and establishing a 4G/5G network virtual link between the intelligent equipment and the intelligent equipment.
Optionally, the method further comprises: and when receiving message data uploaded by the intelligent equipment through a plurality of communication links, carrying out de-duplication processing on the message data according to the message identification.
Optionally, the method further comprises at least one of:
transmitting data in parallel over a plurality of established communication links with the smart device;
and selecting a communication link with optimal communication quality to transmit data according to the communication quality of the established communication link.
Optionally, the method further comprises: performing bidirectional identity authentication through the stored identity of the intelligent equipment, and generating a secret key when the authentication passes; and encrypting the communication link by adopting the secret key.
Optionally, the method further comprises: and determining the connection state of the established communication link between the cloud platform and the intelligent equipment through heartbeat detection.
The embodiment of the specification also provides a cloud platform, which comprises a memory and a processor, wherein the memory stores a computer program capable of running on the processor, and the processor executes the steps of the device management method according to any of the previous embodiments when running the computer program.
The present specification embodiment also provides a computer readable storage medium having a computer program stored thereon, wherein the computer program when run performs the steps of the device management method according to any of the foregoing embodiments.
By adopting the device management method of the embodiment of the specification, for the cloud platform, as the cloud platform responds to the link establishment request of the intelligent device, when a communication link between the cloud platform and the intelligent device is established, the corresponding relation between the identity of the intelligent device and the link identification of the established communication link between the cloud platform and the intelligent device is stored so as to maintain the established communication link between the cloud platform and the intelligent device, the adoption of the link management method can avoid the phenomenon of mutual kicking when the intelligent device interacts with the cloud platform through different communication links, realize multichannel parallel communication between the cloud platform and the intelligent device, and can maintain the interconnection stability between the cloud platform and the intelligent platform to the greatest extent; in addition, because the identity of the intelligent device is a unique identity which is irrelevant to the link type, for each intelligent device, the cloud platform only needs to store the corresponding relation between the identity of the intelligent device and the link identifier of the established communication link between the intelligent device and the cloud platform, and does not need to respectively establish the corresponding relation between the identity of the corresponding link type of the intelligent device and the corresponding channel of the cloud platform for the link type supported by the intelligent device, so that the link management cost of the cloud platform to the intelligent device can be simplified, and the link management resources can be saved.
Further, by transmitting data in parallel with a plurality of communication links established between the intelligent devices, the reliability of data transmission can be improved.
Further, according to the communication quality of the established communication link, the communication link with the optimal communication quality is selected to transmit data, so that the reliability of data transmission can be improved, and transmission resources can be saved.
Further, the data security can be improved by performing two-way identity authentication through the stored identity of the intelligent device, generating a secret key when the authentication passes, and encrypting the communication link by adopting the secret key.
Further, the connection state of the established communication link between the cloud platform and the intelligent device is determined through heartbeat detection, the link state is maintained, the communication quality of the communication link can be further improved, and the robustness of the link is guaranteed.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present description, the drawings that are required to be used in the embodiments of the present description or the description of the prior art will be briefly described below, and it is obvious that the drawings described below are only some embodiments of the present description, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 shows a schematic view of a device management method suitable for a cloud platform in the prior art.
Fig. 2 shows a flowchart of a device management method suitable for the cloud platform in the embodiment of the present specification.
Fig. 3 is a schematic view of a device management method suitable for a cloud platform according to an embodiment of the present disclosure.
Fig. 4 is a schematic structural diagram of a device management system suitable for a cloud platform in an embodiment of the present disclosure.
Fig. 5 shows a schematic structural diagram of a cloud platform in an embodiment of the present disclosure.
Detailed Description
As described in the background art, chip design and manufacturing and communication capability are also mature in technology, cost is also lower, and experience of users on IoT intelligent devices is more and more seen by combining with changes of user scenes, and the intelligent devices have multi-channel coexistence capability, so that interconnection stability of the intelligent devices can be guaranteed to the greatest extent. Thus, the use of IoT intelligent devices with multi-channel communication capabilities, such as dual-channel devices supporting simultaneous WiFi and bluetooth channels, multi-channel devices supporting simultaneous 4G, wiFi and bluetooth channels, etc., is now beginning to gradually begin.
However, at present, management of IoT cloud platforms on IoT intelligent devices basically stays on the level of designing devices facing single-channel communication capability, existing IoT cloud platforms need to support novel multi-channel devices and generally need to be customized and developed for specific device conditions, and meanwhile, operations such as conversion, routing and the like need to be performed when different links of the multi-channel devices are selected, which consumes more processing resources, affects IoT cloud platform performance and increases operation cost of the IoT cloud platforms.
The existing IoT cloud platform adopts a design framework for single-channel equipment, that is, an intelligent equipment has a unique identity, and the intelligent equipment can only have an end cloud link with the cloud platform. Specifically, referring to a schematic view of a scenario of a device management method suitable for a cloud platform in the prior art shown in fig. 1, the smart device 1A supports, as an example, wi-Fi, bluetooth low energy (Bluetooth Low Energy, BLE), zigBee, and other communication protocols. Wi-Fi is a radio wireless local area network technology of equipment based on IEEE 802.11 standards, and BLE is a personal area network technology designed by Bluetooth technology alliance, and aims to remarkably reduce power consumption and cost while maintaining the same communication range. ZigBee is a wireless network protocol for low-speed short-distance transmission, and the bottom layer is a media access layer and a physical layer adopting IEEE 802.15.4 standard specification.
With continued reference to fig. 1, the smart device 1A can be directly connected to the cloud platform 1B as a Wi-Fi device, specifically, if the smart device 1A adopts a Wi-Fi communication interface to directly connect to the cloud through a wireless router to access the cloud, the cloud platform 1B recognizes the smart device as the Wi-Fi device 1A-1, a Wi-Fi communication link between the Wi-Fi device 1A-1 and the cloud platform 1B is established, and a correspondence between a Wi-Fi device identifier of the Wi-Fi device 1A-1 and an established Wi-Fi communication link identifier is recorded and stored, as shown in fig. 1, a device identifier (Equipment Identification, EID) stored in the cloud platform 1B is used for identifying a unique identity of a corresponding smart device, a link LID is used for identifying a communication link established between the smart device and the cloud, and when a channel between the smart device and the cloud is established, a link LID corresponding to the channel is formed.
If the intelligent device is used as a bluetooth device or a ZigBee device, the cloud cannot be directly connected, but the cloud platform needs to be accessed by using a mobile phone or a gateway as a bridging device, the mobile phone or the gateway is used as the bridging device, the channel between the cloud platform and the mobile phone or the gateway also has its own device ID and link ID, while the bluetooth device or the ZigBee device is used as a sub-device of the mobile phone or the gateway, and the channel of the sub-device is a link of the main device depending on the bridging of the sub-device. With continued reference to fig. 1, if the intelligent device 1A further adopts a bluetooth communication link of a bluetooth Mesh (a network topology of a Mesh network format) through a BLE communication interface and accesses the cloud via a gateway or a mobile phone bridge, the cloud platform recognizes the bluetooth communication link as a bluetooth device 1A-2, establishes a bluetooth communication link between the bluetooth device 1A-2 and the cloud platform 1B, and records and stores a correspondence between a bluetooth device identifier of the bluetooth device 1A-2 as a sub-device and an established device identifier of the gateway/mobile phone and a gateway/mobile phone link identifier. Similarly, when the intelligent device 1A uses a ZigBee communication interface to access the cloud through a ZigBee communication link and a gateway bridge, the cloud platform 1B recognizes the ZigBee communication interface as a ZigBee device 1A-3, establishes a ZigBee communication link between the ZigBee device 1A-3 and the cloud platform 1B, and records and stores a correspondence between a ZigBee device identifier of the ZigBee device 1A-3 as a sub-device and a device identifier of the established gateway and a gateway link identifier.
However, if a new communication link is required to be established between the intelligent device 1A and the cloud platform 1B when a communication link is already established between the cloud platform 1B and the intelligent device 1A, because the cloud platform 1B considers that an intelligent device has a unique identity and only has an end cloud link with the cloud platform, the cloud platform can cause devices to kick each other or kick each other with an existing link of the intelligent device, that is, the new communication link can not be established, or the established communication link can be disconnected, so that it is difficult to support parallel communication between the intelligent device 1A and the cloud platform 1B.
In addition, the existing IoT cloud platform needs to support a new type of multi-channel device, and generally needs to be customized and developed according to specific device conditions, and meanwhile, when different links of the multi-channel device are selected, operations such as conversion, routing and the like need to be performed, which consumes more processing resources, affects the performance of the IoT cloud platform, and increases the running cost of the IoT cloud platform.
In view of the above problems, the embodiments of the present disclosure provide a device management method suitable for a cloud platform and capable of implementing multichannel parallel communication, and perform link management on an intelligent device, where an identity of the intelligent device is a unique identity of the intelligent device unrelated to a link type, and a correspondence between an identity of the intelligent device and a plurality of link identifiers can be established, so that a plurality of communication links between the cloud platform and the intelligent device can be maintained, multichannel parallel communication between the cloud platform and the intelligent device is implemented, interconnection stability between the cloud platform and the intelligent platform can be maintained to the greatest extent, link management cost of the cloud platform to the intelligent device can be simplified, and link management resources can be saved.
For better understanding and implementation, the following detailed description will refer to the concepts, principles, advantages, etc. of the embodiments of the present invention, through specific examples, and in combination with specific application scenarios and accompanying drawings.
Referring to the flowchart of the device management method suitable for the cloud platform shown in fig. 2, in some embodiments of the present invention, for an intelligent device supporting multi-channel communication, the cloud platform may perform link management on the intelligent device in the following manner:
s11, receiving a link establishment request from the intelligent equipment.
S12, a communication link between the intelligent equipment and the intelligent equipment is established in response to a link establishment request of the intelligent equipment, an identity of the intelligent equipment is obtained from the link establishment request, and a corresponding relation between the identity of the intelligent equipment and a link identifier of the established communication link between the intelligent equipment and the intelligent equipment is stored.
The identity of the intelligent device is a unique identity of the intelligent device irrelevant to the link type. In a specific implementation, by storing the correspondence between the identity of the smart device and the link identity of the communication link established between the smart device and the smart device, the connectivity of all the channels of the established link can be maintained, i.e. all the communication links established with the smart device can be maintained. When the intelligent device initiates a link establishment request, a corresponding communication link can be established, and a corresponding relation between the identity of the intelligent device and the link identification of the newly established communication link is added and stored. In this way, in the link information maintained on the cloud platform, the link identifiers and the device identifiers are not in one-to-one correspondence, but one intelligent device can correspond to the link identifiers of a plurality of communication links.
Each established communication link is used as a channel for data transmission between the intelligent device and the cloud platform, and is in a long connection form. If the link is interrupted, the corresponding channel is disconnected until a new communication link is reestablished, forming a new data transmission channel.
In the scene of the Internet of things, each intelligent device can be connected to the Internet of things network in a wired or wireless mode, and then data interaction can be carried out between the Internet of things network and the cloud platform. Different types of devices can select one or more connection modes to access the Internet, and finally an interconnectable network can be formed.
If a wired connection mode is supported, as an optional example, an ethernet network structure and an RS-485 networking structure may be used for the multichannel intelligent device; if a wireless connection mode is adopted, one or more modes of Wi-Fi, bluetooth, a low-power wide area network (Low Power Wide Area Network, LPWAN), zigBee, a digital addressable lighting interface (Digital Addressable Lighting Interface, DALI) and the like can be adopted. It will be appreciated that the above is for illustration only and is not intended to limit the specific protocol types supported by the multi-channel smart device.
Wi-Fi is widely used in home, business, and industrial settings as a representative of wireless local area network networking technologies. Wi-Fi provides great convenience for networking in a building, physical wiring and construction can be avoided, and meanwhile, the range of the Wi-Fi network can be as small as the range of one room or as large as the level of towns. In a space with a smaller range, one wireless router can be used for connecting all the networking intelligent devices; if the signal is weaker due to hitting a wall, or if the signal is weaker due to a slightly larger range, the signal can be networked by means of signal amplifiers or a cascade of wireless routers. In a larger space, such as an office space across floors, a wireless local area network may be constructed by combining an Access controller (Access Controller, AC) and Access Points (APs). The APs may be connected by wires so as to be spatially independent of the wireless transmission distance, while the user's wireless connection may roam throughout the area.
Bluetooth is a short-range (usually less than 10 meters) wireless communication technology, and can be used for data communication among notebook computers, smart phones, vehicle-mounted systems, wireless headphones and various wearable devices. Bluetooth devices are typically not directly connected to the internet, but may be connected to the internet by means of other devices. For example, the smart wristband and the smart watch are connected with each other through a smart phone, a tablet computer or a gateway, and are connected with the cloud platform. As another example, a bluetooth enabled intelligent device (abbreviated as bluetooth device) may connect to the internet through a bluetooth router. The bluetooth 5.0 supports bluetooth Mesh, forms an ad hoc network in a Mesh topology structure, is suitable for networking in a scene where bluetooth devices are dense, for example, an indoor lighting node can be utilized to construct a bluetooth Mesh network, and other bluetooth devices can be added into the network.
LPWAN is suitable for realizing Internet of things terminal connection in wide area, and typically has two technologies: NB-IoT and LoRa. The NB-IoT is a narrow-band low-power-consumption wide area network technology for communication by using a mobile base station, can be directly deployed on the existing mobile communication network by using an authorized frequency band, aims at an internet of things device with low power consumption, small transmission data volume and low updating frequency in the range of an optical domain, and is suitable for various outdoor scenes such as street lamps, parking, sharing bicycles, logistics containers, air detectors and the like. The smart devices within the NB-IoT network may communicate with the cloud platform via mobile base stations and through a Service gateway (S-GW). LoRa, another narrowband communication technology that uses unlicensed bands, can be used for enterprises to establish wide area private wireless networks, connecting various Internet of things devices in enterprise scenarios.
ZigBee is a wireless communication technology with short distance (10 meters to nearly hundred meters), and is suitable for connecting terminal equipment in indoor environment, the lower protocol of ZigBee network conforms to IEEE 802.15.4 standard, the upper protocol is defined by ZigBee organization, and realizes transmission security and the requirement of application layer on communication between nodes. The intelligent device supporting the ZigBee function can be directly communicated with the ZigBee coordinator or indirectly connected with a network through the ZigBee coordinator in a relay mode of the ZigBee repeater, so as to be in communication interaction with the cloud platform.
The DALI is an open standard in the intelligent lighting field, and is used for connecting lighting equipment, and the DALI controller is used as a gateway and can be connected to RS-232, RS-485 and Ethernet or directly connected to a wireless Wi-Fi network or a mobile communication network so as to communicate with a cloud platform.
According to the examples in the application scenes in the Internet of things, the intelligent equipment in the Internet of things can directly establish a direct link with the cloud platform through the wireless router, and can also indirectly communicate with the cloud platform through the bridging equipment such as the gateway, the mobile phone, the notebook computer and the like.
If the intelligent device can be directly connected to the cloud platform, the cloud platform can store the unique identity of the intelligent device, when a channel between the intelligent device and the cloud platform is established, a link identifier of the channel can be formed, when the channel is disconnected, a corresponding link also disappears, and when the channel is reestablished, a new link identifier can be regenerated to carry out marking and distinguishing. If the intelligent device cannot be directly communicated with the cloud platform through the corresponding network, the bridging device such as a mobile phone and a gateway which are used for interconnection with the cloud platform, and the channel between the bridging device and the cloud platform also have the device identifier and the link identifier of the intelligent device, and the identifier of the direct link between the corresponding bridging device and the cloud platform is used for identifying the intelligent device, at the moment, the intelligent device is used as a sub-device of the bridging device, and the channel of the sub-device is dependent on the maintenance of the link of the bridging device. Therefore, in response to a link establishment request sent by the intelligent device through the bridging device, the cloud platform can establish a device virtual link with the intelligent device through a direct connection link which is already established between the cloud platform and the bridging device, and when the link between the bridging device such as a mobile phone or a gateway and the cloud platform is disconnected, the device virtual link also disappears immediately.
In some alternative examples, the smart device may support Wi-Fi, BLE-like bluetooth communication protocols, zigBee, 3G/4G/5G, and other types of wireless communication protocols, as well as dual-channel or multi-channel smart devices.
For better understanding and implementation by those skilled in the art, the following is an example of a specific application scenario.
Referring to the schematic view of the scenario of the device management method suitable for the cloud platform shown in fig. 3, as a specific example, the intelligent device 2A supports multiple communication protocols such as 4G, wi-Fi, bluetooth, zigBee, etc., if it is first connected to the network, or there is no network connection between the intelligent device 2A and the cloud platform, based on the environment where the intelligent device 2A is located, it accesses the cloud platform 2B through a Wi-Fi network, and then, a Wi-Fi link establishment request may be sent through a Wi-Fi communication interface, and is directly transmitted to the cloud platform 2B through the wireless router 2C. Correspondingly, after receiving the Wi-Fi link establishment request from the intelligent device 2A at the cloud platform 2B, a Wi-Fi direct link with the intelligent device 2A may be established in response to the Wi-Fi link establishment request sent by the intelligent device 2A through the wireless router 2C. At this time, the cloud platform may obtain the identity of the smart device from the Wi-Fi link establishment request, obtain the link identifier of the Wi-Fi direct link established between the cloud platform and the smart device 2A, and store the correspondence between the identity of the smart device and the link identifier of the Wi-Fi direct link established, as in the correspondence between the device identity identifier EID-1 and the link LID-1 in fig. 3.
Next, the intelligent device 2A sends a bluetooth link establishment request to the cloud platform through the bluetooth Mesh and via the gateway direct link established between the gateways 2D based on the service requirement. Correspondingly, after receiving a bluetooth link establishment request from the intelligent device at the cloud platform, a device virtual link with the intelligent device can be established in response to the bluetooth link establishment request sent by the intelligent device via the gateway 2D. At this time, the cloud platform acquires the identity of the intelligent device 2A from the bluetooth link establishment request, and if it recognizes that the device direct link LID-5 between the intelligent device 2A and the device direct link LID-5 has been established before, a correspondence relationship between the device identity EID-1 of the intelligent device 2A and the device virtual link LID-5 established this time may be added. As described above, the device virtual link LID-5 exists based on the gateway direct link between the gateway 2D and the cloud platform 2B, so that the cloud platform further stores the device identifier EID-2 of the gateway 2D and the corresponding correspondence relationship of the gateway direct link LID-2, and at this time, the intelligent device 2A exists as a child device of the gateway 2D. Through the above process, the cloud platform 2B keeps on one hand keeping the device direct link LID-1 with the intelligent device 2A, and on the other hand, establishes a new device virtual link LID-5 with the intelligent device 2A, where communication interaction can be performed between the cloud platform 2B and the intelligent device 2A through any one of the two links, or through both links at the same time.
Similarly, the smart device 2A sends a ZigBee link establishment request to the cloud platform via the ZigBee and via the established gateway direct link between the gateways 2E. Correspondingly, after receiving the ZigBee link establishment request from the smart device at the cloud platform, a further device virtual link LID-6 with the smart device may be established in response to the ZigBee link establishment request sent by the smart device via the gateway 2E. At this time, the cloud platform acquires the identity of the intelligent device 2A from the ZigBee link establishment request, and if it recognizes that the device direct link LID-1 and the device virtual link LID-5 between the cloud platform and the intelligent device 2A have been established before, a correspondence relationship between the device identity EID-1 of the intelligent device 2A and the device virtual link LID-6 that is established this time may be added. The device virtual link LID-6 is based on a gateway direct link between the gateway 2E and the cloud platform 2B, so that the cloud platform further stores a corresponding relationship between the device identifier EID-3 of the gateway 2E and the corresponding gateway direct link LID-3, and at this time, the intelligent device 2A is a child device of the gateway 2E. Through the above process, the cloud platform 2B continues to maintain the device direct link LID-1 and the device virtual link LID-5 between the cloud platform 2B and the intelligent device 2A, and establishes a new device virtual link LID-6 between the cloud platform 2B and the intelligent device 2A, and according to a preset data transmission policy, any one of the three links may be used, or communication interaction may be performed between the cloud platform 2B and the intelligent device 2A through the three links at the same time.
Next, it is assumed that the smart device 2A in turn sends a 4G link establishment request to the cloud platform through the 4G network and via the gateway direct link established between the handsets 2F. Correspondingly, after receiving the 4G link establishment request from the intelligent device at the cloud platform, a virtual link LID-7 of another device between the intelligent device and the intelligent device can be established in response to the 4G link establishment request sent by the intelligent device via the mobile phone 2F. At this time, the cloud platform acquires the identity of the intelligent device 2A from the 4G link establishment request, and recognizes that the device direct link LID-1 and the device virtual links LID-5 and LID-6 between the intelligent device 2A have been established before, and then may add the correspondence between the device identity EID-1 of the intelligent device 2A and the device virtual link LID-7 that is established this time. The device virtual link LID-7 is based on a gateway direct link between the mobile phone 2F and the cloud platform 2B, so that the cloud platform further stores a corresponding relationship between the device identifier EID-4 of the mobile phone 2F and the corresponding mobile phone direct link LID-4, and at this time, the intelligent device 2A is a child device of the mobile phone 2F. Through the above process, the cloud platform 2B continues to maintain the device direct link LID-1 and the device virtual links LID-5 and LID-6 between the cloud platform 2B and the intelligent device 2A, and establishes a new device virtual link LID-7 between the cloud platform 2B and the intelligent device 2A, and according to a preset data transmission policy, any one or more of the four links may be used, or communication interaction may be performed between the cloud platform 2B and the intelligent device 2A through the four links at the same time.
In a specific implementation, the intelligent device 2A may also send a bluetooth link establishment request to the cloud platform through the mobile phone 2F, and then the cloud platform 2B may respond to the bluetooth link establishment request initiated by the intelligent device 2A to establish a bluetooth virtual link with the intelligent device 2A.
As known from the above-mentioned link establishment process, for the cloud platform, because it responds to the link establishment request of the intelligent device, when establishing the communication link with the intelligent device, the corresponding relationship between the identity of the intelligent device and the link identifier of the established communication link with the intelligent device can be stored, so that the established communication link with the intelligent device can be maintained, therefore, by adopting the above-mentioned link management method, the intelligent device can be prevented from generating a mutual kicking phenomenon when interacting with the cloud platform through different communication links, the multi-channel parallel communication between the cloud platform and the intelligent device can be realized, and the interconnection stability between the cloud platform and the intelligent platform can be maintained to the greatest extent; in addition, because the identity of the intelligent device is a unique identity which is irrelevant to the link type, for each intelligent device, the cloud platform only needs to store the corresponding relation between the identity of the intelligent device and the link identifier of the established communication link between the intelligent device and the cloud platform, and does not need to respectively establish the corresponding relation between the identity of the corresponding link type of the intelligent device and the corresponding channel of the cloud platform for the link type supported by the intelligent device, so that the link management cost of the cloud platform to the intelligent device can be simplified, and the link management resources can be saved.
In a specific implementation, a device virtual link with the intelligent device may be established through a direct link with a bridging device such as a gateway or a mobile phone, for example, a bluetooth virtual circuit is established first, and then a Wi-Fi direct link with the intelligent device is established. Or the links which are successively established are all device virtual links, for example, a ZigBee virtual link is established first, and a 4G virtual link and a Bluetooth virtual link are also established successively.
It will be appreciated that the foregoing is merely an example, and the embodiments of the present disclosure do not limit the order of link establishment between the smart device and the cloud platform. In addition, the cloud platform may initiate a link establishment request as needed.
In the link establishment process, in order to ensure the data security, the bidirectional identity authentication can be realized in the link establishment process, for example, the bidirectional identity authentication can be performed through three-way handshake, a secret key is generated when the authentication passes, and the secret key is further adopted to encrypt the established communication link, so that the security of the data transmitted on the subsequent communication link can be ensured.
In order to ensure the robustness of an established link between a cloud platform and the intelligent equipment, the connection state of the established communication link between the cloud platform and the intelligent equipment can be determined in a heartbeat detection mode, and the link is maintained through a heartbeat detection mechanism. The link connection state is detected through heartbeat, so that the link fault can be found in time, and further the link can be attempted to be reestablished. In a specific implementation, the intelligent device and the cloud platform both maintain link connection state information of both sides, wherein the link connection state information can include a protocol type, a source IP address, a source port, a destination IP address and a destination port. For example, the intelligent device sends a heartbeat request to the cloud platform every 3s through the established link, and if the continuous preset times are not sent successfully, the link can be determined to be disconnected.
In addition, detection can also be performed by a keep-alive mechanism. Specifically, when there is no data transmission on the link, a corresponding Keep-alive (Keep-alive) probe may be sent to detect the availability of the link, in order to avoid erroneous judgment, multiple probing may be performed, and when probing performed for a preset number of times at a preset time interval confirms that the probing fails, the current link failure is determined.
Upon determining that the link connection is broken, the link establishment request may be attempted to be reinitiated through the same communication port, or initiated through another channel, or continued through another link that has been established.
By adopting the link establishment method of the embodiment, a plurality of communication links are established, and multi-channel communication between the intelligent equipment and the cloud platform can be realized. At this time, the intelligent terminal can upload message data to the cloud platform through a plurality of established communication links at the same time.
In specific implementation, data can be transmitted in parallel through a plurality of established communication links between the cloud platform and the intelligent device, or the communication link with the optimal communication quality can be selected to transmit the data according to the communication quality of the established communication link, and specifically, the operation can be performed according to a preset message transmission strategy. For example, for a message type with high reliability requirements, data may be attempted to be transmitted simultaneously through all communication links established between the cloud platform and the smart device, while for a message type with low reliability requirements, a communication link with optimal connectivity quality may be selected for transmission.
As an alternative example, the message transmission policy may be preset in the cloud platform according to the requirement, for example, different priorities may be preset, and the matched one or more communication links are set according to the priority type. The cloud terminal can preset priorities of different types of messages according to the types of the messages transmitted by the intelligent device, such as setting the priorities according to message characteristics of the different types of messages, so that in message transmission, the cloud platform or the intelligent device can match the priorities of the current messages according to the characteristics of the message, and then select a communication link selection rule corresponding to the priorities to transmit. The setting principle of the communication link selection rule can be to balance the transmission link pressure and the message priority, so as to ensure that the message with high priority is transmitted timely and accurately. If the message of the first priority is sent to the target intelligent device through all the established communication links, the message of the second priority is transmitted through the communication link with the optimal quality, and the message of the third priority is transmitted through any communication link with the smaller transmission pressure added to the system according to the transmission pressure of the system, wherein the communication link with the smaller transmission pressure added to the system is randomly selected from the established communication links.
In a specific implementation, if the type of the message to be transmitted by the cloud platform or the intelligent device is a newly added type, the intelligent device or the cloud platform cannot identify the priority of the message, the message may be sent according to a default processing rule, for example, the message is sent to the target intelligent device through all established communication links, or a communication link with the optimal connection quality is selected for transmission, or any one of the communication links may be randomly selected from the established communication links for transmission. In a specific application process, the cloud platform can also maintain and update the priority type of the message periodically or aperiodically.
For the cloud platform, when message data uploaded by the intelligent device through a plurality of communication links is received, deduplication processing can be performed on a plurality of message data with the same content according to the message identification, so that repeated operation is avoided.
In order to achieve link management of the cloud platform on the multi-channel intelligent device, improve the interconnection stability of links between the multi-channel intelligent device and the cloud platform, avoid a complex route conversion mechanism, save link management resources, and provide a corresponding device management system in the embodiment of the specification.
Referring to the schematic configuration diagram of the device management system shown in fig. 4, the device management system 40 includes a communication link establishment unit 41 and a link information maintenance unit 42, in which:
the communication link establishment unit 41 is adapted to establish a communication link with the intelligent device in response to a link establishment request of the intelligent device;
a link information maintenance unit 42, adapted to obtain the identity of the intelligent device from the link establishment request, and store a correspondence between the identity of the intelligent device and the link identifier of the established communication link between the intelligent device, so as to maintain the established communication link between the intelligent device and the link information maintenance unit; the identity of the intelligent device is a unique identity of the intelligent device irrelevant to the link type.
In particular implementations, device management system 40 may be implemented by any one or more of specialized management software, APP, applet, etc. The device management method described in the foregoing embodiments may be used to perform the device management method, and specific embodiments and corresponding principles, effects, advantages and so on may be described with reference to the foregoing embodiments, which are not further described herein.
In order to effectively manage the links of the multi-channel intelligent device, and fully utilize channel resources of the multi-channel intelligent device and the cloud platform, the embodiment of the present disclosure further provides a cloud platform, referring to the schematic structural diagram of the cloud platform shown in fig. 5, the cloud platform 50 includes a memory 51 and a processor 52, where a computer program capable of running on the processor 52 is stored in the memory 51, and when the processor 52 runs the computer program, the steps of the device management method described in any one of the foregoing embodiments may be executed, and specific steps may be described in the foregoing embodiments and are not repeated herein.
The cloud platform can be a single computer server or a computer cluster, and if the cloud platform is a computer cluster, the cloud platform can be arranged in a centralized way or distributed way.
The memory 51 may be distributed, and the processor 52 may be a single-core processor, a multi-core processor, a general-purpose processor, or a special-purpose processor capable of performing a large-data-amount processing, which is not limited in any way in terms of specific configuration and implementation.
The embodiments of the present disclosure further provide a computer readable storage medium, on which a computer program is stored, where the computer program performs the steps of the method described in any of the foregoing embodiments, and specific steps may be referred to the foregoing embodiments and are not repeated herein.
In particular implementations, the computer readable storage medium may be a variety of suitable readable storage media such as an optical disc, a mechanical hard disc, a solid state disc, and the like.
Although the embodiments of the present specification are disclosed above, the present invention is not limited thereto. Various changes and modifications may be made by one skilled in the art without departing from the spirit and scope of the invention, and the scope of the invention should be assessed accordingly to that of the appended claims.

Claims (10)

1. A device management method suitable for a cloud platform, suitable for link management of an intelligent device, the intelligent device supporting multi-channel communication, wherein the method comprises:
responding to a link establishment request of intelligent equipment, establishing a communication link with the intelligent equipment, acquiring an identity of the intelligent equipment from the link establishment request, and storing a corresponding relation between the identity of the intelligent equipment and a link identifier of the established communication link with the intelligent equipment so as to maintain the established communication link with the intelligent equipment; the identity of the intelligent device is a unique identity of the intelligent device irrelevant to the link type.
2. The method of claim 1, wherein the establishing a communication link with the smart device in response to a link establishment request of the smart device comprises at least one of:
responding to a link establishment request sent by the intelligent equipment through a wireless router, and establishing an equipment direct link between the intelligent equipment and the intelligent equipment;
and responding to a link establishment request sent by the intelligent equipment through the bridging equipment, and establishing an equipment virtual link between the intelligent equipment and the cloud platform through an established direct link between the cloud platform and the bridging equipment.
3. The method of claim 2, wherein the establishing a device direct link with the smart device in response to a link establishment request sent by the smart device through a router comprises:
and responding to a Wi-Fi link establishment request sent by the intelligent device through the wireless router, and establishing a Wi-Fi direct link with the intelligent device.
4. The method of claim 2, wherein the establishing a device virtual link with the smart device over an established direct link between the cloud platform and the bridging device in response to a link establishment request sent by the smart device over the bridging device comprises at least one of:
responding to a Bluetooth link establishment request sent by the intelligent equipment through an established gateway direct link between the cloud platform and a gateway, and establishing a Bluetooth virtual link between the intelligent equipment and the intelligent equipment;
responding to a Bluetooth link establishment request sent by the intelligent equipment through an established mobile terminal direct link between the cloud platform and the mobile terminal, and establishing a Bluetooth virtual link between the intelligent equipment and the intelligent equipment;
responding to a ZigBee link establishment request sent by the intelligent equipment through an established gateway direct link between the cloud platform and a gateway, and establishing a ZigBee virtual link between the intelligent equipment and the intelligent equipment;
and responding to a 4G/5G network link establishment request sent by the intelligent equipment through an established gateway direct link between the cloud platform and a gateway, and establishing a 4G/5G network virtual link between the intelligent equipment and the intelligent equipment.
5. The method of any of claims 1-4, further comprising:
and when receiving message data uploaded by the intelligent equipment through a plurality of communication links, carrying out de-duplication processing on the message data according to the message identification.
6. The method of any of claims 1-4, further comprising at least one of:
transmitting data in parallel over a plurality of established communication links with the smart device;
and selecting a communication link with optimal communication quality to transmit data according to the communication quality of the established communication link.
7. The method of any of claims 1-4, further comprising:
performing bidirectional identity authentication through the stored identity of the intelligent equipment, and generating a secret key when the authentication passes;
and encrypting the communication link by adopting the secret key.
8. The method of any of claims 1-4, further comprising:
and determining the connection state of the established communication link between the cloud platform and the intelligent equipment through heartbeat detection.
9. A cloud platform comprising a memory and a processor, the memory having stored thereon a computer program executable on the processor, wherein the processor performs the steps of the device management method of any of claims 1 to 8 when the computer program is executed by the processor.
10. A computer readable storage medium having stored thereon a computer program, wherein the computer program when run performs the steps of the device management method of any of claims 1 to 8.
CN202310105197.4A 2023-01-20 2023-01-20 Cloud platform, device management method thereof and storage medium Pending CN116321523A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310105197.4A CN116321523A (en) 2023-01-20 2023-01-20 Cloud platform, device management method thereof and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310105197.4A CN116321523A (en) 2023-01-20 2023-01-20 Cloud platform, device management method thereof and storage medium

Publications (1)

Publication Number Publication Date
CN116321523A true CN116321523A (en) 2023-06-23

Family

ID=86784260

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310105197.4A Pending CN116321523A (en) 2023-01-20 2023-01-20 Cloud platform, device management method thereof and storage medium

Country Status (1)

Country Link
CN (1) CN116321523A (en)

Similar Documents

Publication Publication Date Title
US11881991B2 (en) Cloud-based control of a Wi-Fi network
US8121077B2 (en) Relay device and relay method
US9204390B2 (en) Energy-saving mobile node control method using wireless multi-interfaces
EP3017661B1 (en) A method for operating a communication device in a communication network, a communication device, a luminaire equipped with such communication device
CN101521895A (en) Forwarding method used for constructing multi-hop routing in wireless self-organizing network
KR20120052092A (en) Method for tethering network, method for connecting network and wirelessly communication system thereof
WO2015193849A1 (en) Internet of things
US20080113652A1 (en) Apparatus and method for acquiring service information in wireless network
US20170272507A1 (en) Claiming network devices for a home network in a distributed wi-fi network
US20180006927A1 (en) Enhanced peer discovery in a mesh network
CN111830844A (en) Intelligent equipment control method and device and intelligent household control panel
WO2014133441A1 (en) Dynamic contact sharing in a mesh network
WO2012051777A1 (en) Access control method and device for wireless sensor network (wsn) to access telecommunication network via multiple gateways
CN116321523A (en) Cloud platform, device management method thereof and storage medium
WO2024022156A1 (en) Method for establishing sensing network, and related apparatus
Wang et al. Design of cable temperature wireless monitoring system
Yin et al. Back to Basics: Non-Mesh Multi-Hop Wi-Fi Backhaul on Smart Lamppost Network
CN115604868A (en) Method for constructing balanced Bluetooth tree of Bluetooth scattering network and data transmission method
CN116803059A (en) Apparatus, network, method and computer program for configuring a distributed intelligent network
KR101192878B1 (en) Wireless lan access router and control method thereof
KR101483630B1 (en) Location recognition systems and method for autonomous gathering type using fixed services routers
Yin On process industry control based on wireless sensor network technology
Mathew A Device-to-device Service Sharing Middleware for Heterogeneous Wireless Networks
Huang et al. Green Computing and Communications for Smart Portable Devices

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 311121 room 801, building 2, No. 2699, yuhangtang Road, Cangqian street, Yuhang District, Hangzhou, Zhejiang Province

Applicant after: Zhejiang Aikesi Elf Artificial Intelligence Technology Co.,Ltd.

Address before: 311121 room 801, building 2, No. 2699, yuhangtang Road, Cangqian street, Yuhang District, Hangzhou, Zhejiang Province

Applicant before: Zhejiang Maojing Artificial Intelligence Technology Co.,Ltd.

CB02 Change of applicant information