Search

CN-121985238-A - Unified management method and system for heterogeneous Internet of things equipment in passive optical network

CN121985238ACN 121985238 ACN121985238 ACN 121985238ACN-121985238-A

Abstract

The invention provides a unified management method and a unified management system for heterogeneous Internet of things equipment in a passive optical network, which are applied to a home gateway unit, wherein the method comprises the steps of creating and maintaining a standardized virtual equipment object for accessed heterogeneous physical equipment so as to uniformly characterize the state and the function of the virtual equipment object; receiving a general control command for a virtual device object, converting the general control command into a native command supported by a physical device in an adapting way, issuing the native command, receiving native data reported by the physical device, analyzing the native data and updating the native data into a state attribute of the virtual object. According to the invention, the device virtualization layer is locally constructed in the home gateway unit, and the heterogeneous physical devices are abstracted into isomorphic virtual objects, so that the localization, low-delay and high-reliability unified access and collaborative linkage of the cross-protocol devices are realized, the user experience can be obviously improved, the development complexity is reduced, and the data privacy is ensured.

Inventors

  • ZHANG ZHIHAO
  • XU WEI
  • LI YU
  • LI SHAOJIE
  • LIU NING

Assignees

  • 武汉长光科技有限公司

Dates

Publication Date
20260505
Application Date
20251231

Claims (10)

  1. 1. The unified management method of heterogeneous Internet of things equipment in a passive optical network is characterized by being applied to a home gateway unit, and comprises the following steps: for heterogeneous physical devices which are accessed to the home gateway unit and adopt different communication protocols, respectively creating and maintaining a standardized virtual device object corresponding to the heterogeneous physical devices, wherein the virtual device object is used for uniformly characterizing the states and functions of the heterogeneous physical devices for upper-layer applications; receiving a general control command aiming at the virtual equipment object, adaptively converting the general control command into a native communication protocol instruction supported by heterogeneous physical equipment corresponding to the virtual equipment object, and issuing the native communication protocol instruction to the heterogeneous physical equipment; and receiving the original communication protocol data reported by the heterogeneous physical equipment, analyzing the original communication protocol data, and updating the original communication protocol data into the state attribute of the corresponding virtual equipment object.
  2. 2. The unified management method of heterogeneous internet of things devices in a passive optical network according to claim 1, wherein the method further comprises: Establishing and maintaining a virtual-physical mapping library in the home gateway unit, wherein the virtual-physical mapping library is used for recording and persisting the binding relation between each virtual device object and the corresponding heterogeneous physical device; The binding relation at least comprises the communication protocol type adopted by the heterogeneous physical equipment and network identification information thereof.
  3. 3. The unified management method of heterogeneous internet of things devices in a passive optical network according to claim 1, wherein the creating and maintaining a standardized virtual device object corresponding to the unified management method specifically comprises: discovering heterogeneous physical equipment requesting access and completing a safe network distribution process with the heterogeneous physical equipment; after successful network allocation, acquiring the device description information of the heterogeneous physical devices; according to the equipment description information, matching or generating a corresponding standard equipment model from a preset equipment model library; Based on the standard device model, instantiating generates the virtual device object with a unique virtual identification.
  4. 4. A unified management method for heterogeneous internet of things devices in a passive optical network according to any one of claims 1 to 3, wherein the data structure of the virtual device object at least includes: A globally unique virtual device identification, a device type identification, a set of state attributes characterizing the real-time state of the device, and a set of standardized control command interfaces that can be invoked by upper layer applications.
  5. 5. The unified management method of heterogeneous internet of things devices in a passive optical network according to claim 4, wherein the universal control command comprises the globally unique virtual device identifier; correspondingly, the receiving the universal control command for the virtual device object specifically includes: and designating the target virtual device object aimed by the globally unique virtual device identifier according to the globally unique virtual device identifier contained in the universal control command.
  6. 6. The unified management method of heterogeneous internet of things devices in a passive optical network according to claim 2 or 5, wherein the adapting the universal control command into a native communication protocol instruction supported by a heterogeneous physical device corresponding to the virtual device object, and issuing the native communication protocol instruction to the heterogeneous physical device specifically includes: Inquiring the virtual-physical mapping library according to the target virtual device object specified in the general control command to determine the corresponding target heterogeneous physical device, the communication protocol and the network address thereof; invoking a protocol adapter corresponding to the communication protocol; and converting the general control command into a native command frame conforming to the communication protocol format through the protocol adapter, and sending the native command frame to the network address through a corresponding physical communication module in the home gateway unit.
  7. 7. The unified management method of heterogeneous internet of things devices in a passive optical network according to claim 1, wherein the method further comprises: deploying and running a scene rule engine locally at the home gateway unit; The scene rule engine monitors state attribute changes of one or more virtual device objects; When the monitored state attribute change meets a predefined trigger condition, the scene rule engine automatically sends corresponding universal control commands to one or more target virtual equipment objects according to a predefined execution rule so as to drive physical equipment of different protocols to locally complete cooperative linkage in the home gateway unit.
  8. 8. The unified management system of heterogeneous Internet of things equipment in a passive optical network is characterized by being applied to a home gateway unit, and comprises the following components: The object creation module is used for respectively creating and maintaining a standardized virtual device object corresponding to heterogeneous physical devices which are accessed to the home gateway unit and adopt different communication protocols, and the virtual device object is used for uniformly characterizing the states and functions of the heterogeneous physical devices for upper-layer applications; The instruction conversion module is used for receiving a general control command aiming at the virtual equipment object, adaptively converting the general control command into a native communication protocol instruction supported by heterogeneous physical equipment corresponding to the virtual equipment object, and issuing the native communication protocol instruction to the heterogeneous physical equipment; And the analysis updating module is used for receiving the original communication protocol data reported by the heterogeneous physical equipment, analyzing the original communication protocol data and updating the analyzed original communication protocol data into the state attribute of the corresponding virtual equipment object.
  9. 9. An electronic device comprising a memory, a processor and a computer program stored on the memory and running on the processor, wherein the processor implements the unified management method for heterogeneous internet of things devices in a passive optical network according to any one of claims 1 to 7 when executing the computer program.
  10. 10. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the unified management method of heterogeneous internet of things devices in a passive optical network according to any of claims 1 to 7.

