CN114900387B - Cross-platform fusion access method, system, gateway and storage medium of equipment - Google Patents

Cross-platform fusion access method, system, gateway and storage medium of equipment Download PDF

Info

Publication number
CN114900387B
CN114900387B CN202210504751.1A CN202210504751A CN114900387B CN 114900387 B CN114900387 B CN 114900387B CN 202210504751 A CN202210504751 A CN 202210504751A CN 114900387 B CN114900387 B CN 114900387B
Authority
CN
China
Prior art keywords
equipment
intelligent
platform
zigbee
docking
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.)
Active
Application number
CN202210504751.1A
Other languages
Chinese (zh)
Other versions
CN114900387A (en
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.)
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information 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 China Mobile Communications Group Co Ltd, China Mobile Hangzhou Information Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202210504751.1A priority Critical patent/CN114900387B/en
Publication of CN114900387A publication Critical patent/CN114900387A/en
Application granted granted Critical
Publication of CN114900387B publication Critical patent/CN114900387B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/283Processing of data at an internetworking point of a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a cross-platform fusion access method, a system, a gateway and a storage medium of equipment, which are applied to the technical field of the Internet of things. Wherein the method comprises the following steps: determining the type of the intelligent equipment and the current docking platform identification; determining an object model of the intelligent device based on the current docking platform identifier and the intelligent device type; the equipment attribute of the intelligent equipment is adapted to the preset equipment attribute of the intelligent equipment in the object model, so that the intelligent equipment is connected to the docking platform associated with the current docking platform identifier, and the ZigBee equipment can be connected to different intelligent home ecological systems quickly through the technical scheme of the application.

Description

