Channel creation method and device, communication equipment and storage medium
By using the first management channel to create a second management channel in FTTR technology, the problem of low efficiency and insufficient robustness of the native management and control architecture in FTTR technology is solved, efficient management without prefabricated address information and secondary authentication is achieved, and the network is improved. reliability and flexibility.
Patent Information
- Application Number
- CN202310333416.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-30
- Publication Date
- 2024-10-01
AI Technical Summary
The native management and control architecture in FTTR technology has low efficiency and insufficient robustness. It requires prefabricated platform addresses and secondary authentication, resulting in low efficiency of information prefabrication and authentication when the equipment leaves the factory, affecting the robustness of network management.
Create a second management channel through the first management channel. The second device establishes a channel with the third device based on the received configuration information. There is no need to pre-prepare the address information of the third device. The establishment of the management channel is achieved through the MQTT protocol to avoid secondary Authentication only requires that the optical path is clear.
It improves the management robustness and efficiency of the FTTR network, reduces the information pre-production and certification steps when the equipment leaves the factory, strengthens the importance of smooth optical paths, and improves the reliability and flexibility of the system.
Smart Images

Figure CN118740585A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a channel creation method, device, communication equipment and storage medium. Background Art
[0002] Fiber to the Room (FTTR) all-optical Wi-Fi is a technology based on the point-to-multipoint (P2MP) architecture. It can directly extend optical fiber to each room to achieve more than 1000M coverage throughout the house. It is the key to building high-quality information infrastructure for homes and enterprises. Since FTTR is based on the P2MP optical access architecture, it can continue the operator's successful FTTH operation and maintenance experience, while having the advantages of flexible expansion, visible, manageable and maintainable telecom-grade networks. The currently proposed FTTR native control architecture requires the FTTR equipment to be pre-fabricated with the control platform address, certificate and other information before leaving the factory, and requires secondary authentication, which is inefficient and lacks robustness. Summary of the invention
[0003] To solve the existing technical problems, the embodiments of the present invention provide a channel creation method, apparatus, communication device and storage medium.
[0004] To achieve the above object, the technical solution of the embodiment of the present invention is implemented as follows:
[0005] In a first aspect, an embodiment of the present invention provides a channel creation method, which is applied to a second device, and the method includes:
[0006] The second device creates a second management channel between the second device and a third device through the first management channel.
[0007] In the above solution, the second device creates a second management channel between the second device and the third device through the first management channel, including:
[0008] The second device receives the first configuration information sent by the first device through the first management channel;
[0009] The second device creates a second management channel between the second device and a third device based on the first configuration information; the second management channel is used to transmit information for subscription between the third device and the second device.
[0010] In the above solution, the second device creates a second management channel between the second device and the third device based on the first configuration information, including:
[0011] The second device sends a third message to a third device based on the first configuration information, where the third message is used to create a second management channel with the third device.
[0012] In the above solution, before the second device creates a second management channel between the second device and the third device based on the first configuration information, the method further includes:
[0013] The second device determines whether the first configuration information is consistent with the configuration information of the current second management channel in the device;
[0014] When the first configuration information is inconsistent with the configuration information of the current second management channel in the device, the configuration information of the current second management channel in the device is replaced with the first configuration information.
[0015] In the above solution, the first configuration information includes information of the third device;
[0016] The first configuration information includes at least one of the following: an address of a third device and an encryption method.
[0017] In the above solution, before the second device receives the first configuration information sent by the first device through the first management channel, the method further includes:
[0018] After the second device is powered on, it sends a first message to the first device, where the first message indicates that the second device is online;
[0019] The second device receives the second configuration information sent by the first device, and establishes the first management channel with the second device based on the second configuration information.
[0020] In the above solution, the first management channel is a management channel based on the optical network unit (ONU) management control interface (OMCI, ONU Management and Control Interface) protocol.
[0021] In the above solution, the second management channel is a management channel based on the Message Queuing Telemetry Transport (MQTT) protocol, or a three-layer management channel based on other protocols.
[0022] In the above solution, the method further includes: the second device and the third device transmit information for subscription via the second management channel, and the information for subscription is forwarded by the first device.
[0023] In a second aspect, an embodiment of the present invention further provides a channel creation method, which is applied in a first device and includes:
[0024] The first device receives first configuration information sent by the third device, and sends the first configuration information to the second device through a first management channel, the first configuration information is used for the second device to establish a second management channel with the third device, and the second management channel is used for transmitting information for subscription between the third device and the second device.
[0025] In the above solution, before sending the first configuration information to the second device through the first management channel, the method further includes:
[0026] The first device receives a first message sent by the second device, where the first message indicates that the second device is online;
[0027] The first device performs a legitimacy check on the second device, and after the check succeeds, sends second configuration information to the second device, where the second configuration information is used to establish the first management channel.
[0028] In the above solution, the method further includes: the first device receives first information sent by the third device, and the first information includes relevant information of the authenticated second device.
[0029] In the above solution, the first device performs a validity check on the second device, including:
[0030] The first device performs a legitimacy check on the second device based on the first information.
[0031] In the above solution, the method also includes: the first device sends a second message to the third device, and the second message indicates that the second device is online.
[0032] In the above solution, the first configuration information includes information of the third device;
[0033] The first configuration information includes at least one of the following: an address of a third device and an encryption method.
[0034] In the above solution, the method further includes: the first device receives a third message sent by the second device, and sends the third message to the third device, wherein the third message is used to establish a second management channel between the second device and the third device.
[0035] In the above solution, the method further includes: the first device forwarding the information used for subscription between the second device and the third device through the second management channel.
[0036] In the above solution, the first management channel is a management channel based on the OMCI protocol.
[0037] In the above solution, the second management channel is a management channel based on the MQTT protocol, or a three-layer management channel based on other protocols.
[0038] In a third aspect, an embodiment of the present invention provides a channel creation method, which is applied to a third device, and the method includes:
[0039] The third device sends first configuration information to the first device, where the first configuration information is sent from the first device to the second device through a first management channel, where the first configuration information is used for the second device to establish a second management channel with the third device;
[0040] The third device receives a third message from the second device, where the third message is used to establish a second management channel between the second device and the third device, where the second management channel is used to transmit subscription information between the third device and the second device.
[0041] In the above solution, the first configuration information includes information of the third device;
[0042] The first configuration information includes at least one of the following: an address of a third device and an encryption method.
[0043] In the above solution, the method further includes: the third device sends first information to the first device, and the first information includes relevant information of the authenticated second device.
[0044] In the above solution, the method further includes: the third device receiving a second message sent by the first device, wherein the second message indicates that the second device is online.
[0045] In the above solution, the method further includes: the third device and the second device transmit information for subscription via the second management channel, and the information for subscription is forwarded by the first device.
[0046] In a fourth aspect, an embodiment of the present invention provides a channel creation device, which is applied to a second device, and includes: a first processing unit, which is used to create a second management channel between the second device and a third device through a first management channel.
[0047] In a fifth aspect, an embodiment of the present invention provides a channel creation device, which is applied to a first device and includes: a first receiving unit and a first sending unit; wherein,
[0048] The first receiving unit is configured to receive first configuration information sent by a third device, where the first configuration information is used for the second device to establish a second management channel with the third device, and the second management channel is used for transmitting information for subscription between the third device and the second device;
[0049] The first sending unit is used to send the first configuration information to the second device through a first management channel.
[0050] In a sixth aspect, an embodiment of the present invention provides a channel creation device, which is applied to a third device, and includes: a second sending unit and a second receiving unit; wherein,
[0051] The second sending unit is used to send first configuration information to the first device, where the first configuration information is sent from the first device to the second device through the first management channel, and the first configuration information is used by the second device to establish a second management channel with a third device;
[0052] The second receiving unit is used to receive a third message from the second device, where the third message is used to establish a second management channel between the second device and the third device, and the second management channel is used to transmit information for subscription between the third device and the second device.
[0053] In a seventh aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the channel creation method described in the first aspect, the second aspect or the third aspect of the embodiment of the present invention.
[0054] In an eighth aspect, an embodiment of the present invention provides a communication device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the channel creation method described in the first aspect, the second aspect, or the third aspect of the embodiment of the present invention are implemented.
[0055] The channel creation method, apparatus, communication equipment and storage medium provided by the embodiments of the present invention enable the second device to support the creation of a second management channel between the second device and the third device through the first management channel, and to implement management of the FTTR network based on the second management channel. Based on the establishment of the second management channel, the second device is trustworthy, and there is no need to pre-fabricate information such as the address of the third device when the device leaves the factory, nor is there a need for secondary authentication. Only an unobstructed optical path is required, and the device is more robust. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] Figure 1 The following is a flow chart of the channel creation method according to an embodiment of the present invention. Figure 1 ;
[0057] Figure 2 The following is a flow chart of the channel creation method according to an embodiment of the present invention. Figure 2 ;
[0058] Figure 3 The following is a flow chart of the channel creation method according to an embodiment of the present invention. Figure 3 ;
[0059] Figure 4 A schematic diagram of an interactive process of a channel creation method according to an embodiment of the present invention;
[0060] Figure 5 The structure diagram of the channel creation device according to the embodiment of the present invention is as follows: Figure 1 ;
[0061] Figure 6 The structure diagram of the channel creation device according to the embodiment of the present invention is as follows: Figure 2 ;
[0062] Figure 7 The structure diagram of the channel creation device according to the embodiment of the present invention is as follows: Figure 3 ;
[0063] Figure 8 The figure is a schematic diagram of the hardware structure of the communication device according to the embodiment of the present invention. DETAILED DESCRIPTION
[0064] The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0065] The technical solution of the embodiment of the present invention can be applied to various communication systems, for example: a global system of mobile communication (GSM) system, a long term evolution (LTE) system or a 5G system, etc. Optionally, the 5G system or 5G network may also be referred to as a new radio (NR) system or NR network.
[0066] Exemplarily, the communication system applied in the embodiment of the present invention may include a network device and a terminal device (also referred to as a terminal, a communication terminal, etc.); the network device may be a device that communicates with the terminal device. Among them, the network device can provide communication coverage within a certain area, and can communicate with terminals located in the area. Optionally, the network device may be a base station in each communication system, such as an evolved base station (eNB, Evolutional Node B) in an LTE system, and a base station (gNB) in a 5G system or an NR system.
[0067] It should be understood that the device with communication function in the network / system in the embodiment of the present application can be referred to as a communication device. The communication device may include a network device and a terminal with communication function, and the network device and the terminal device may be the specific devices described above, which will not be repeated here; the communication device may also include other devices in the communication system, such as a network controller, a mobile management entity and other network entities, which are not limited in the embodiment of the present invention.
[0068] It should be understood that the terms "system" and "network" are often used interchangeably in this article. The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0069] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable in appropriate circumstances, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein, for example. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, the process, method, system, product or equipment comprising a series of steps or units need not be limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or equipment.
[0070] FTTR technology refers to the use of optical fiber instead of network cables, laying optical fiber to every room, and interconnecting with the home gateway by deploying optical networking terminals, combined with dual-band Wi-Fi to ensure full-house network coverage. The home Gigabit all-optical networking solution based on FTTR technology deploys the main optical modem (main ONU) in the home distribution box or the center of the home. With the main optical modem as the core, it adopts point-to-multipoint (P2MP) / point-to-point (P2P) mode, based on splitters and single-core bidirectional optical fibers, to build a home optical network.
[0071] After FTTR is extended to users as an optical access network, the management, control, and operation and maintenance capabilities need to be extended downward in a coordinated manner. Only the systematic extension of the carrier-grade network can support the end-to-end carrier-grade experience of the Gigabit fixed network. Therefore, the FTTR management and control capabilities should evolve from the traditional single gateway management to the multi-network element networking management, thus proposing the FTTR native management and maintenance architecture. The upper-layer network management and control platform jointly realizes the FTTR network native management and control by upgrading the Me interface and adding the Mf interface.
[0072] Specifically, the FTTR management module implements the management of the home network through the Mf management channel, for example, it realizes the control and data collection capabilities of the FTTR optical + Wi-Fi network. As a newly added management channel, the Mf management channel requires registration and authentication to work properly. The Mf management channel is an upper-level management channel. Currently, the FTTR system management channel can only be created through three-layer services. That is, after the underlying optical link is opened, the process of creating the Mf management channel is completed through the interaction of three-layer service messages. This means that the equipment needs to pre-fabricate the platform address and encryption method (such as certificates, etc.) before leaving the factory, and requires secondary authentication, which is inefficient and lacks robustness. In order to solve the above problems, the following embodiments of the present invention are proposed.
[0073] The embodiment of the present invention also provides a channel creation method. Figure 1 The following is a flow chart of the channel creation method according to an embodiment of the present invention. Figure 1 ;like Figure 1 As shown, the method includes:
[0074] Step 101: The second device creates a second management channel between the second device and a third device through the first management channel.
[0075] In various embodiments of the present invention, the third device may be a management platform, a management device, a network management device, etc., for controlling / operating and maintaining the FTTR network or system, etc. In some optional embodiments, the third device may include the following modules: an OMC / EMS module and a FTTR management module, and the technical solutions in various embodiments of the present invention are mainly implemented in the FTTR management module.
[0076] In this embodiment, the second device supports the creation of a second management channel between the second device and the third device through the first management channel, and implements management of the FTTR network based on the second management channel; based on the establishment of the second management channel, the second device is trustworthy, and there is no need to pre-fabricate the address and other information of the third device when the device leaves the factory, nor is there a need for secondary authentication. Only an unobstructed optical path is required, which makes it more robust.
[0077] Wherein, the first management channel is a management channel between the second device and the first device. In various embodiments of the present invention, the first device can be connected to one or more second devices, the first device can be an optical line terminal (OLT, Optical Line Terminal), and the second device can be called an FTTR device, a master optical network unit (ONU, Optical Network Unit) or a first type ONU. In other embodiments, the FTTR-based communication system may include a multi-level network. Taking the system including two-level networks as an example, the first-level network may include a first device and multiple second devices, and the second-level network may include one or more second devices and one or more fourth devices connected to each second device; wherein the fourth device can be called a slave ONU or a second type ONU.
[0078] In some optional embodiments of the present invention, the second device creates a second management channel between the second device and a third device through the first management channel, including: the second device receives first configuration information sent by the first device through the first management channel; the second device creates a second management channel between the second device and the third device based on the first configuration information; the second management channel is used to transmit information for subscription between the third device and the second device.
[0079] In this embodiment, the second device obtains the first configuration information sent by the first device through the first management channel, and creates a second management channel with the third device according to the first configuration information.
[0080] In some optional embodiments, the first configuration information includes information of the third device; optionally, the first configuration information includes at least one of the following: information such as the address and encryption method of the third device, and may also include other information related to the third device.
[0081] In this embodiment, optionally, the first configuration information may include information about the FTTR management module in the third device, such as the address of the FTTR management module, and may also include information such as certificates and encryption methods. Exemplarily, the address of the third device included in the first configuration information may specifically be a connection address of the third device, such as the IP address, domain name, port number, connection protocol, and other information of the third device. By sending the first configuration information including the information of the third device to the second device through the first management channel, the second device establishes a second management channel with the third device based on the first configuration information. After the second management channel is created, the second device can be considered a trusted device. There is no need to pre-fabricate information such as the address of the third device (such as the FTTR management module) when the device leaves the factory, and no secondary authentication is required. It only requires that the optical path is unobstructed.
[0082] In some optional embodiments of the present invention, the first management channel is a management channel based on the ONU Management and Control Interface (OMCI) protocol. The second management channel is a management channel based on the Message Queuing Telemetry Transport (MQTT) protocol, or a three-layer management channel based on other protocols.
[0083] In this embodiment, the first management channel can be an FTTR optical link management channel implemented based on the OMCI protocol extension. The second management channel is used to implement the management of the FTTR network. Among them, the first configuration information may include, for example, connection configuration parameters for establishing a management channel based on the MQTT protocol or a three-layer management channel based on other protocols. The second device of the embodiment of the present invention supports the creation of a second management channel through the first management channel, and sends the first configuration information about the third device to the second device through the first management channel, so that the second management channel is established between the third device and the second device, and the management of the FTTR network is implemented based on the second management channel. Based on the establishment of the second management channel, the second device is trustworthy, and there is no need to pre-fabricate the address and other information of the third device (such as the FTTR management module) when the device leaves the factory, and no secondary authentication is required. It only requires that the optical path is unobstructed, and it is more robust.
[0084] In some optional embodiments, the second device creates a second management channel between the second device and a third device based on the first configuration information, including: the second device sends a third message to the third device based on the first configuration information, and the third message is used to create a second management channel between the second device and the third device.
[0085] In this embodiment, after the second device receives the first configuration information, it initiates the connection or establishment of the second management channel to the third device according to the configuration content or configuration parameters of the first configuration information, that is, the third message can be specifically used to request the establishment of the second management channel; wherein, the third message may include information of the third device, such as the identifier or address of the third device, etc.; after the first device receives the third message, it sends the third message to the third device; when the third device receives the third message, the second management channel is successfully established. In other optional embodiments, the third device may also send a response message to the third message to the second device, and the response message may be forwarded to the second device through the first device.
[0086] Exemplarily, the channel creation process in which the second device sends a third message to the third device based on the first configuration information can be regarded as a registration process. The second device requests to create an MQTT connection through the third message, and the third device responds to the connection request. The MQTT connection is successfully created, that is, the second management channel is successfully created.
[0087] In some optional embodiments of the present invention, before establishing a second management channel with a third device based on the first configuration information, the method also includes: the second device determines whether the first configuration information is consistent with the configuration information of the current second management channel in the device; when the first configuration information is inconsistent with the configuration information of the current second channel in the device, replacing the configuration information of the current second management channel in the device with the first configuration information.
[0088] In this embodiment, after receiving the first configuration information, the second device polls the configuration information of the second management channel in the device, that is, determines whether the received first configuration information is consistent with the configuration information of the current second management channel in the device; when the first configuration information is inconsistent with the configuration information of the current second channel in the device, replaces the configuration information of the current second management channel with the first configuration information.
[0089] In some optional embodiments of the present invention, before the second device receives the first configuration information sent by the first device through the first management channel, the method also includes: after the second device is powered on, the second device sends a first message to the first device, the first message indicating that the second device is online; the second device receives the second configuration information sent by the first device, and establishes the first management channel between the second device and the second device based on the second configuration information.
[0090] In this embodiment, after the second device goes online, it will send a first message to the first device to indicate that the device is online. Optionally, the first message may include information of the second device, for example, the first message may include information such as the identification and serial number of the second device. After receiving the first message sent by the second device, the first device performs a legitimacy check on the online second device. Exemplarily, a whitelist or a blacklist may be set in the first device, and the second device is determined to be a legal device or an illegal device based on the whitelist or the blacklist. For example, the first device performs a legitimacy check on the second device based on the whitelist, and determines that the serial number of the second device is in the whitelist, and the second device can be determined to be a legal device, that is, the verification is successful. For another example, the first device can perform a legitimacy check on the second device based on the blacklist, and determine that the serial number of the second device is not in the blacklist, and the second device can be determined to be a legal device, that is, the verification is successful. Further, after the legal verification passes, the first device sends the second configuration information to the second device, and the second configuration information is used to establish the first management channel. Exemplarily, the second configuration information may include relevant configuration information for establishing the first management channel. The second device can establish the first management channel between the first device and the first device based on the second configuration information.
[0091] In some optional embodiments of the present invention, the method further includes: transmitting information for subscription between the second device and the third device through the second management channel, and the information for subscription is forwarded by the first device.
[0092] In this embodiment, the second management channel is a channel between the third device and the second device for implementing management of the FTTR network. The second management channel passes through the first device, or it can also be considered that the second management channel includes the management channel between the third device and the first device and the management channel between the first device and the second device, or the information transmission between the second device and the third device through the second management channel needs to be forwarded by the first device (the first device only forwards the transmitted information without processing it). After the second management channel is created, the second device transmits information for subscription with the third device through the second management channel; the information for subscription can also be referred to as information that the device needs to transmit, or information that needs to be obtained or received. Exemplarily, what kind of information the second device needs to receive from the third device is obtained by subscription. For example, the second device sends a subscription request to the third device through the second management channel, and the subscription request includes the type and / or identifier of the subscribed information; after receiving the subscription request, the third device sends information that meets the subscription request to the second device through the second management channel.
[0093] In the FTTR system or network, the second device is the master gateway. The master gateway and the slave gateway are no longer independent individuals, but can be used as a whole. The slave gateway needs to register with the master gateway, report data, and receive and execute the instructions of the master gateway. The master gateway acts as a proxy for all the functions of the slave gateway and interacts with the management platform (such as the third device).
[0094] Based on the above embodiments, an embodiment of the present invention provides a channel creation method. Figure 2 The following is a flow chart of the channel creation method according to an embodiment of the present invention. Figure 2 ;like Figure 2 As shown, the method includes:
[0095] Step 201: The first device receives first configuration information sent by the third device, and sends the first configuration information to the second device through a first management channel, wherein the first configuration information is used for the second device to establish a second management channel with the third device, and the second management channel is used to transmit information for subscription between the third device and the second device.
[0096] In various embodiments of the present invention, a first device may be connected to one or more second devices, the first device may be an OLT, and the second device may be referred to as an FTTR device, a master ONU, or a first-class ONU. In other embodiments, a communication system based on FTTR may include a multi-level network. For example, a system including two-level networks, the first-level network may include a first device and multiple second devices, and the second-level network may include one or more second devices and one or more fourth devices connected to each second device; wherein the fourth device may be referred to as a slave ONU or a second-class ONU.
[0097] In various embodiments of the present invention, the third device may be a management platform, a management device, a network management device, etc., for controlling / operating and maintaining the FTTR network or system, etc. In some optional embodiments, the third device may include the following modules: an operation maintenance center (OMC) / element management system (EMS) module and a FTTR management module. The technical solutions in various embodiments of the present invention are mainly implemented in the FTTR management module.
[0098] In some optional embodiments, the first configuration information includes information of the third device; optionally, the first configuration information includes at least one of the following: information such as the address and encryption method of the third device, and may also include other information related to the third device.
[0099] In this embodiment, optionally, the first configuration information may include information about the FTTR management module in the third device, such as the address of the FTTR management module, and may also include information such as certificates and encryption methods. Exemplarily, the address of the third device included in the first configuration information may specifically be a connection address of the third device, such as the IP address, domain name, port number, connection protocol, and other information of the third device. By sending the first configuration information including the information of the third device to the second device through the first management channel, the second device establishes a second management channel with the third device based on the first configuration information. After the second management channel is created, the second device can be considered a trusted device. There is no need to pre-fabricate information such as the address of the third device (such as the FTTR management module) when the device leaves the factory, and no secondary authentication is required. It only requires that the optical path is unobstructed.
[0100] In some optional embodiments of the present invention, the first management channel is a management channel based on the OMCI protocol. The second management channel is a management channel based on the MQTT protocol, or a three-layer management channel based on other protocols.
[0101] In this embodiment, the first management channel can be an FTTR optical link management channel implemented based on the OMCI protocol extension. The second management channel is used to implement the management of the FTTR network. Among them, the first configuration information may include, for example, connection configuration parameters for establishing a management channel based on the MQTT protocol or a three-layer management channel based on other protocols. The second device of the embodiment of the present invention supports the creation of a second management channel through the first management channel, and sends the first configuration information about the third device to the second device through the first management channel, so that the second management channel is established between the third device and the second device, and the management of the FTTR network is implemented based on the second management channel. Based on the establishment of the second management channel, the second device is trustworthy, and there is no need to pre-fabricate the address and other information of the third device (such as the FTTR management module) when the device leaves the factory, and no secondary authentication is required. It only requires that the optical path is unobstructed, and it is more robust.
[0102] In some optional embodiments of the present invention, before sending the first configuration information to the second device through the first management channel, the method also includes: the first device receives a first message sent by the second device, the first message indicating that the second device is online; the first device performs a legitimacy verification on the second device, and after the verification is successful, sends second configuration information to the second device, and the second configuration information is used to establish the first management channel.
[0103] In this embodiment, after the second device goes online, it will send a first message to the first device to indicate that the device is online. Optionally, the first message may include information of the second device, for example, the first message may include information such as the identification and serial number of the second device. After receiving the first message sent by the second device, the first device performs a legitimacy check on the online second device. Exemplarily, a whitelist or a blacklist may be set in the first device, and the second device is determined to be a legal device or an illegal device based on the whitelist or the blacklist. For example, the first device performs a legitimacy check on the second device based on the whitelist, and determines that the serial number of the second device is in the whitelist, and the second device can be determined to be a legal device, that is, the verification is successful. For another example, the first device can perform a legitimacy check on the second device based on the blacklist, and determine that the serial number of the second device is not in the blacklist, and the second device can be determined to be a legal device, that is, the verification is successful. Further, after the legal verification passes, the first device sends the second configuration information to the second device, and the second configuration information is used to establish the first management channel. Exemplarily, the second configuration information may include relevant configuration information for establishing the first management channel. The second device can establish the first management channel between the first device and the first device based on the second configuration information.
[0104] In some optional embodiments of the present invention, the method further includes: the first device receiving first information sent by the third device, where the first information includes relevant information of the authenticated second device.
[0105] In some optional embodiments, the first device performs a legitimacy check on the second device, including: the first device performs a legitimacy check on the second device based on the first information.
[0106] In this embodiment, the third device obtains information of the authenticated (authenticated) second device (i.e., first information) by authenticating the second device, and sends the first information to the first device. Optionally, the first information (the relevant information of the authenticated second device) can be used as a basis for verifying the legitimacy of the second device. The first information may include an identification list, a serial number list, etc. of the authenticated second device.
[0107] In some optional embodiments of the present invention, the method further includes: the first device sending a second message to the third device, wherein the second message indicates that the second device is online.
[0108] In this embodiment, the first device may also send a message that the second device is online to the third device.
[0109] In some optional embodiments of the present invention, the method further includes: the first device receives a third message sent by the second device, and sends the third message to the third device, wherein the third message is used to establish a second management channel between the second device and the third device.
[0110] In this embodiment, after the second device receives the first configuration information, it initiates the connection or establishment of the second management channel to the third device according to the configuration content or configuration parameters of the first configuration information, that is, the third message can be specifically used to request the establishment of the second management channel; wherein, the third message may include information of the third device, such as the identifier or address of the third device, etc.; after the first device receives the third message, it sends the third message to the third device; when the third device receives the third message, the second management channel is successfully established. In other optional embodiments, the third device may also send a response message to the third message to the second device, and the response message may be forwarded to the second device through the first device.
[0111] In some optional embodiments of the present invention, the method further includes: the first device forwarding information used for subscription between the second device and the third device through the second management channel.
[0112] In this embodiment, the second management channel is a channel between the third device and the second device for implementing management of the FTTR network. The second management channel passes through the first device, or it can also be considered that the second management channel includes the management channel between the third device and the first device and the management channel between the first device and the second device, or the information transmission between the second device and the third device through the second management channel needs to be forwarded by the first device (the first device only forwards the transmitted information without processing it). After the second management channel is created, the second device transmits information for subscription with the third device through the second management channel; the information for subscription can also be referred to as information that the device needs to transmit, or information that needs to be obtained or received. Exemplarily, what kind of information the second device needs to receive from the third device is obtained by subscription. For example, the second device sends a subscription request to the third device through the second management channel, and the subscription request includes the type and / or identifier of the subscribed information; after receiving the subscription request, the third device sends information that meets the subscription request to the second device through the second management channel.
[0113] Based on the above embodiments, an embodiment of the present invention further provides a channel creation method. Figure 3 The following is a flow chart of the channel creation method according to an embodiment of the present invention. Figure 3 ;like Figure 3As shown, the method includes:
[0114] Step 301: The third device sends first configuration information to the first device, where the first configuration information is sent from the first device to the second device through a first management channel, where the first configuration information is used for the second device to establish a second management channel with the third device;
[0115] Step 302: The third device receives a third message from the second device, where the third message is used to establish a second management channel between the second device and the third device, and the second management channel is used to transmit subscription information between the third device and the second device.
[0116] In various embodiments of the present invention, the third device may be a management platform, a management device, a network management device, etc., for controlling / operating and maintaining the FTTR network or system, etc. In some optional embodiments, the third device may include the following modules: an OMC / EMS module and a FTTR management module, and the technical solutions in various embodiments of the present invention are mainly implemented in the FTTR management module.
[0117] In some optional embodiments, the first configuration information includes information of the third device; optionally, the first configuration information includes at least one of the following: information such as the address and encryption method of the third device, and may also include other information related to the third device.
[0118] In this embodiment, optionally, the first configuration information may include information about the FTTR management module in the third device, such as the address of the FTTR management module, and may also include information such as certificates and encryption methods. Exemplarily, the address of the third device included in the first configuration information may specifically be a connection address of the third device, such as the IP address, domain name, port number, connection protocol, and other information of the third device. By sending the first configuration information including the information of the third device to the second device through the first management channel, the second device establishes a second management channel with the third device based on the first configuration information. After the second management channel is created, the second device can be considered a trusted device. There is no need to pre-fabricate information such as the address of the third device (such as the FTTR management module) when the device leaves the factory, and no secondary authentication is required. It only requires that the optical path is unobstructed.
[0119] In some optional embodiments of the present invention, the first management channel is a management channel based on the OMCI protocol. The second management channel is a management channel based on the MQTT protocol, or a three-layer management channel based on other protocols.
[0120] In this embodiment, the first management channel can be an FTTR optical link management channel implemented based on the OMCI protocol extension. The second management channel is used to implement the management of the FTTR network. Among them, the first configuration information may include, for example, connection configuration parameters for establishing a management channel based on the MQTT protocol or a three-layer management channel based on other protocols. The third device of the embodiment of the present invention supports the creation of a second management channel through the first management channel, and sends the first configuration information about the third device to the second device through the first management channel, so that the second management channel is established between the third device and the second device, and the management of the FTTR network is implemented based on the second management channel. Based on the establishment of the second management channel, the second device is trustworthy, and there is no need to pre-fabricate the address and other information of the third device (such as the FTTR management module) when the device leaves the factory, and no secondary authentication is required. It only requires that the optical path is unobstructed, and it is more robust.
[0121] In this embodiment, after receiving the first configuration information, the second device initiates a connection message (third message) for establishing a second management channel to the third device based on the configuration content or configuration parameters of the first configuration information; that is, the third message can be specifically used to request the establishment of a second management channel; wherein the third message may include information of the third device, such as the identifier or address of the third device, etc.; after receiving the third message, the first device sends the third message to the third device; the third device receives the third message, and the second management channel is successfully created. In other optional embodiments, the third device may also send a response message of the third message to the second device, and the response message may be forwarded to the second device through the first device.
[0122] Exemplarily, the channel creation process in which the second device sends a third message to the third device based on the first configuration information can be regarded as a registration process. The second device requests to create an MQTT connection through the third message, and the third device responds to the connection request. The MQTT connection is successfully created, that is, the second management channel is successfully created.
[0123] In some optional embodiments of the present invention, the method further includes: transmitting information for subscription between the third device and the second device through the second management channel, and the information for subscription is forwarded by the first device
[0124] In this embodiment, the second management channel is a channel between the third device and the second device for implementing management of the FTTR network. The second management channel passes through the first device, or it can also be considered that the second management channel includes the management channel between the third device and the first device and the management channel between the first device and the second device, or the information transmission between the second device and the third device through the second management channel needs to be forwarded by the first device (the first device only forwards the transmitted information without processing it). After the second management channel is created, the second device transmits information for subscription with the third device through the second management channel; the information for subscription can also be referred to as information that the device needs to transmit, or information that needs to be obtained or received. Exemplarily, what kind of information the second device needs to receive from the third device is obtained by subscription. For example, the second device sends a subscription request to the third device through the second management channel, and the subscription request includes the type and / or identifier of the subscribed information; after receiving the subscription request, the third device sends information that meets the subscription request to the second device through the second management channel.
[0125] In some optional embodiments of the present invention, the method further includes: the third device sending first information to the first device, where the first information includes relevant information of the authenticated second device.
[0126] In this embodiment, the third device obtains information of the authenticated (authenticated) second device (i.e., first information) by authenticating the second device, and sends the first information to the first device. Optionally, the first information (the relevant information of the authenticated second device) can be used as a basis for verifying the legitimacy of the second device. The first information may include an identification list, a serial number list, etc. of the authenticated second device.
[0127] In some optional embodiments of the present invention, the method further includes: the third device receiving a second message sent by the first device, where the second message indicates that the second device is online.
[0128] In this embodiment, the first device may also send a message that the second device is online to the third device.
[0129] The channel creation method of the embodiment of the present invention is described below with reference to a specific example. In this example, the first device is an OLT, the second device is an FTTR device, and the third device is a management platform. The management platform includes an OMC / EMS module and an FTTR management module.
[0130] Figure 4 Schematic diagram of the interactive process of the channel creation method according to an embodiment of the present invention; Figure 4 As shown, the method includes:
[0131] Step 401: The OMC / EMS module in the management platform sends first information to the OLT, where the first information includes relevant information of the authenticated FTTR equipment.
[0132] Step 402: After the FTTR device is online, it sends a first message indicating that the device is online to the OLT.
[0133] Step 403: After receiving the first message, the OLT verifies the legitimacy of the FTTR device. If the verification succeeds, the OLT sends third configuration information to the FTTR device, where the third configuration information is used to establish a first management channel.
[0134] Step 404: The OLT senses based on the first message that the FTTR device is online, and sends a second message to the FTTR management module of the management platform, where the second message indicates that the FTTR device is online.
[0135] Step 405: The OLT receives first configuration information sent by the FTTR management module in the management platform. The first configuration information includes but is not limited to relevant information of the management platform, such as the address and encryption method of the FTTR management module.
[0136] Here, the OLT may receive the first configuration information sent by the FTTR management module in the management platform based on the Simple Network Management Protocol (SNMP).
[0137] Step 406: The OLT sends the first configuration information to the FTTR device through the first management channel (based on OMCI).
[0138] The above can be considered as an information transmission process based on the first management channel, specifically, an information transmission process based on the first management channel between the FTTR device and the OLT.
[0139] Step 407: The FTTR device polls the configuration information of the second management channel, that is, polls the MQTT configuration, and determines whether the received first configuration information is consistent with the configuration information of the current second management channel; when the first configuration information is inconsistent with the configuration information of the current second channel, replace the configuration information of the current second management channel with the first configuration information.
[0140] Step 408: The FTTR device sends a connection message (equivalent to the third message) of the second management channel to the management platform (FTTR management module) based on the configuration information of the second management channel. The connection message can be sent directly to the management platform (FTTR management module) by the FTTR device, or can also be sent to the management platform (FTTR management module) through the OLT; after receiving the connection message, the management platform (FTTR management module) determines that the second management channel is successfully created. Optionally, the management platform (FTTR management module) sends a response message corresponding to the connection message to the FTTR device. Both the connection message and the response message are forwarded by the OLT.
[0141] Step 409: The FTTR device sends a subscription request to the management platform (FTTR management module) through the second management channel. After receiving the subscription request, the management platform (FTTR management module) sends information corresponding to the subscription request to the FTTR device through the second management channel. The information can be forwarded by the management platform (FTTR management module) via the OLT to reach the FTTR device.
[0142] Based on the above embodiments, an embodiment of the present invention provides a channel creation device, which is applied to a second device. Figure 5 The structure diagram of the channel creation device according to the embodiment of the present invention is as follows: Figure 1 ;like Figure 5 As shown, the apparatus comprises a first processing unit 11, which is used to create a second management channel between the second device and the third device through the first management channel.
[0143] In some optional embodiments of the present invention, the device further includes a first communication unit 12;
[0144] The first processing unit 11 is used to use the first communication unit 12 to receive first configuration information sent by the first device through the first management channel; create a second management channel between the second device and the third device based on the first configuration information; the second management channel is used to transmit information for subscription between the third device and the second device.
[0145] In some optional embodiments of the present invention, the first processing unit 11 is used to use the first communication unit 12 to send a third message to a third device based on the first configuration information, and the third message is used to create a second management channel with the third device.
[0146] In some optional embodiments of the present invention, the first processing unit 11 is also used to determine whether the first configuration information is consistent with the configuration information of the current second management channel in the device before creating the second management channel between the second device and the third device based on the first configuration information; when the first configuration information is inconsistent with the configuration information of the current second channel in the device, replace the configuration information of the current second management channel in the device with the first configuration information.
[0147] In some optional embodiments of the present invention, the first configuration information includes information of the third device;
[0148] The first configuration information includes at least one of the following: an address of a third device and an encryption method.
[0149] In some optional embodiments of the present invention, the first communication unit 12 is further configured to, before receiving the first configuration information sent by the first device through the first management channel, send a first message to the first device after the second device is powered on, wherein the first message indicates that the second device is online; and further configured to receive the second configuration information sent by the first device;
[0150] The first processing unit 11 is further configured to establish the first management channel with the second device based on the second configuration information.
[0151] In some optional embodiments of the present invention, the first management channel is a management channel based on the OMCI protocol.
[0152] In some optional embodiments of the present invention, the second management channel is a management channel based on the MQTT protocol, or a three-layer management channel based on other protocols.
[0153] In some optional embodiments of the present invention, the first communication unit 12 is further configured to transmit subscription information to the third device via the second management channel, and the subscription information is forwarded by the first device.
[0154] In an embodiment of the present invention, the first processing unit 11 in the device can be implemented by a central processing unit (CPU), a digital signal processor (DSP), a microcontroller unit (MCU) or a programmable gate array (FPGA) in actual applications; the first communication unit 12 in the device can be implemented by a communication module (including: basic communication kit, operating system, communication module, standardized interface and protocol, etc.) and a transceiver antenna in actual applications.
[0155] An embodiment of the present invention further provides a channel creation device, which is applied to a first device. Figure 6 The structure diagram of the channel creation device according to the embodiment of the present invention is as follows: Figure 2 ;like Figure 6 As shown, the device includes: a first receiving unit 21 and a first sending unit 22; wherein,
[0156] The first receiving unit 21 is used to receive first configuration information sent by a third device, where the first configuration information is used for the second device to establish a second management channel with the third device, and the second management channel is used for transmitting second configuration information for subscription between the third device and the second device;
[0157] The first sending unit 22 is configured to send the first configuration information to the second device through a first management channel.
[0158] In some optional embodiments of the present invention, the device further includes a second processing unit 23;
[0159] The first receiving unit 21 is further configured to receive a first message sent by the second device before the first sending unit 22 sends the first configuration information to the second device through the first management channel, where the first message indicates that the second device is online;
[0160] The second processing unit 23 is used to perform a legitimacy check on the second device;
[0161] The first sending unit 22 is further used to send second configuration information to the second device after the second processing unit 23 verifies successfully, where the second configuration information is used to establish the first management channel.
[0162] In some optional embodiments of the present invention, the first receiving unit 21 is further configured to receive first information sent by the third device, where the first information includes relevant information of the authenticated second device.
[0163] In some optional embodiments of the present invention, the second processing unit 23 is used to perform a validity check on the second device based on the first information.
[0164] In some optional embodiments of the present invention, the first sending unit 22 is further configured to send a second message to the third device, where the second message indicates that the second device is online.
[0165] In some optional embodiments of the present invention, the first configuration information includes information of the third device;
[0166] The first configuration information includes at least one of the following: an address of a third device and an encryption method.
[0167] In some optional embodiments of the present invention, the first receiving unit 21 is further configured to receive a third message sent by the second device;
[0168] The first sending unit 22 is further used to send the third message to the third device; the third message is used to establish a second management channel between the second device and the third device.
[0169] In some optional embodiments of the present invention, the first receiving unit 21 and / or the first sending unit 22 are further configured to forward the subscription information between the second device and the third device through the second management channel.
[0170] In some optional embodiments of the present invention, the first management channel is a management channel based on the OMCI protocol.
[0171] In some optional embodiments of the present invention, the second management channel is a management channel based on the MQTT protocol, or a three-layer management channel based on other protocols.
[0172] In an embodiment of the present invention, the second processing unit 23 in the device can be implemented by a CPU, a DSP, an MCU or an FPGA in actual applications; the first sending unit 22 and the first receiving unit 21 in the device can be implemented by a communication module (including: a basic communication kit, an operating system, a communication module, a standardized interface and protocol, etc.) and a transceiver antenna in actual applications.
[0173] An embodiment of the present invention provides a channel creation device, which is applied to a third device. Figure 7 The structure diagram of the channel creation device according to the embodiment of the present invention is as follows: Figure 3 ;like Figure 7 As shown, the device comprises: a second sending unit 31 and a second receiving unit 32; wherein,
[0174] The second sending unit 31 is used to send first configuration information to the first device, where the first configuration information is sent from the first device to the second device through the first management channel, and the first configuration information is used by the second device to establish a second management channel with a third device;
[0175] The second receiving unit 32 is used to receive a third message from the second device, where the third message is used to establish a second management channel between the second device and the third device, and the second management channel is used to transmit subscription information between the third device and the second device.
[0176] In some optional embodiments of the present invention, the first configuration information includes information of the third device;
[0177] The first configuration information includes at least one of the following: an address of a third device and an encryption method.
[0178] In some optional embodiments of the present invention, the second sending unit 31 is further configured to send first information to the first device, where the first information includes relevant information of the authenticated second device.
[0179] In some optional embodiments of the present invention, the second receiving unit 32 is further configured to receive a second message sent by the first device, where the second message indicates that the second device is online.
[0180] In some optional embodiments of the present invention, the second sending unit 31 and / or the second receiving unit 32 are further used to transmit information for subscription to the second device through the second management channel, and the information for subscription is forwarded by the first device.
[0181] In an embodiment of the present invention, the second sending unit 31 and the second receiving unit 32 in the device can be implemented in actual applications through a communication module (including: basic communication kit, operating system, communication module, standardized interface and protocol, etc.) and a transceiver antenna.
[0182] It should be noted that: the channel creation device provided in the above embodiment only uses the division of the above program modules as an example when performing channel creation. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the channel creation device provided in the above embodiment and the channel creation method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0183] Based on the above embodiments, an embodiment of the present invention further provides a communication device, where the communication device is the first device, the second device or the third device in the above embodiments. Figure 8 FIG. 1 is a schematic diagram of the hardware structure of a communication device according to an embodiment of the present invention. Figure 8 As shown, the communication device includes a memory 42, a processor 41, and a computer program stored in the memory 42 and executable on the processor 41. When the processor 41 executes the program, the steps of the channel creation method applied to the first device, the second device, or the third device are implemented.
[0184] Optionally, the communication device further includes at least one network interface 43. The various components in the communication device are coupled together via a bus system 44. It is understood that the bus system 44 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 44 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Figure 8 Various buses are labeled as bus system 44 .
[0185] It can be understood that the memory 42 can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), and direct RAM bus random access memory (DRRAM, Direct Rambus Random Access Memory).The memory 42 described in the embodiments of the present invention is intended to include, but is not limited to, these and any other suitable types of memory.
[0186] The method disclosed in the above embodiment of the present invention can be applied to the processor 41, or implemented by the processor 41. The processor 41 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 41 or the instruction in the form of software. The above processor 41 can be a general-purpose processor, a DSP, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 41 can implement or execute the methods, steps and logic block diagrams disclosed in the embodiment of the present invention. The general-purpose processor can be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present invention, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in the memory 42. The processor 41 reads the information in the memory 42 and completes the steps of the above method in combination with its hardware.
[0187] In an exemplary embodiment, the communication device may be implemented by one or more application specific integrated circuits (ASIC), DSP, programmable logic device (PLD), complex programmable logic device (CPLD), FPGA, general purpose processor, controller, MCU, microprocessor, or other electronic components to execute the aforementioned method.
[0188] In an exemplary embodiment, the present invention also provides a computer-readable storage medium, such as a memory 42 including a computer program, and the computer program can be executed by a processor 41 of a communication device to complete the steps of the aforementioned method. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM; or it can be various devices including one or any combination of the above memories.
[0189] The computer-readable storage medium provided by the embodiment of the present invention stores a computer program thereon, and when the program is executed by a processor, the steps of the channel creation method applied to the first device, the second device or the third device are implemented.
[0190] The methods disclosed in several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.
[0191] The features disclosed in several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.
[0192] The features disclosed in several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.
[0193] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0194] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0195] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0196] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium, which, when executed, executes the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, disks or optical disks.
[0197] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.
[0198] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A channel creation method, characterized in that: The method is applied to a second device, and the method includes: The second device creates a second management channel between the second device and a third device through the first management channel.
2. The method according to claim 1, characterized in that: The second device creates a second management channel between the second device and a third device through the first management channel, including: The second device receives the first configuration information sent by the first device through the first management channel; The second device creates a second management channel between the second device and a third device based on the first configuration information; the second management channel is used to transmit information for subscription between the third device and the second device.
3. The method according to claim 2, characterized in that The second device creates a second management channel between the second device and a third device based on the first configuration information, including: The second device sends a third message to a third device based on the first configuration information, where the third message is used to create a second management channel with the third device.
4. The method according to claim 2, characterized in that: Before the second device creates a second management channel between the second device and a third device based on the first configuration information, the method further includes: The second device determines whether the first configuration information is consistent with the configuration information of the current second management channel in the device; When the first configuration information is inconsistent with the configuration information of the current second management channel in the device, the configuration information of the current second management channel in the device is replaced with the first configuration information.
5. The method according to claim 2, characterized in that: The first configuration information includes information of the third device; The first configuration information includes at least one of the following: an address of a third device and an encryption method.
6. The method according to claim 2, characterized in that Before the second device receives the first configuration information sent by the first device through the first management channel, the method further includes: After the second device is powered on, it sends a first message to the first device, where the first message indicates that the second device is online; The second device receives the second configuration information sent by the first device, and establishes the first management channel with the second device based on the second configuration information.
7. The method according to claim 1, characterized in that The first management channel is a management channel based on the optical network unit ONU management control interface OMCI protocol.
8. The method according to claim 1, characterized in that The second management channel is a management channel based on the message queue remote sensing transmission MQTT protocol, or a three-layer management channel based on other protocols.
9. The method according to any one of claims 1 to 8, characterized in that: The method further comprises: The second device and the third device transmit information for subscription via the second management channel, and the information for subscription is forwarded by the first device.
10. A channel creation method, characterized in that: The method is applied in a first device, and the method includes: The first device receives first configuration information sent by the third device, and sends the first configuration information to the second device through a first management channel, the first configuration information is used for the second device to establish a second management channel with the third device, and the second management channel is used for transmitting information for subscription between the third device and the second device.
11. The method according to claim 10, characterized in that Before sending the first configuration information to the second device through the first management channel, the method further includes: The first device receives a first message sent by the second device, where the first message indicates that the second device is online; The first device performs a legitimacy check on the second device, and after the check succeeds, sends second configuration information to the second device, where the second configuration information is used to establish the first management channel.
12. The method according to claim 11, characterized in that The method further comprises: The first device receives first information sent by the third device, where the first information includes relevant information of the authenticated second device.
13. The method according to claim 12, characterized in that The first device performs a validity check on the second device, including: The first device performs a legitimacy check on the second device based on the first information.
14. The method according to claim 11, characterized in that The method further comprises: The first device sends a second message to the third device, where the second message indicates that the second device is online.
15. The method according to claim 10, characterized in that The first configuration information includes information of the third device; The first configuration information includes at least one of the following: an address of a third device and an encryption method.
16. The method according to claim 10, characterized in that The method further comprises: The first device receives a third message sent by the second device, and sends the third message to the third device, where the third message is used to establish a second management channel between the second device and the third device.
17. The method according to claim 10, characterized in that The method further comprises: The first device forwards the subscription information between the second device and the third device through the second management channel.
18. The method according to claim 10, characterized in that The first management channel is a management channel based on the optical network unit ONU management control interface OMCI protocol.
19. The method according to claim 10, characterized in that The second management channel is a management channel based on the message queue remote sensing transmission MQTT protocol, or a three-layer management channel based on other protocols.
20. A channel creation method, characterized in that: The method is applied to a third device, and the method includes: The third device sends first configuration information to the first device, where the first configuration information is sent from the first device to the second device through a first management channel, where the first configuration information is used for the second device to establish a second management channel with the third device; The third device receives a third message from the second device, where the third message is used to establish a second management channel between the second device and the third device, where the second management channel is used to transmit subscription information between the third device and the second device.
21. The method according to claim 20, characterized in that The first configuration information includes information of the third device; The first configuration information includes at least one of the following: an address of a third device and an encryption method.
22. The method according to claim 20, characterized in that The method further comprises: The third device sends first information to the first device, where the first information includes relevant information of the authenticated second device.
23. The method according to claim 20, characterized in that The method further comprises: The third device receives a second message sent by the first device, where the second message indicates that the second device is online.
24. The method according to claim 20, characterized in that The method further comprises: The third device and the second device transmit information for subscription via the second management channel, and the information for subscription is forwarded by the first device.
25. A channel creation device, characterized in that: The apparatus is applied to a second device, and includes: a first processing unit, configured to create a second management channel between the second device and a third device through a first management channel.
26. A channel creation device, characterized in that: The device is applied to a first device, and comprises: a first receiving unit and a first sending unit; wherein, The first receiving unit is configured to receive first configuration information sent by a third device, where the first configuration information is used for the second device to establish a second management channel with the third device, and the second management channel is used for transmitting information for subscription between the third device and the second device; The first sending unit is used to send the first configuration information to the second device through a first management channel.
27. A channel creation device, characterized in that: The device is applied to a third device, and comprises: a second sending unit and a second receiving unit; wherein, The second sending unit is used to send first configuration information to the first device, where the first configuration information is sent from the first device to the second device through the first management channel, and the first configuration information is used by the second device to establish a second management channel with a third device; The second receiving unit is used to receive a third message from the second device, where the third message is used to establish a second management channel between the second device and the third device, and the second management channel is used to transmit information for subscription between the third device and the second device.
28. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented; or When the program is executed by a processor, the steps of the method according to any one of claims 10 to 19 are implemented; or, When the program is executed by a processor, the steps of the method according to any one of claims 20 to 24 are implemented.
29. A communication device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the method according to any one of claims 1 to 9 are implemented; or, When the processor executes the program, the steps of the method according to any one of claims 10 to 19 are implemented; or, When the processor executes the program, the steps of the method according to any one of claims 20 to 24 are implemented.