Description

Unified management method and system for heterogeneous Internet of things equipment in passive optical network Technical Field The invention relates to the technical field of optical network communication and Internet of things, in particular to a unified management method and system for heterogeneous Internet of things equipment in a passive optical network. Background In modern communication networks, fiber To The Home (FTTH) based on Passive Optical Network (PON) technology has become a mainstream solution for providing high-speed broadband access. On the user side of the PON network, a Home Gateway Unit (HGU) is a core device, and integrates various functions such as an Optical Network Terminal (ONT), a router, and a wireless access point (Wi-Fi), which are an entrance and a hub of the entire home network. Meanwhile, along with the rapid development of the internet of things, the intelligent home field presents remarkable characteristics of equipment diversification and communication protocol diversification. Currently, a mainstream intelligent device widely adopts a plurality of short-distance wireless communication protocols such as Wi-Fi, zigbee, bluetooth Mesh and the like. However, these protocols are mutually incompatible at the physical layer, link layer and application layer, each forming an independent technical ecology. In this context, the HGU, which is the backbone of the home network, faces new challenges in how to effectively manage and fuse these differently-priced smart devices. The prior art mainly has the following problems and defects when attempting to solve the problem of interconnection and intercommunication of heterogeneous devices: ecological barriers are poor with interoperability-devices of different brands, different protocols, typically need to be managed and controlled by their own dedicated gateway, mobile application (App) or cloud platform. For example, a Zigbee sensor cannot directly control a Wi-Fi luminaire unless they are affiliated with a closed ecosystem. This severely limits the ability of the user to freely select and combine devices, resulting in an "ecological islanding" phenomenon. User experience splitting, namely, a user needs to install a plurality of apps in the mobile phone to respectively manage equipment with different protocols or brands. When cross-equipment linkage is performed, the setting flow is complex, a specific cloud platform is often required to be relied on or complex configuration is often performed, and real-time and reliable seamless linkage cannot be realized. The development and integration costs are high, the application developer and the device manufacturer need to adapt and develop individually for each protocol, even for each major brand ecology, the work is repeated and inefficient, and the innovation speed of the product and the application is hindered. To solve the above problems, two main technical routes are proposed in the industry, but both routes have obvious disadvantages: The first approach is multimode gateway hardware aggregation. The scheme simply integrates multiple communication chips (e.g., wi-Fi, zigbee, bluetooth chips) on a single gateway device. However, this approach only enables signal access at the physical level, and the networks of different protocols remain logically isolated from each other. When the upper layer application or the user controls, different protocol interfaces still need to be clearly distinguished and called, and the problem of interoperation of the logic layer cannot be fundamentally solved. The second approach relies on cloud platform integration. According to the scheme, devices with different protocols are firstly connected to cloud platforms of manufacturers of the devices, and then an upper third-party cloud platform (such as an intelligent sound box platform) integrates the scattered cloud services through an API interface, so that the forwarding of instructions and the exchange of data are realized. The scheme has the obvious defects that firstly, all control instructions need to go back and forth for a long distance through an external network and a plurality of cloud servers, response delay is high, experience is poor, secondly, the function of the scheme is seriously dependent on Internet connection, once a home broadband is disconnected or the cloud servers are in failure, all automation scenes of equipment can be completely disabled, intelligent home is degraded into 'artificial home', and finally, the state and the use data of user home equipment are continuously uploaded to a plurality of cloud ends, so that the risk of data privacy leakage exists. Disclosure of Invention The invention provides a unified management method and system for heterogeneous Internet of things equipment in a passive optical network, which are used for solving the defects of serious ecological barriers, poor interoperability, split user experience, excessive dependence on cloud service, high developme