Cross-platform fusion access method, system, gateway and storage medium of equipment
Technical Field
The invention relates to the technical field of the internet of things, in particular to a cross-platform fusion access method, a system, a gateway and a storage medium of equipment.
Background
In the field of smart home ecology, smart devices are an important component. The variety of intelligent device types and the convenience of use can directly influence the experience brought by the intelligent home ecological system to the user. Particularly, the ZigBee device is widely used in the smart home market nowadays by virtue of the advantages of low power consumption, low cost and high reliability. At present, the ZigBee gateway integrates a ZigBee protocol carrying a custom field, so that identification of ZigBee equipment is realized, and the ZigBee equipment is adapted to a docked intelligent home ecological system. However, when the ZigBee devices are respectively connected with different intelligent home ecological systems, the custom fields collide, so that the ZigBee devices cannot be quickly connected into the different intelligent home ecological systems.
Disclosure of Invention
The embodiment of the application aims to solve the problem that ZigBee equipment cannot be quickly accessed to different intelligent home ecosystems by providing a cross-platform fusion access method, a system, a gateway and a storage medium of equipment.
The embodiment of the application provides a cross-platform fusion access method of equipment, which comprises the following steps:
determining the type of the intelligent equipment and the current docking platform identification;
Determining an object model of the intelligent device based on the current docking platform identifier and the intelligent device type;
and adapting the equipment attribute of the intelligent equipment to the preset equipment attribute of the intelligent equipment in the object model so that the intelligent equipment is accessed to the docking platform associated with the current docking platform identifier.
In an embodiment, the step of determining the object model of the smart device based on the docking platform identification and the smart device type comprises:
determining a configuration file associated with the current docking platform identifier;
and searching an object model matched with the intelligent equipment type from the configuration file.
In an embodiment, object models of different intelligent device types are stored in the configuration file, and a mapping relationship exists between preset device attributes of the intelligent devices in the object models and the device attributes of the intelligent devices; the step of adapting the device attribute of the intelligent device to the preset device attribute of the intelligent device in the object model so that the intelligent device accesses the docking platform associated with the current docking platform identifier comprises the following steps:
Matching preset equipment attributes of the corresponding intelligent equipment from the object model based on the equipment attributes of the intelligent equipment and the mapping relation;
Assigning the matched preset equipment attribute;
And sending the assigned preset equipment attribute to a docking platform, so that the intelligent equipment is accessed to the docking platform associated with the docking platform identifier.
In an embodiment, the step of adapting the device attribute of the smart device to the preset device attribute of the smart device in the object model includes:
And adapting the equipment attribute of the intelligent equipment to the preset equipment attribute of the intelligent equipment in the object model through a unified API (application program interface).
In an embodiment, after the step of adapting the device attribute of the smart device to the preset device attribute of the smart device in the object model, so that the smart device accesses the docking platform associated with the current docking platform identifier, the method further includes:
When receiving a message issuing request of the docking platform, converting an issuing message in the message issuing request into a ZigBee message based on the mapping relation;
And issuing the ZigBee message through the ZigBee module.
In an embodiment, the cross-platform fusion access method of the device further includes:
when the ZigBee middleware is not the latest version, carrying out version upgrading on the ZigBee middleware;
Or updating the configuration file when the docking platform changes, wherein the docking platform changes at least one of the following: the number of the docking platforms is increased, the data of the docking platforms is reduced, and the identification of the docking platforms is changed.
The embodiment of the application provides a cross-platform fusion access method of equipment, which comprises the following steps:
When a configuration request of intelligent equipment is received, configuring an object model of the intelligent equipment according to the type of the intelligent equipment, the equipment attribute of the intelligent equipment and a docking platform identifier;
Generating a configuration file corresponding to the object model;
and sending the configuration file to the ZigBee middleware so that the intelligent equipment accesses the docking platform associated with the docking platform identifier based on the configuration file in the ZigBee middleware.
In addition, to achieve the above object, the present invention also provides an intelligent ecosystem, including: the intelligent device is connected to the docking platform through the ZigBee middleware.
In addition, to achieve the above object, the present invention further provides a gateway including: the method comprises the steps of a memory, a processor and a cross-platform fusion access program of equipment, wherein the cross-platform fusion access program is stored in the memory and can run on the processor, and the cross-platform fusion access program of the equipment is executed by the processor.
In addition, in order to achieve the above objective, the present invention further provides a computer readable storage medium, on which a cross-platform fusion access program of a device is stored, where the cross-platform fusion access program of the device, when executed by a processor, implements the steps of the cross-platform fusion access method of the device.
According to the technical scheme of the cross-platform fusion access method, system, gateway and storage medium of the equipment, the intelligent identification type and the current docking platform identification are acquired through the ZigBee middleware installed on the gateway, the object model of the intelligent equipment is determined based on the current docking platform and the intelligent equipment type, the equipment attribute of the intelligent equipment is adapted to the preset equipment attribute of the intelligent equipment in the object model, the intelligent equipment is accessed to the docking platform associated with the current docking platform identification, and the intelligent equipment based on the ZigBee3.0 protocol can be quickly docked to different ecological systems through the ZigBee middleware and the fusion access scheme, so that access restriction bottlenecks between equipment and platforms of different manufacturers are broken, and cross-manufacturer cross-platform access and management and control of the ZigBee3.0 equipment are realized.
Drawings
FIG. 1 is a schematic diagram of a hardware operating environment according to an embodiment of the present invention;
Fig. 2 is a schematic flow chart of a first embodiment of a cross-platform fusion access method of the device of the present invention;
FIG. 3 is a schematic diagram of the architecture of the intelligent ecosystem of the present invention;
Fig. 4 is a block diagram of a gateway system of the invention adapting ZigBee middleware;
Fig. 5 is a flow chart of an embodiment of a cross-platform fusion access method of the device of the present invention.
The achievement of the objects, functional features and advantages of the present application will be further described with reference to embodiments, with reference to the accompanying drawings, which are only illustrations of one embodiment, but not all of the applications.
Detailed Description
The application provides a cross-platform fusion access method of equipment, which aims to solve the problem that ZigBee equipment cannot be quickly accessed to different intelligent home ecological systems, and because the ZigBee middleware installed on a gateway is adopted to acquire intelligent identification types and current docking platform identifications, further, the object model of the intelligent equipment is determined based on the current docking platform and the intelligent equipment types, and the preset equipment attribute of the intelligent equipment in the object model is adapted to the equipment attribute of the intelligent equipment, so that the intelligent equipment is accessed to the docking platform associated with the current docking platform identifications.
In order that the above-described aspects may be better understood, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a hardware running environment according to an embodiment of the present invention.
It should be noted that fig. 1 may be a schematic structural diagram of a hardware running environment of the gateway.
As shown in fig. 1, the gateway may include: a processor 1001, such as a CPU, memory 1005, user interface 1003, network interface 1004, communication bus 1002. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
Those skilled in the art will appreciate that the gateway structure shown in fig. 1 is not limiting to a gateway and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include an operating system, a network communication module, a user interface module, and a cross-platform converged access program for a device. The operating system is a program for managing and controlling gateway hardware and software resources, and a cross-platform fusion access program of the device and other software or running of the program.
In the gateway shown in fig. 1, the user interface 1003 is mainly used for connecting a terminal, and performs data communication with the terminal; the network interface 1004 is mainly used for a background server and is in data communication with the background server; the processor 1001 may be used to invoke a cross-platform converged access program of a device stored in the memory 1005.
In this embodiment, the gateway includes: memory 1005, processor 1001, and a cross-platform fusion access program for an apparatus stored on the memory and executable on the processor, wherein:
When the processor 1001 invokes the cross-platform fusion access program of the device stored in the memory 1005, the following operations are performed:
determining the type of the intelligent equipment and the current docking platform identification;
Determining an object model of the intelligent device based on the current docking platform identifier and the intelligent device type;
and adapting the equipment attribute of the intelligent equipment to the preset equipment attribute of the intelligent equipment in the object model so that the intelligent equipment is accessed to the docking platform associated with the current docking platform identifier.
When the processor 1001 invokes the cross-platform fusion access procedure of the device stored in the memory 1005, the following operations are also performed:
determining a configuration file associated with the current docking platform identifier;
and searching an object model matched with the intelligent equipment type from the configuration file.
When the processor 1001 invokes the cross-platform fusion access procedure of the device stored in the memory 1005, the following operations are also performed:
Matching preset equipment attributes of the corresponding intelligent equipment from the object model based on the equipment attributes of the intelligent equipment and the mapping relation;
Assigning the matched preset equipment attribute;
And sending the assigned preset equipment attribute to a docking platform, so that the intelligent equipment is accessed to the docking platform associated with the docking platform identifier.
When the processor 1001 invokes the cross-platform fusion access procedure of the device stored in the memory 1005, the following operations are also performed:
And adapting the equipment attribute of the intelligent equipment to the preset equipment attribute of the intelligent equipment in the object model through a unified API (application program interface).
When the processor 1001 invokes the cross-platform fusion access procedure of the device stored in the memory 1005, the following operations are also performed:
When receiving a message issuing request of the docking platform, converting an issuing message in the message issuing request into a ZigBee message based on the mapping relation;
And issuing the ZigBee message through the ZigBee module.
When the processor 1001 invokes the cross-platform fusion access procedure of the device stored in the memory 1005, the following operations are also performed:
when the ZigBee middleware is not the latest version, carrying out version upgrading on the ZigBee middleware;
Or updating the configuration file when the docking platform changes, wherein the docking platform changes at least one of the following: the number of the docking platforms is increased, the data of the docking platforms is reduced, and the identification of the docking platforms is changed.
When the processor 1001 invokes the cross-platform fusion access procedure of the device stored in the memory 1005, the following operations are also performed:
When a configuration request of intelligent equipment is received, configuring an object model of the intelligent equipment according to the type of the intelligent equipment, the equipment attribute of the intelligent equipment and a docking platform identifier;
Generating a configuration file corresponding to the object model;
and sending the configuration file to the ZigBee middleware so that the intelligent equipment accesses the docking platform associated with the docking platform identifier based on the configuration file in the ZigBee middleware.
The technical scheme of the application will be specifically described in the following by way of examples.
As shown in fig. 2, in a first embodiment of the present application, the present application proposes a cross-platform fusion access method applied to a device integrated in a ZigBee middleware of a gateway, including the following steps:
step S110, determining the type of the intelligent device and the current docking platform identification.
In this embodiment, the intelligent device of the present application is a ZigBee device. The ZigBee device interacts with the gateway based on the ZigBee protocol. The scheme of the application only supports the butt-joint platform which is already butt-jointed. Zigbee is a short-range, low-rate wireless network technology, and is a low-power-consumption local area network protocol based on the ieee802.15.4 standard. But IEEE only processes low-level MAC layer and physical layer protocols, so the Zigbee alliance expands IEEE, standardizes its network layer protocols and APIs, and has evolved to Zigbee version 3.0. The ZigBee 3.0 protocol application layer defines general cluster attributes, and the necessary attributes of the ZigBee equipment, including node type and capability, power supply characteristics, equipment description and the like, are filled in the fields, and the optional fields are used for describing specific functions of the ZigBee equipment, so that the universality and standardization of the ZigBee equipment are realized on the basis of the protocol. The ZigBee equipment can realize different functions of the ZigBee equipment by freely combining cluster attributes of the optional filling fields in principle, thereby increasing the diversity of the ZigBee equipment and realizing the application of the ZigBee equipment in different scenes.
The ZigBee equipment integrates the ZigBee protocol and has the characteristic of communication standardization, and the custom access method aiming at the equipment of the type in the industry mainly comprises the steps of defining custom fields and assignment requirements in custom message fields of the ZigBee protocol. The ZigBee equipment needs to adapt to the custom field, and realizes the access and information interaction of the ZigBee equipment and the intelligent ecology, namely the docking platform through integrating the ZigBee gateway of the SDK to realize the private access protocol or the intelligent gateway supporting ZigBee access. But when there are a plurality of different intelligent ecologies at the same time, the ZigBee device cannot adapt to the different intelligent ecologies. Therefore, the ZigBee middleware is integrated in the gateway, and can adapt to the configuration files of different docking platforms according to the current ZigBee equipment, so that the ZigBee equipment can be quickly accessed to the different docking platforms.
In this embodiment, the present application mainly adopts the following components: the ZigBee3.0 device is an intelligent device, a ZigBee gateway supporting the ZigBee3.0 protocol or an intelligent gateway supporting the ZigBee3.0 access (hereinafter referred to as gateway for short), and the intelligent ecological system cloud platform is a docking platform. The connection relation of the respective constituent parts is referred to fig. 3. As shown in fig. 4, the gateway integrates a ZigBee access middleware, an SDK for docking an ecological platform, or an internet of things access protocol for implementing a docking platform, and ZigBee access applications. The ZigBee middleware is a type of software between the docking platform and the system software, uses basic service functions provided by the system software to connect various parts of the docking platform or different applications on the network, and can achieve the purposes of resource sharing and function sharing.
In this embodiment, a plurality of software development kits of docking platforms, abbreviated as SDKs, are integrated in the gateway. Applications for multiple docking platforms are also integrated, and each docking platform has a unique naming. The docking platform is an intelligent ecological platform. When the gateway is connected to a certain docking platform, the SDK of the docking platform integrated by the gateway needs to call back a notification interface of the ZigBee middleware, and the current docking platform identifier is transmitted to the ZigBee middleware through the notification interface, and the ZigBee middleware can store the current docking platform identifier. The current docking platform identifier may be a name of the docking platform, an address of the docking platform, a unique identifier of the docking platform, and the like.
In this embodiment, in the process of interaction between the intelligent device and the docking platform, a message sent by the intelligent device is transmitted to the gateway through the ZigBee module, and is received through the ZigBee middleware of the gateway and then forwarded to the docking platform. After the ZigBee middleware receives the message sent by the smart device, the message is parsed to obtain the device type of the smart device, where the smart device type may be a door sensor, a temperature sensor, an infrared sensor, and so on.
And step S120, determining an object model of the intelligent device based on the current docking platform identifier and the intelligent device type.
In this embodiment, after determining the current docking platform identifier and the smart device type, the object model of the smart device is further determined according to the current docking platform identifier and the smart device type. The object model is a data model defined by an Arian Internet of things platform for a product and is used for describing functions of the product. The object model is a digital representation of an entity (such as a sensor, a vehicle-mounted device, a building, a factory and the like) in a physical space at the cloud, and three dimensions of attribute, service and event describe what the entity is, what can do and which information can be provided to the outside respectively. These three dimensions of the object model are defined, i.e. the definition of the product functions is completed. And because the application can pass the necessary cluster attributes in the zigbee3.0 protocol: DEVICE IDENTIFIER attribute, manufacturer Name attribute, model Identifier attribute, zone Type attribute to uniquely identify a Type of smart device. Therefore, an object model corresponding to the intelligent device is required to be created according to the cluster attribute, namely, corresponding preset device attributes are created in the object model according to the device attributes of the intelligent device.
In an embodiment, the determining the object model of the smart device based on the current docking platform identifier and the smart device type specifically includes the following steps:
Step S121, determining a configuration file associated with the current docking platform identifier;
Step S122, searching an object model matched with the intelligent device type from the configuration file.
In this embodiment, an object model matched with the docking platform is built on the docking platform in advance according to the type of the intelligent device and the attribute of the intelligent device. When the type of the intelligent equipment changes, the object model of the intelligent equipment correspondingly changes. And the object model corresponding to each smart device type is different. After the docking platform creates object models to the intelligent device, each object model is stored into a configuration file of the ZigBee middleware of the gateway. The configuration files can be named by the docking platform identifiers, namely, each docking platform identifier has an associated configuration file, and the object model matched with the type of the intelligent device can be searched from the configuration files by determining the configuration file associated with the current docking platform identifier.
Step S130, adapting the device attribute of the intelligent device to the preset device attribute of the intelligent device in the object model, so that the intelligent device accesses the docking platform associated with the current docking platform identifier.
In this embodiment, after the object model of the intelligent device under the current docking platform is obtained, the device attribute of the intelligent device is adapted to the preset device attribute of the intelligent device in the object model. For example, if there are two docking stations, docking station a and docking station B, respectively, on docking station a the "SWITCH" is defined as "POWER" and on docking station B the "SWITCH" is defined as "SWITCH". When the current docking platform is the docking platform a, the definition of the device attribute about the switch in the device attribute of the intelligent device is adapted to the preset device attribute of the switch predefined on the docking platform a, namely, the device attribute of the intelligent device is adapted to be "POWER", so that the device attribute of the intelligent device is consistent with the preset device attribute of the intelligent device in the object model, and the intelligent device can be connected to the docking platform associated with the current docking platform identifier.
In an embodiment, adapting the device attribute of the smart device to the preset device attribute of the smart device in the object model, so that the smart device accesses the docking platform associated with the current docking platform identifier specifically includes the following steps:
Step S131, matching preset device attributes of the corresponding intelligent device from the object model based on the device attributes of the intelligent device and the mapping relationship.
In this embodiment, object models of different intelligent device types are stored in the configuration file, and a mapping relationship exists between preset device attributes of the intelligent device and device attributes of the intelligent device in the object models. Therefore, after determining the device attribute of the intelligent device and the configuration file associated with the current docking platform, the preset device attribute of the corresponding intelligent device can be matched from the corresponding object model according to the device attribute of the intelligent device and the mapping relation pre-stored in the configuration file.
And step S132, assigning the matched preset equipment attribute.
And step S133, the assigned preset equipment attribute is sent to a docking platform, so that the intelligent equipment is accessed to the docking platform associated with the docking platform identifier.
In this embodiment, after the matched preset device attribute is obtained, the preset device attribute is assigned. For example, when the switch is adapted to "POWER", a value of "1" indicates that the switch is turned on; when the value is 0, the switch is closed. When the SWITCH is adapted to be 'SWITCH', the SWITCH is turned ON when the value is assigned to be 'ON'; when assigned "OFF", this indicates that the switch is closed. When two different docking platforms are connected at the same time, the adaptation and assignment can be performed independently.
In this embodiment, the ZigBee middleware transmits the assigned data to the SDK of the docking platform, so as to report the data between the ZigBee data and the docking platform, so that the smart device accesses different docking platforms.
In an embodiment, after the step of adapting the device attribute of the smart device to the preset device attribute of the smart device in the object model, so that the smart device accesses the docking platform associated with the current docking platform identifier, the method further includes:
step S210, when receiving a message issuing request of the docking platform, converting an issuing message in the message issuing request into a ZigBee message based on the mapping relation;
Step S220, the ZigBee message is issued through the ZigBee module.
In this embodiment, when the intelligent ecological model is down-regulated and configured with the instruction, the ZigBee middleware uniformly processes the ecological platform instruction into the ZigBee standard cluster attribute and transmits the ZigBee standard cluster attribute to the ZigBee device side. Specifically, when the docking platform actively issues a message to the intelligent device, the gateway integrated ecological platform SDK needs to inform the ZigBee middleware of the issued message through the callback interface. The ZigBee middleware is required to convert the issued message into a ZigBee3.0 message according to the previously pre-established mapping relation, and performs downlink data transmission through the ZigBee module. Through the mode, access and data interaction between the intelligent equipment and different docking platforms are realized.
In an embodiment, the device attribute of the intelligent device may be adapted to a preset device attribute of the intelligent device in the object model through a unified API interface. The ZigBee middleware uniformly processes the messages and outputs the messages through a uniform API interface. Through translating each cluster attribute of the ZigBee 3.0 protocol into a unified object model after data processing, and then carrying out adaptation and assignment on the preset equipment attribute of the object model established on the docking platform through the unified API outlet of the ZigBee middleware, the intelligent equipment is free from developing and accessing different intelligent ecological systems. The data formats output through the unified API interface are identical.
According to the technical scheme, the ZigBee middleware is used for uniformly processing the data message of the intelligent device, carrying out object model attribute assignment of the corresponding device according to the mapping relation in the configuration file, and transmitting the mapped object model attribute assignment to the docking platform to realize access and data interaction between the intelligent device and the docking platform.
In the technical scheme of the embodiment, the ZigBee middleware based on the ZigBee3.0 protocol is integrated in a ZigBee gateway or an intelligent gateway supporting ZigBee access, each cluster attribute of the ZigBee3.0 protocol is translated into a unified model after data processing, and matching and assigning are carried out between the cluster attribute and the object model attribute established on an intelligent ecological platform through a middleware unified message API outlet, so that the ZigBee3.0 equipment is free from developing and accessing an intelligent ecological system. And similarly, when the intelligent ecological model is used for downlink control and configuration instructions, the middleware can uniformly process the ecological platform instructions into ZigBee standard cluster attributes and then transmit the ZigBee equipment attributes to the ZigBee equipment side. When a current ZigBee gateway or an intelligent gateway supporting ZigBee access is simultaneously adapted to a plurality of intelligent ecology systems, the current accessed ecology system is identified through a self-adaptive algorithm preset in the ZigBee equipment access middleware, so that the ZigBee middleware unified message API is realized, dynamic adaptation is carried out according to the access protocol of the current intelligent ecology system, and therefore the situation that the same ZigBee equipment is not transformed is realized, different intelligent ecology systems are connected, and the access restriction bottleneck between equipment of different manufacturers and different platforms is broken.
In an embodiment, referring to fig. 5, a cross-platform fusion access method of the device of the present application includes: and receiving the ZigBee equipment message. And judging the type of the ZigBee equipment according to the ZigBee equipment message, and judging the current access ecological system. And obtaining the current product type and the current docking platform naming. And reading the configuration file, acquiring a corresponding attribute mapping relation, completing parameter assignment between the ZigBee equipment message and the mapping attribute, outputting the assigned attribute, and transmitting the assigned attribute to the intelligent ecological platform.
In a second embodiment of the present application, the cross-platform fusion access method of the device of the present application includes the following steps:
Step S310, when the ZigBee middleware is not the latest version, version upgrading is carried out on the ZigBee middleware;
Or step S320, updating the configuration file when the docking platform changes, where the docking platform changes include at least one of the following: the number of the docking platforms is increased, the data of the docking platforms is reduced, and the identification of the docking platforms is changed.
In this embodiment, the ZigBee middleware mentioned herein supports a remote upgrade function, and through a ZigBee access application, the docking platform may be connected to query whether the current ZigBee middleware has the latest version or the latest configuration file. If the latest version or configuration file is found, the corresponding file is downloaded and updated in the period of inactivity of the user, so that the update of the ZigBee middleware is realized, the flexible access of the ZigBee3.0 equipment to a new ecological platform is realized, and the development-free access of more various ZigBee equipment to a new ecological system is realized. Specifically, when the ZigBee middleware is not the latest version, version upgrading is carried out on the ZigBee middleware. And updating the configuration file in the ZigBee middleware under the conditions of increasing the number of the docking platforms, reducing the number of the docking platforms, changing the identification of the docking platforms and the like.
According to the technical scheme, the online upgrading function is supported, when a new intelligent ecological system is docked, the real-time updating of the access ecology can be carried out in an online upgrading mode only by integrating the object model of the ecological system into the application of the access middleware according to corresponding requirements, the universality of ZigBee equipment and access gateway products is improved, and the development of intelligent home ecology and ZigBee protocols is facilitated.
In a third embodiment of the present application, the present application provides a cross-platform fusion access method applied to a device integrated in ZigBee middleware of a docking platform, including the following steps:
Step S410, when a configuration request of the intelligent equipment is received, configuring an object model of the intelligent equipment according to the type of the intelligent equipment, the equipment attribute of the intelligent equipment and the docking platform identifier;
step S420, generating a configuration file corresponding to the object model;
and step S430, the configuration file is sent to the ZigBee middleware, so that the intelligent equipment accesses the docking platform associated with the docking platform identifier based on the configuration file in the ZigBee middleware.
In this embodiment, the object model of the smart device may be configured on the docking platform. Firstly, an intelligent device is required to create a product on a docking platform, and in order to keep the standardization and the universality of the ZigBee3.0 attribute, the scheme passes through the essential cluster attribute in the ZigBee3.0 protocol: DEVICE IDENTIFIER attribute, manufacturer Name attribute, model Identifier attribute and Zone Type attribute to uniquely identify a piece of equipment, and creating a corresponding object Model and a corresponding ZigBee3.0 cluster attribute of the product on a docking platform. The docking ecoplatform is uniquely named, e.g., platformX, and the product model created with the platform is named, e.g., the portal sensor is named: door Sensor. And storing the object model information into a configuration file of the ZigBee middleware in the gateway, so that the intelligent equipment can access the docking platform associated with the docking platform identifier based on the configuration file.
According to the technical scheme, the object model of the intelligent device is configured on the docking platform, and the configuration file is sent to the ZigBee middleware, so that the intelligent device accesses the docking platform associated with the docking platform identifier based on the configuration file in the ZigBee middleware.
Embodiments of the present invention provide embodiments of a cross-platform fusion access method for a device, it being noted that although a logical order is shown in the flowchart, in some cases the steps shown or described may be performed in an order different from that shown or described herein.
As shown in fig. 3, fig. 3 is a system architecture diagram of a cross-platform fusion access method of the device of the present application. The intelligent ecological system provided by the application comprises the following components: the intelligent device is connected to the docking platform through the ZigBee middleware. In the current ZigBee application scenario, the smart device may be a ZigBee smart device. ZigBee middleware is integrated in the intelligent gateway; the ZigBee middleware can receive ZigBee signals of the ZigBee intelligent equipment, and meanwhile, the ZigBee middleware can also interact information with the cloud platform, namely the docking platform. Therefore, the data interaction between the ZigBee intelligent device and the docking platform is realized through the ZigBee middleware.
The specific implementation manner of the intelligent ecological system is basically the same as that of each embodiment of the cross-platform fusion access method of the equipment, and is not repeated here.
Based on the same inventive concept, the embodiment of the application also provides a computer readable storage medium, which stores a cross-platform fusion access program of the device, wherein the cross-platform fusion access program of the device realizes each step of the cross-platform fusion access method of the device when being executed by a processor, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
Because the storage medium provided by the embodiment of the present application is a storage medium used for implementing the method of the embodiment of the present application, based on the method introduced by the embodiment of the present application, a person skilled in the art can understand the specific structure and the modification of the storage medium, and therefore, the description thereof is omitted herein. All storage media adopted by the method of the embodiment of the application belong to the scope of protection of the application.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (8)

1. The cross-platform fusion access method of the equipment is characterized by being applied to ZigBee middleware, wherein the ZigBee middleware is installed on a gateway and is used for adapting configuration files of different docking platforms according to the current intelligent equipment so as to enable the intelligent equipment to be accessed to the different docking platforms; the cross-platform fusion access method of the equipment comprises the following steps:
determining the type of the intelligent equipment and the current docking platform identification;
determining a configuration file associated with the current docking platform identifier;
searching an object model matched with the intelligent equipment type from the configuration file, wherein object models of different intelligent equipment types are stored in the configuration file, and the preset equipment attribute of the intelligent equipment in the object model has a mapping relation with the equipment attribute of the intelligent equipment;
Matching preset equipment attributes of the corresponding intelligent equipment from the object model based on the equipment attributes of the intelligent equipment and the mapping relation;
Assigning the matched preset equipment attribute;
And sending the assigned preset equipment attribute to a docking platform, so that the intelligent equipment is accessed to the docking platform associated with the docking platform identifier.
2. The cross-platform fusion access method of the device according to claim 1, wherein after the step of adapting the device attribute of the smart device to the preset device attribute of the smart device in the object model to enable the smart device to access the docking platform associated with the current docking platform identifier, the method further comprises:
When receiving a message issuing request of the docking platform, converting an issuing message in the message issuing request into a ZigBee message based on the mapping relation;
And issuing the ZigBee message through the ZigBee module.
3. The method for cross-platform fusion access of a device according to claim 1, wherein the step of adapting the device attribute of the smart device to the preset device attribute of the smart device in the object model comprises:
And adapting the equipment attribute of the intelligent equipment to the preset equipment attribute of the intelligent equipment in the object model through a unified API (application program interface).
4. The cross-platform converged access method of the apparatus of claim 1, wherein the cross-platform converged access method of the apparatus further comprises:
when the ZigBee middleware is not the latest version, carrying out version upgrading on the ZigBee middleware;
Or updating the configuration file when the docking platform changes, wherein the docking platform changes at least one of the following: the number of the docking platforms is increased, the data of the docking platforms is reduced, and the identification of the docking platforms is changed.
5. The cross-platform fusion access method of the equipment is characterized by being applied to a docking platform; the cross-platform fusion access method of the equipment comprises the following steps:
When a configuration request of intelligent equipment is received, configuring an object model of the intelligent equipment according to the type of the intelligent equipment, the equipment attribute of the intelligent equipment and a docking platform identifier;
Generating a configuration file corresponding to the object model;
The configuration file is sent to the ZigBee middleware, so that the ZigBee middleware searches object models matched with the intelligent equipment types from the configuration file, object models of different intelligent equipment types are stored in the configuration file, and a mapping relation exists between preset equipment attributes of the intelligent equipment in the object models and equipment attributes of the intelligent equipment; matching preset equipment attributes of the corresponding intelligent equipment from the object model based on the equipment attributes of the intelligent equipment and the mapping relation; assigning the matched preset equipment attribute; and sending the assigned preset equipment attribute to a docking platform, so that the intelligent equipment is accessed to the docking platform associated with the docking platform identifier.
6. A gateway, the gateway comprising: memory, a processor and a cross-platform fusion access procedure of a device stored on the memory and executable on the processor, which when executed by the processor implements the steps of the cross-platform fusion access method of a device according to any of claims 1-4.
7. An intelligent ecosystem, the intelligent ecosystem comprising: at least one intelligent device, the gateway of claim 6, zigBee middleware installed on the gateway and a docking platform, wherein the intelligent device is accessed to the docking platform through the ZigBee middleware.
8. A computer readable storage medium, characterized in that it stores a cross-platform fusion access procedure of a device, which when executed by a processor implements the steps of the cross-platform fusion access method of a device according to any of claims 1-4.
CN202210504751.1A 2022-05-10 2022-05-10 Cross-platform fusion access method, system, gateway and storage medium of equipment Active CN114900387B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210504751.1A CN114900387B (en) 2022-05-10 2022-05-10 Cross-platform fusion access method, system, gateway and storage medium of equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210504751.1A CN114900387B (en) 2022-05-10 2022-05-10 Cross-platform fusion access method, system, gateway and storage medium of equipment

Publications (2)

Publication Number Publication Date
CN114900387A CN114900387A (en) 2022-08-12
CN114900387B true CN114900387B (en) 2024-06-04

Family

ID=82722613

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210504751.1A Active CN114900387B (en) 2022-05-10 2022-05-10 Cross-platform fusion access method, system, gateway and storage medium of equipment

Country Status (1)

Country Link
CN (1) CN114900387B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115550463A (en) * 2022-09-16 2022-12-30 深圳市润腾智慧科技有限公司 Cross-cloud Internet of things platform data processing method and device and related equipment

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103095609A (en) * 2013-01-09 2013-05-08 大唐软件技术股份有限公司 Access adaptive method and device based on Internet of things terminals
KR101587500B1 (en) * 2014-08-29 2016-01-21 (주)한국플랫폼서비스기술 Intergrated application authoring tool provides a method using smart devices, cloud-based collaboration build system and the system
CN109936553A (en) * 2017-12-18 2019-06-25 宁波中科集成电路设计中心有限公司 A kind of serial communication protocol automatic adaptation middleware
CN110912782A (en) * 2019-12-17 2020-03-24 锐捷网络股份有限公司 Data acquisition method, device and storage medium
CN111404883A (en) * 2020-03-02 2020-07-10 青岛聚好联科技有限公司 Method and device for analyzing Internet of things equipment universal protocol
CN111555922A (en) * 2020-05-08 2020-08-18 中国通信服务股份有限公司 Method, device, equipment and storage medium for active adaptive access of Internet of things equipment
CN111585958A (en) * 2020-04-01 2020-08-25 西安电子科技大学 Self-adaptive access method and system for heterogeneous equipment of Internet of things platform
CN112714193A (en) * 2021-03-26 2021-04-27 深圳佳兆业科技集团有限公司 Community data processing system, method, device and equipment based on Internet of things platform
CN113726762A (en) * 2021-08-27 2021-11-30 四川长虹网络科技有限责任公司 Internet of things equipment protocol analysis method based on configuration file
CN113765759A (en) * 2021-08-31 2021-12-07 杭州控客信息技术有限公司 Equipment network access and communication optimization method of intelligent household system
CN114036216A (en) * 2021-10-29 2022-02-11 中国联合网络通信集团有限公司 Data processing method, device and storage medium
CN114172929A (en) * 2021-10-28 2022-03-11 深圳市信锐网科技术有限公司 Communication method, device and gateway
CN114390015A (en) * 2021-12-08 2022-04-22 天翼物联科技有限公司 Data pushing system, method and equipment based on object model and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11308091B2 (en) * 2016-09-26 2022-04-19 Nec Corporation Information collection system, information collection method, and recording medium
US11086298B2 (en) * 2019-04-15 2021-08-10 Rockwell Automation Technologies, Inc. Smart gateway platform for industrial internet of things

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103095609A (en) * 2013-01-09 2013-05-08 大唐软件技术股份有限公司 Access adaptive method and device based on Internet of things terminals
KR101587500B1 (en) * 2014-08-29 2016-01-21 (주)한국플랫폼서비스기술 Intergrated application authoring tool provides a method using smart devices, cloud-based collaboration build system and the system
CN109936553A (en) * 2017-12-18 2019-06-25 宁波中科集成电路设计中心有限公司 A kind of serial communication protocol automatic adaptation middleware
CN110912782A (en) * 2019-12-17 2020-03-24 锐捷网络股份有限公司 Data acquisition method, device and storage medium
CN111404883A (en) * 2020-03-02 2020-07-10 青岛聚好联科技有限公司 Method and device for analyzing Internet of things equipment universal protocol
CN111585958A (en) * 2020-04-01 2020-08-25 西安电子科技大学 Self-adaptive access method and system for heterogeneous equipment of Internet of things platform
CN111555922A (en) * 2020-05-08 2020-08-18 中国通信服务股份有限公司 Method, device, equipment and storage medium for active adaptive access of Internet of things equipment
CN112714193A (en) * 2021-03-26 2021-04-27 深圳佳兆业科技集团有限公司 Community data processing system, method, device and equipment based on Internet of things platform
CN113726762A (en) * 2021-08-27 2021-11-30 四川长虹网络科技有限责任公司 Internet of things equipment protocol analysis method based on configuration file
CN113765759A (en) * 2021-08-31 2021-12-07 杭州控客信息技术有限公司 Equipment network access and communication optimization method of intelligent household system
CN114172929A (en) * 2021-10-28 2022-03-11 深圳市信锐网科技术有限公司 Communication method, device and gateway
CN114036216A (en) * 2021-10-29 2022-02-11 中国联合网络通信集团有限公司 Data processing method, device and storage medium
CN114390015A (en) * 2021-12-08 2022-04-22 天翼物联科技有限公司 Data pushing system, method and equipment based on object model and storage medium

Also Published As

Publication number Publication date
CN114900387A (en) 2022-08-12

Similar Documents

Publication Publication Date Title
US11368522B2 (en) Lightweight IoT information model
JP6803779B2 (en) Service tier resource propagation across domains
CN101640700B (en) Method and system for mediating enterprise service access for smart devices
CN109889416B (en) Intelligent home system based on micro-service architecture and construction method
KR101916559B1 (en) Method, device and system of prompting communication event
US9696977B2 (en) Method and system for allocating ID of software component
WO2018227457A1 (en) Parameter processing method, device, machine readable storage medium and system
CN108376078A (en) Upgrade method, device and the household appliance of equipment
US20180295197A1 (en) Method for resource mapping between restful server and onem2m system
CN114900387B (en) Cross-platform fusion access method, system, gateway and storage medium of equipment
KR102019701B1 (en) Device profile based gateway platform system and method for integrated control and management of heterogeneous iot network
US11228537B2 (en) Resource processing method and system, storage medium and electronic device
CN113839992B (en) Equipment control method and device
CN111193805B (en) Resource discovery method and device
CN115968543A (en) Resource mapping method, device, equipment and storage medium
CN104980520A (en) Notification message receiving method, device and system
US20180270190A1 (en) Method and device for creating application announcement resource
US20240015073A1 (en) Connection configuration method and apparatus
US11496356B2 (en) Device lifecycle management via a central identity service
CN116266120A (en) Adaptive file generation method and device, electronic equipment and medium
CN116647594A (en) Information carrier access method and device and electronic equipment
CN116248466A (en) Management method and device of Internet of things device and storage medium
CN115943616A (en) Attribute subscription method, device and equipment of Zigbee equipment

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
GR01 Patent grant
GR01 Patent grant