Operating mode switching method and apparatus for user equipment, signal processing method and apparatus for network device, and optical module, electronic device, storage medium and communication system

By analyzing the expected working mode messages in the user equipment interconnection request sent by the network device and switching the working mode of the user equipment, the problem of single working mode of the traditional user equipment is solved, and the diversity of the working mode and the flexibility of the use are achieved.

WO2025119076A1PCT designated stage expired Publication Date: 2025-06-12RUIJIE NETWORKS CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/135281
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-12-06
Filing Date
2024-11-28
Publication Date
2025-06-12

AI Technical Summary

Technical Problem

Traditional user equipment has a single working mode in passive optical network PON, which cannot meet the diverse network interconnection needs, resulting in low usage flexibility.

Method used

By obtaining the user equipment interconnection request sent by the network device, the message carrying the expected working mode is resolved. If it is different from the default working mode, the user equipment working mode is switched. The specific steps include switching the optical port from PON mode to Ethernet network mode, enabling MAC forwarding capability, and indicating that the PON optical module is in a luminous state.

Benefits of technology

It realizes the diversity of user equipment working modes, can flexibly switch between the default working mode and the expected working mode, and improves the full bandwidth usage of uplink bandwidth resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024135281_12062025_PF_FP_ABST
    Figure CN2024135281_12062025_PF_FP_ABST
Patent Text Reader

Abstract

The embodiments of the present application relate to the technical field of communications. Disclosed are an operating mode switching method and apparatus for a user equipment, a signal processing method and apparatus for a network device, and an optical module, an electronic device, a storage medium and a communication system. In the embodiments of the present application, the method comprises: acquiring a user equipment interconnection request sent by a network device, and analyzing the user equipment interconnection request to obtain an expected operating mode message carrying an expected operating mode of a user equipment; and if a message type corresponding to the expected operating mode message and a message type when the user equipment is in a default operating mode are different, switching the user equipment from the default operating mode to the expected operating mode on the basis of the expected operating mode message.
Need to check novelty before this filing date? Find Prior Art

Description

Working mode switching method of user equipment, signal processing method and device of network equipment, optical module, electronic equipment, storage medium and communication system

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on December 6, 2023, with application number 202311672253.9 and application name “User equipment working mode switching method, device, optical module and electronic device”, the entire contents of which are incorporated by reference into this application. Technical Field

[0003] The present application relates to the field of communication technology, and in particular to a method for switching an operating mode of a user device, a signal processing method of a network device, an apparatus, an optical module, an electronic device, a storage medium, and a communication system. Background Art

[0004] As shown in Figure 1, a passive optical network (PON) system typically consists of an optical line terminal (OLT) at the central office (the server side, such as a service provider or operator), an optical network unit (ONU) at the user side, and an optical distribution network (ODN). A PON system typically employs a point-to-multipoint network architecture. The ODN consists of single-mode optical fiber, passive optical components such as optical splitters (also known as optical splitters), and optical connectors. The ODN provides the optical transmission medium for the physical connection between the OLT and ONUs.

[0005] Furthermore, since ONUs are user-side devices, they are deployed in large numbers in PON systems. To reduce ONU costs, the optical modules connected to the upstream OLT are secured to the ONUs via broadband optical subassemblies (BOSA). Summary of the Invention

[0006] Embodiments of the present application provide a method for switching an operating mode of a user device, a signal processing method for a network device, an apparatus, an optical module, an electronic device, a storage medium, and a communication system.

[0007] In a first aspect, an embodiment of the present application provides a method for switching an operating mode of a user equipment, the method comprising:

[0008] Obtaining user device interconnection requests sent by network devices;

[0009] Parsing the user equipment interconnection request to obtain an expected working mode message carrying the expected working mode of the user equipment; and

[0010] If the message type corresponding to the expected working mode message is different from the message type when the user equipment is in the default working mode, the user equipment is switched from the default working mode to the expected working mode based on the expected working mode message; wherein the default working mode is used to indicate that the user equipment uses the uplink bandwidth in a time division multiplexing manner in the passive optical network PON.

[0011] In an optional embodiment, determining that the message type corresponding to the expected working mode message is different from the message type when the user equipment is in the default working mode includes:

[0012] If the message protocol type corresponding to the expected working mode message is different from the message protocol type used when the user device is in the default working mode, then it is determined that the message type corresponding to the expected working mode message is different from the message type when the user device is in the default working mode.

[0013] Through the above embodiments, by using different message protocol types for messages in different working modes, it is possible to quickly determine whether the message type corresponding to the expected working mode message is different from the message type when the user device is in the default working mode, so as to improve the efficiency of subsequent working mode switching.

[0014] In an optional embodiment, the message protocol type corresponding to the expected working mode message is a non-Multipoint Control Protocol MPCP type, and the message protocol type used by the user equipment when it is in a default working mode is the MPCP type.

[0015] Through the above embodiments, since MPCP is usually a point-to-multipoint interconnection scenario, and the point-to-multipoint interconnection scenario between traditional OLT equipment and user equipment adopts MPCP, if the message protocol type corresponding to the above working mode message is not the MPCP type, the message type corresponding to the expected working mode message can be quickly determined, which is different from the message type when the user equipment is in the default working mode, so that a judgment can be made quickly on whether the working mode of the user equipment needs to be switched.

[0016] In an optional embodiment, if the following conditions are met, it is determined that the user equipment is in the default working mode:

[0017] The optical port of the user equipment is in PON mode; and

[0018] The PON optical module of the user equipment is in a non-emitting state.

[0019] Through the above embodiments, it is possible to accurately and quickly determine whether the user equipment is in the default working mode.

[0020] In an optional embodiment, switching the user equipment from a default operating mode to an expected operating mode includes:

[0021] Switch the optical port of the user equipment from PON mode to Ethernet mode;

[0022] Enable the media access control address MAC forwarding capability of the user device;

[0023] Indicates that the PON optical module of the user equipment is in the emitting state.

[0024] Through the above embodiments, once it is determined that the message type corresponding to the expected working mode message is different from the message type when the user device is in the default working mode, the user device can be switched from the default working mode to the expected working mode, thereby increasing the diversity of the user device working mode; and, by switching the user device from the default working mode to the expected working mode, the user device can achieve full bandwidth usage of the uplink bandwidth resources.

[0025] In an optional embodiment, the method further includes:

[0026] When it is determined that the user equipment has received the optical signal sent by the network device, continuously recording the MPCP message reception status of the user equipment; and

[0027] If the MPCP message reception condition indicates that the user equipment has not received the MPCP message sent by the network device within the set time range, the user equipment is switched from the default working mode to the expected working mode.

[0028] Through the above embodiment, even if the user equipment does not receive the expected working mode message, it can automatically switch the user equipment from the default working mode to the expected working mode when it is determined that the user equipment can receive the optical signal sent by the network device and the MPCP message reception times out.

[0029] In an optional embodiment, after the user equipment is switched from the default operating mode to the expected operating mode, the method further includes:

[0030] In response to an operation to initialize the working mode of the user equipment, switching the user equipment from the expected working mode to the default working mode; or,

[0031] When it is determined that the user equipment detects that the network device sends the MPCP message, the user equipment is switched from the expected working mode to the default working mode.

[0032] Through the above embodiments, not only the conversion of the user equipment between the expected working mode and the default working mode is achieved, but also the flexibility of the user equipment working mode switching is improved.

[0033] In an optional embodiment, switching the user equipment from the expected operating mode to the default operating mode includes:

[0034] Sending an access registration request to the network device, and receiving an access registration response returned by the network device based on the access registration request; and

[0035] If the access registration response indicates that the user equipment is successfully registered with the network device, the user equipment is switched from the expected working mode to the default working mode.

[0036] Through the above embodiment, the user equipment is switched from the expected working mode back to the default working mode through the access registration request and the access registration response indicating that the user equipment has successfully registered with the network device.

[0037] In an optional embodiment, the method further includes:

[0038] If the user equipment is in the default working mode, the optical splitter is instructed to attenuate the optical signal emitted by the PON optical module of the user equipment and then send it to the network device.

[0039] In an optional embodiment, the method further includes:

[0040] If the user equipment is in the expected working mode, the optical signal emitted by the PON optical module of the user equipment is directly sent to the network device through the optical fiber.

[0041] Through the above embodiments, by respectively setting the optical signal sending modes for different working modes of the user equipment, the working mode diversity and usage flexibility of the user equipment are ensured to a certain extent.

[0042] In a second aspect, an embodiment of the present application further provides a signal processing method for a network device, the method comprising:

[0043] receiving an optical signal sent by a user equipment in an expected working mode via a PON optical module; and

[0044] The optical module of the network device processes the power of the received optical signal based on the receiving sensitivity of the optical module and then performs photoelectric conversion;

[0045] The expected working mode is different from the default working mode of the user equipment. The default working mode is used to indicate that the user equipment uses the uplink bandwidth in a time division multiplexing manner in the passive optical network PON.

[0046] In an optional embodiment, the optical module of the network device processes the power of a received optical signal based on the receiving sensitivity of the optical module, including:

[0047] The optical signal is subjected to power attenuation processing until the power of the optical signal is within the range of the receiving sensitivity.

[0048] In an optional embodiment, before receiving an optical signal sent by a user equipment in an expected working mode through a PON optical module, the method further includes:

[0049] A user equipment interconnection request is sent to the user equipment through the optical module; wherein the user equipment interconnection request carries an expected working mode message of the expected working mode of the user equipment, and the message type corresponding to the expected working mode message is different from the message type when the user equipment is in the default working mode.

[0050] Through the above embodiments, by improving the hardware structure of the network device itself, that is, the network device can directly receive the optical signal sent by the user device in the expected working mode through the PON optical module through the optical fiber and the customized optical module, and send the user device interconnection request to the user device through the customized optical module, thereby supporting the diversity of the user device working modes.

[0051] In an optional embodiment, the message type corresponding to the expected working mode message is different from the message type when the user equipment is in the default working mode, including:

[0052] If the message protocol type corresponding to the expected working mode message is different from the message protocol type used when the user device is in the default working mode, then it is determined that the message type corresponding to the expected working mode message is different from the message type when the user device is in the default working mode.

[0053] In a third aspect, an embodiment of the present application further provides a device for switching an operating mode of a user equipment, the device comprising:

[0054] a message acquisition module, configured to acquire a user equipment interconnection request sent by a network device, parse the user equipment interconnection request, and obtain an expected working mode message carrying an expected working mode of the user equipment; and

[0055] The mode switching module is configured to switch the user equipment from the default working mode to the expected working mode based on the expected working mode message if the message type corresponding to the expected working mode message is different from the message type when the user equipment is in the default working mode; wherein the default working mode is used to indicate that the user equipment uses the uplink bandwidth in a passive optical network PON in a time division multiplexing manner.

[0056] In an optional embodiment, determining that the message type corresponding to the expected working mode message is different from the message type when the user equipment is in the default working mode includes:

[0057] If the message protocol type corresponding to the expected working mode message is different from the message protocol type used when the user device is in the default working mode, then it is determined that the message type corresponding to the expected working mode message is different from the message type when the user device is in the default working mode.

[0058] In an optional embodiment, the message protocol type corresponding to the expected working mode message is a non-Multipoint Control Protocol MPCP type, and the message protocol type used by the user equipment when it is in a default working mode is the MPCP type.

[0059] In an optional embodiment, if the following conditions are met, it is determined that the user equipment is in the default working mode:

[0060] The optical port of the user equipment is in PON mode; and

[0061] The PON optical module of the user equipment is in a non-emitting state.

[0062] In an optional embodiment, when switching the user equipment from the default operating mode to the expected operating mode, the mode switching module is specifically configured to:

[0063] Switch the optical port of the user equipment from PON mode to Ethernet mode;

[0064] Enable MAC forwarding on the user device; and

[0065] Indicates that the PON optical module of the user equipment is in the emitting state.

[0066] In an optional embodiment, the mode switching module is further configured to:

[0067] When it is determined that the user equipment has received the optical signal sent by the network device, continuously recording the MPCP message reception status of the user equipment; and

[0068] If the MPCP message reception condition indicates that the user equipment has not received the MPCP message sent by the network device within the set time range, the user equipment is switched from the default working mode to the expected working mode.

[0069] In an optional embodiment, after switching the user equipment from the default operating mode to the expected operating mode, the mode switching module is further configured to:

[0070] In response to an operation to initialize the working mode of the user equipment, switching the user equipment from the expected working mode to the default working mode; or,

[0071] When it is determined that the user equipment detects that the network device sends the MPCP message, the user equipment is switched from the expected working mode to the default working mode.

[0072] In an optional embodiment, when switching the user equipment from the expected working mode to the default working mode, the mode switching module is specifically configured to:

[0073] Sending an access registration request to the network device, and receiving an access registration response returned by the network device based on the access registration request; and

[0074] If the access registration response indicates that the user equipment is registered with the access network device, the user equipment is switched from the expected working mode to the default working mode.

[0075] In an optional embodiment, the operating mode switching device of the user equipment further includes: a signal sending module, wherein the signal sending module is specifically configured to:

[0076] If the user equipment is in the default working mode, the optical splitter is instructed to attenuate the optical signal sent by the PON optical module of the user equipment and then send it to the network device.

[0077] In an optional embodiment, the operating mode switching device of the user equipment further includes: a signal sending module, wherein the signal sending module is specifically configured to:

[0078] If the user equipment is in the expected working mode, the optical signal emitted by the PON optical module of the user equipment is directly sent to the network device through the optical fiber.

[0079] In a fourth aspect, an embodiment of the present application further provides a signal processing device for a network device, the device comprising:

[0080] A signal processing module is configured to receive an optical signal sent by a user device in an expected working mode via a PON optical module; process the power of the received optical signal based on the receiving sensitivity of the optical module of the network device and then perform photoelectric conversion;

[0081] The expected working mode is different from the default working mode of the user equipment. The default working mode is used to indicate that the user equipment uses the uplink bandwidth in a time division multiplexing manner in the passive optical network PON.

[0082] In an optional embodiment, before receiving the optical signal sent by the user equipment in the expected working mode through the PON optical module, the signal processing device of the network device further includes: an information sending module, wherein the information sending module is specifically configured to:

[0083] A user device interconnection request is sent to the user device through the optical module; wherein the user device interconnection request carries an expected working mode message of the expected working mode of the user device, and the message type corresponding to the expected working mode message is different from the message type when the user device is in the default working mode.

[0084] In a fifth aspect, an embodiment of the present application further provides an optical module, which is installed on a network device and directly connected to a user device in an expected working mode through an optical fiber, including:

[0085] The optical module is used to: when receiving an optical signal sent by a user device through a PON optical module, process the power of the received optical signal based on the receiving sensitivity of the optical module and then perform optical-to-electrical conversion; wherein the expected operating mode is different from the default operating mode of the user device, and the default operating mode is used to indicate that the user device uses the uplink bandwidth in a time division multiplexing manner in the passive optical network (PON).

[0086] In an optional embodiment, the optical module is further used for:

[0087] Send a user equipment interconnection request to the user equipment; wherein the user equipment interconnection request carries an expected working mode message of the expected working mode of the user equipment, and the message type corresponding to the expected working mode message is different from the message type when the user equipment is in the default working mode.

[0088] In a sixth aspect, the present application provides an electronic device comprising a processor and a memory, wherein the memory stores a program code, and when the program code is executed by the processor, the processor executes the steps of the working mode switching method of the user equipment described in the first aspect, or the steps of the signal processing method of the network equipment described in the second aspect.

[0089] In the seventh aspect, the present application provides a computer-readable storage medium comprising a program code. When the program code is run on an electronic device, the program code is used to enable the electronic device to execute the steps of the user device working mode switching method described in the first aspect, or the steps of the signal processing method of the network device described in the second aspect.

[0090] In an eighth aspect, the present application provides a computer program product, which, when called by a computer, enables the computer to execute the steps of the working mode switching method of the user equipment as described in the first aspect, or the steps of the signal processing method of the network equipment as described in the second aspect.

[0091] In a ninth aspect, the present application provides a communication system, including: a user device and a network device;

[0092] The user equipment is configured to obtain a user equipment interconnection request sent by a network device, parse the user equipment interconnection request, and obtain an expected working mode message carrying an expected working mode of the user equipment; and, if a message type corresponding to the expected working mode message is different from a message type when the user equipment is in a default working mode, switch the user equipment from the default working mode to the expected working mode based on the expected working mode message, and after switching to the expected working mode, send an optical signal to the network device through a PON optical module; wherein the default working mode is used to indicate that the user equipment uses uplink bandwidth in a time division multiplexing manner in a passive optical network (PON);

[0093] The network device is used to receive an optical signal sent by a user device in an expected working mode through a PON optical module. The optical module of the network device processes the power of the received optical signal based on the receiving sensitivity of the optical module and then performs photoelectric conversion, and sends a user device interconnection request to the user device through the optical module.

[0094] In the working mode switching method of a user device provided in an embodiment of the present application, a user device interconnection request sent by a network device is obtained, and the user device interconnection request is parsed to obtain an expected working mode message carrying the expected working mode of the user device. If the message type corresponding to the expected working mode message is different from the message type when the user device is in the default working mode, the user device is switched from the default working mode to the expected working mode based on the expected working mode message; in this way, the user device can be used as a traditional ONU device to perform point-to-multipoint interconnection with the network device, and can also achieve point-to-point interconnection with the network device, effectively improving the problem of a single working mode and low usage flexibility of traditional user devices, thereby improving the working mode diversity and usage flexibility of traditional user devices.

[0095] In addition, other features and advantages of the present application will be described in the following description, and in part will become apparent from the description, or may be understood by practicing the present application. The objectives and other advantages of the present application can be realized and obtained through the structures particularly pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0096] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0097] FIG1 is a schematic structural diagram of a PON system provided in an embodiment of the present application.

[0098] FIG2 is a schematic diagram of an optional system architecture applicable to an embodiment of the present application.

[0099] FIG3 is a schematic diagram of a connection between a network device and a user device provided in an embodiment of the present application.

[0100] FIG4 is a schematic diagram of an implementation flow of a method for switching a working mode of a user equipment provided in an embodiment of the present application.

[0101] FIG5 is a logical diagram of a user device switching from a default working mode to an expected working mode provided in an embodiment of the present application.

[0102] FIG6 is a logical diagram of a user device switching from a default working mode to an expected working mode provided in an embodiment of the present application.

[0103] FIG7 is a schematic diagram of an example scenario in which a user device automatically identifies and switches working modes, provided in an embodiment of the present application.

[0104] FIG8 is a schematic structural diagram of a device for switching a working mode of a user equipment provided in an embodiment of the present application.

[0105] FIG9 is a schematic structural diagram of a signal processing device of a network device provided in an embodiment of the present application.

[0106] FIG10 is a schematic structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0107] To make the purpose, technical solutions, and advantages of the embodiments of this application more clear, the technical solutions of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of the technical solutions of this application, but not all of them. Based on the embodiments described in this application document, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the technical solutions of this application.

[0108] It should be noted that in the description of this application, "multiple" is understood to mean "at least two." "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. A and B are connected, which can mean: A and B are directly connected, and A and B are connected through C. In addition, in the description of this application, words such as "first" and "second" are only used for the purpose of distinguishing descriptions, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying an order.

[0109] In addition, the collection, dissemination, and use of data in the technical solution of this application comply with the requirements of relevant national laws and regulations.

[0110] Some technical terms in the embodiments of the present application are explained below to facilitate understanding by those skilled in the art.

[0111] (1) PON: It is a communication network architecture that uses optical fiber transmission technology. It uses optical fiber as the transmission medium to transmit optical signals to users, achieving high-speed data transmission and broadband access.

[0112] (2) OLT: It is the core device of the PON network, responsible for sending and receiving optical signals, converting data into optical signals and transmitting them to the user end through optical fiber.

[0113] (3) ODN: Also known as optical fiber distribution network, it is responsible for transmitting optical signals from the OLT to user terminals. It usually adopts a tree or star topology and transmits signals to different users through optical fiber branches.

[0114] (4) ONU: This is a user-side device, usually installed in a user's home, office, or campus. It is mainly responsible for receiving optical signals and converting them into electrical signals, providing network connections to user devices such as computers, phones, and routers.

[0115] (5) Ethernet: It is a common communication protocol and packet-switching-based network technology, which is widely used in local area networks (LANs) to achieve data transmission / interaction.

[0116] (6) Multi-Point Control Protocol (MPCP): It is the protocol of the Media Access Control (MAC) sublayer in the Ethernet Passive Optical Network (EPON).

[0117] It should be noted that MPCP also defines a control mechanism between OLT and ONU, which can be used to coordinate the effective sending and receiving of data / messages.

[0118] (7) EPON: It is a PON technology based on Ethernet network. It adopts point-to-multipoint structure and passive optical fiber transmission, and can provide multiple services on Ethernet network.

[0119] (8) BOSA: A component used in the field of optical communications, usually containing components such as lasers, photodetectors, and photoelectric converters, used to convert optical signals into electrical signals or vice versa. It plays an important role in optical fiber communication systems and is used in the manufacture and integration of optical modules, optical transceivers, and optical network equipment. BOSA is one of the core components of optical modules. Common applications include optical signal modulation and demodulation in optical fiber transceivers (Trx), optical network interface cards (NICs), and optical network equipment. It can achieve high-speed optical signal transmission and reception to support high-speed and long-distance transmission in optical fiber communication systems.

[0120] Furthermore, based on the above-mentioned nouns and related terminology, the following briefly introduces the design concept of the embodiments of the present application:

[0121] The optical signal used in PON needs to pass through the optical splitter, which will cause significant optical attenuation. Typically, a 1:16 (1 to 16) optical splitter will cause 14.1 decibels (English: decibel, abbreviated: dB) of attenuation, and a 1:32 optical splitter will cause 17.4dB of attenuation.

[0122] Therefore, in order to meet the optical path attenuation loss that is greater than that of general Ethernet networks, the luminous power of PON optical modules (including the optical modules of OLT devices and ODN devices) will be enhanced to offset the additional optical path loss caused by the splitter, so that the light intensity of the optical signal when it reaches both ends will not be less than the receiving sensitivity of the PON optical module due to excessive attenuation, causing bit errors.

[0123] However, since the luminous power of the PON optical module is additionally enhanced (i.e., the PON optical module can emit a very strong optical signal), PON devices (i.e., the OLT device and the ONU device) are not allowed to be directly connected (short-circuited) without passing through an optical splitter. This is because without passing through an optical splitter, the high-power light intensity at the transmitting end will be directly received by the other end without sufficient attenuation. At this time, the excessive light intensity will exceed the receiving sensitivity of the PON optical module, which will also cause bit errors.

[0124] For example, as shown in Figure 1, ONU devices generally need to be interconnected with OLT devices through an optical splitter. Since ONU devices are user-side devices and are deployed in large quantities in PON systems, in order to reduce the cost of ONU devices, the optical module of the ONU device is usually connected to the OLT device. BOSA is fixed to the ONU device and replaced with a small form pluggable (SFP) packaged optical module so that when in use, only the optical fiber head needs to be inserted into the BOSA.

[0125] In addition, since the upstream traffic of the ONU device uses the upstream bandwidth resources in a time-division multiplexing mechanism, the ONU device needs to use bandwidth resources based on the time schedule issued by the OLT device to complete data transmission.

[0126] As can be seen, in the aforementioned PON system, ONU devices can only be used as optical network devices for branch fiber connections, meaning that the ONU devices have a single operating mode. Therefore, if the user does not have PON requirements (for example, the ONU device's uplink bandwidth is insufficient), the ONU device will be useless, resulting in a waste of investment. For example, traditional ONU devices cannot function as general switching network devices for point-to-point communication with OLT devices / switch devices, utilizing the full bandwidth.

[0127] Specifically, the ONUs in traditional PONs operate only in a point-to-multipoint connection mode and are connected to the OLT via an optical splitter. The ONU's upstream traffic shares upstream bandwidth resources with other ONUs through time-division multiplexing. Therefore, if an ONU needs to be connected to the OLT independently, this architecture must be used, using an optical splitter. Furthermore, the OLT must allocate the maximum amount of time the ONU spends on upstream bandwidth. However, because MPCP includes some useless resource overhead, this results in some bandwidth waste.

[0128] Furthermore, if the ONU device needs to be directly interconnected with the OLT device, an additional accessory related to optical signal attenuation, such as a splitter or an optical attenuator, needs to be added. If an optical splitter is used, due to its large size, it will lead to deployment difficulties and the presence of multiple splitting interfaces will easily lead to the risk of signal leakage. If an optical attenuator is used, it is necessary to select an optical attenuator with suitable specifications, which is troublesome to select and requires strong professionalism.

[0129] If the user does not have PON requirements (for example, the uplink bandwidth of the ONU device is insufficient), the ONU device will be useless, resulting in a waste of investment.

[0130] Although the hardware architecture of the ONU device itself can be modified to be used as a switch, the optical module is usually fixed using BOSA in the ONU device and cannot be replaced. Therefore, when the optical module emits too much light, it cannot or is difficult to connect to a general switch. In addition, the optical port of the ONU device is usually in PON mode by default, making it impossible to use it as an Ethernet switch. It is not difficult to see that traditional user equipment (such as ONU devices) has a single working mode and low flexibility.

[0131] In an embodiment of the present application, a method for switching the working mode of a user device is proposed, which specifically includes: obtaining a user device interconnection request sent by a network device, parsing the user device interconnection request, and obtaining an expected working mode message carrying the expected working mode of the user device; then, if the message type corresponding to the expected working mode message is different from the message type when the user device is in the default working mode, switching the user device from the default working mode to the expected working mode based on the expected working mode message; wherein the default working mode is used to indicate that the user device uses the uplink bandwidth in a time division multiplexing manner in the PON; in this way, based on the expected working mode message carrying the expected working mode, the diversity of the working modes of the user device is achieved.

[0132] In particular, the preferred embodiments of the present application are described below in conjunction with the drawings in the specification. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application and are not used to limit the present application. In addition, the embodiments of the present application and the features in the embodiments may be combined with each other if there is no conflict.

[0133] Refer to Figure 2, which is a schematic diagram of an optional system architecture applicable to an embodiment of the present application. The system architecture includes: a network device 201, a user device 202 and a server 203; wherein, the network device 201 and the user device 202 are connected via an optical fiber, and the server 203 is the server of the user device, which can interact with the user device 202 through the communication network. The communication mode adopted by the communication network may include: wireless communication mode and wired communication mode.

[0134] For example, referring to FIG3 , the network device 201 can be interconnected with the user device 202 via optical fiber and its own customized optical module, or can be interconnected with the user device 202 via optical fiber and an optical attenuation device (eg, a splitter or an optical attenuator).

[0135] Compared with ordinary optical modules, the customized optical module can receive optical signals sent by the PON optical module on the user equipment 202 side, that is, it can receive stronger optical signals.

[0136] In the embodiment of the present application, information exchange can be performed between the network device 201 and the user device 202 via the ODN.

[0137] For another example, the user equipment 202 can access the network through cellular mobile communication technology and communicate with the server 203, wherein the cellular mobile communication technology includes, for example, the fifth generation mobile communication (English: 5th Generation Mobile Networks, abbreviated: 5G) technology.

[0138] Optionally, the user equipment 202 may access the network and communicate with the server 203 via short-range wireless communication, wherein the short-range wireless communication may include, for example, Wireless Fidelity (Wi-Fi) technology.

[0139] The embodiment of the present application does not impose any specific restrictions on the number of communication devices involved in the above system architecture. For example, there may be more servers 203, or no server 203, or other network devices may be included. As shown in Figure 2, only the network device 201, user device 202 and server 203 are described as examples. The following is a brief introduction to the above-mentioned devices and their respective functions.

[0140] The network device 201 is used to receive optical signals sent by the user device through the PON optical module, perform optical-to-electrical conversion on the received optical signals, and send a user device interconnection request to the user device 202 so that the network device 201 and the user device 202 can be interconnected to realize the interaction of relevant information between the two, such as the transmission of optical signals; it is used to send MPCP messages to the user device 202 to set the working mode of the user device 202 to the default working mode; in addition, it can also be used to receive an access registration request sent by the user device 202 and return an access registration response based on the access registration request.

[0141] It should be noted that the above-mentioned PON optical module is an optical module commonly used by user equipment under PON, that is, a common optical module on user equipment.

[0142] Among them, the default working mode is also the working mode of the traditional user equipment, that is, the user equipment 202 can only work in a point-to-multipoint connection mode, connected to the network device 201 through the optical splitter, and the uplink traffic shares the uplink bandwidth resources with other user equipment 202 through the time division multiplexing mechanism; therefore, the above-mentioned default working mode can be called the PON working mode, that is, the user equipment 202 is in the PON mode.

[0143] Optionally, since traditional ONU devices are usually only used as optical network devices connected to branch optical fibers, the above default working mode can also be time division multiplexing mode or splitting mode; it should be noted that the above naming of user equipment working modes is only an exemplary description.

[0144] Exemplarily, the above-mentioned access registration response may indicate that: the user device 202 is registered with the access network device 201, that is, the user device 202 is successfully registered on the network device 201, and information exchange can be performed between the two; similarly, the above-mentioned access registration response may also indicate that: the user device 202 is not successfully registered with the network device 201, that is, the registration of the user device 202 on the network device 201 fails, and information exchange cannot be performed between the two.

[0145] Optionally, in the embodiment of the present application, the network device 201 includes but is not limited to: an OLT device and a general switch; wherein the OLT device supports MPCP, while the general switch generally does not support MPCP.

[0146] The functions of the above-mentioned network device 201 are only part of the functions of the network device 201 in the embodiment of the present application, and all of its functions are not exhaustively listed by way of example, that is, the network device 201 also has other functions. In the embodiment of the present application, other specific functions of the network device 201 are not specifically limited.

[0147] In an embodiment of the present application, if a customized optical module is installed on network device 201, it can be used to directly receive an optical signal sent by a user device in the expected working mode through a PON optical module via an optical fiber. The optical module of the network device can process the power of the received optical signal based on the receiving sensitivity of the optical module and then perform optical-to-electrical conversion; and send a user device interconnection request to the user device through the optical module. It can be seen that the optical module of network device 201 can be used to directly receive an optical signal sent by user device 202 through a PON optical module via an optical fiber. The optical module of network device 201 can process the power of the received optical signal based on the receiving sensitivity of the optical module and then perform optical-to-electrical conversion; and send a user device interconnection request to user device 202. Those skilled in the art will understand that directly through an optical fiber means that there is no attenuation of the optical signal by a device with attenuation function such as an optical splitter or attenuator between network device 201 and user device 202. Those skilled in the art will also understand that the network device 201 and user device 202 can also be cascaded through other network devices and optical fibers.

[0148] User equipment 202 is used to connect to the optical module of network device 201 through optical fiber, or to connect to network device 201 through optical fiber and optical attenuation equipment (as shown in Figure 3); and is used to transmit and process optical signals between network device 201.

[0149] In particular, in an embodiment of the present application, the user device 202 can also automatically identify the expected working mode message carried by the user device interconnection request from the network device 201 to achieve automatic switching of its own working mode, that is, the user device 202 is no longer an optical network device with only a single working mode (only used as a branch optical fiber connection).

[0150] It should also be noted that, as shown in Figure 3, by customizing the optical module based on the traditional optical module, that is, adding a device to the receiving end of the optical module (i.e., the network device 201), the high-power optical signal sent by the PON optical module of the user device 202 is received so that it reaches the range of receiving sensitivity, and the sending power maintains the sending power of the general optical module so that when it is directly connected to the optical fiber without passing through the splitter / optical attenuator, the optical signal will not exceed the receiving sensitivity of the BOSA at the user receiving end (i.e., the user device 202).

[0151] Therefore, by using the optical module in FIG. 3 , the network device 201 and the user device 202 can be directly connected point-to-point via an optical fiber without going through an optical splitter / optical attenuator.

[0152] Server 203 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (English: Content Delivery Network, abbreviated: CDN), as well as big data and artificial intelligence platforms.

[0153] In an embodiment of the present application, the server 203 is used to obtain a user device interconnection request sent by the network device 201, and parse the user device interconnection request to obtain an expected working mode message carrying the expected working mode of the user device 202; then, if the message type corresponding to the expected working mode message is different from the message type when the user device 202 is in the default working mode, the user device 202 is switched from the default working mode to the expected working mode based on the expected working mode message.

[0154] Optionally, if the expected working mode is different from the default working mode, the above-mentioned expected working mode can be: Ethernet working mode, that is, the user device 202 is in Ethernet mode; and, since the user device can use the uplink bandwidth resources at full bandwidth when it is in Ethernet working mode, the Ethernet working mode can also be called full-optical mode; it should also be noted that all or part of the functions of the server 203 can also be implemented on the user device 202.

[0155] The following describes the working mode switching method of the user equipment provided by the exemplary embodiment of the present application in combination with the above-mentioned system architecture and reference to the accompanying drawings. It should be noted that the above-mentioned system architecture is only shown to facilitate understanding of the spirit and principles of the present application, and the implementation of the present application is not limited in this respect.

[0156] Referring to FIG. 4 , which is a schematic diagram of an implementation flow of a method for switching the working mode of a user device provided in an embodiment of the present application, the execution subject is a server (such as a user device on the user side) as an example. The specific implementation flow of the method is as follows:

[0157] S401: Obtain a user equipment interconnection request sent by a network device, parse the user equipment interconnection request, and obtain an expected working mode message carrying an expected working mode of the user equipment.

[0158] Among them, the user equipment interconnection request is used to transmit the expected working mode message of the expected working mode of the user equipment to the user equipment, so that the user equipment adjusts its own working mode according to the expected working mode, and interconnects with the network device after the user equipment adjusts its own working mode to the expected working mode; optionally, the network device can be an OLT device or a (general) switch.

[0159] Illustratively, the user equipment interconnection request may adopt a network protocol related to PON, such as MPCP, or a network protocol related to Ethernet.

[0160] S402: If the message type corresponding to the expected working mode message is different from the message type when the user equipment is in the default working mode, the user equipment is switched from the default working mode to the expected working mode based on the expected working mode message.

[0161] The default working mode is used to indicate that the user device uses the uplink bandwidth in a time-division multiplexing manner in the PON. Optionally, if the optical port of the user device is in the PON mode and the PON optical module of the user device is in a non-luminous state, it can be determined that the user device is in the default working mode. In this way, the server can accurately and quickly determine whether the user device is in the default working mode.

[0162] In particular, the optical port of the user equipment being in the PON mode represents: the operating state of the optical port of the user equipment when it is in the PON mode.

[0163] Exemplarily, the optical port of the above-mentioned user device is in PON mode, including: the optical port of the user device does not have the ability to send optical signals, the optical port of the user device has the ability to receive optical signals, and the optical port of the user device has the ability to receive messages; and, if the PON optical module of the user device is turned off (that is, the light switch of the PON optical module is in the off state), it can be determined that the PON optical module of the user device is in a non-light-emitting state.

[0164] Optionally, when the user equipment is in a default working mode, the MAC forwarding capability of the user equipment is in a disabled state, that is, the MAC forwarding switch is turned off or the user equipment does not have the MAC forwarding capability.

[0165] In an optional implementation, the server can determine whether the message type corresponding to the expected working mode message is the same as the message type when the user device is in the default working mode by judging whether the message protocol type corresponding to the expected working mode message is the same as the message protocol type used when the user device is in the default working mode. That is, if the message protocol type corresponding to the expected working mode message is different from the message protocol type used when the user device is in the default working mode, then it is determined that the message type corresponding to the expected working mode message is different from the message type when the user device is in the default working mode; otherwise, they are the same.

[0166] Through the above embodiments, by using different message protocol types for messages in different working modes, it is possible to quickly determine whether the message type corresponding to the expected working mode message is different from the message type when the user device is in the default working mode, so as to improve the efficiency of subsequent working mode switching.

[0167] Optionally, the message protocol type corresponding to the expected working mode message is a non-MPCP type, and the message protocol type used when the user equipment is in a default working mode is an MPCP type.

[0168] For example, assuming that the message protocol type corresponding to the expected working mode message is the MPCP type, it can be determined that the message protocol type corresponding to the expected working mode message is the same as the message protocol type when the user device is in the default working mode. Assuming that the message protocol type corresponding to the expected working mode message is a non-MPCP type (for example, the message protocol type of the Ethernet-related protocol), it can be determined that the message protocol type corresponding to the expected working mode message is different from the message protocol type when the user device is in the default working mode.

[0169] It should be noted that the message type corresponding to the working mode message is related to the interconnection scenario between the user device and the network device. In addition, since MPCP is usually a point-to-multipoint interconnection scenario, and the point-to-multipoint interconnection scenario between the traditional OLT device and the user device adopts MPCP, if the message protocol type corresponding to the above-mentioned working mode message is not the MPCP type, it can be quickly determined that the message type corresponding to the expected working mode message is different from the message type when the user device is in the default working mode, so that a judgment can be made quickly on whether the working mode of the user device needs to be switched.

[0170] Optionally, the server may also determine whether the message type corresponding to the expected working mode message is the same as the message type when the user device is in the default working mode by sensing the type of the current interconnection scenario. That is, if the type of the current interconnection scenario is perceived to be point-to-multipoint, the server may determine that the message type corresponding to the expected working mode message is the same as the message type when the user device is in the default working mode; conversely, if the type of the current interconnection scenario is perceived to be point-to-point, the server may determine that the message type corresponding to the expected working mode message is different from the message type when the user device is in the default working mode.

[0171] Furthermore, after determining that the message type corresponding to the expected working mode message is different from the message type when the user device is in the default working mode, the server can switch the user device from the default working mode to the expected working mode based on the obtained expected working mode message.

[0172] In an optional implementation, when the server switches the user equipment from the default operating mode to the expected operating mode, it is generally necessary to perform the following operations:

[0173] 1. Switch the optical port of the user equipment from PON mode to Ethernet mode.

[0174] Among them, the optical port of the user device is in Ethernet network mode, which represents: the operating state of the optical port of the user device in Ethernet network mode; illustratively, the optical port of the user device is switched from PON mode to Ethernet network mode including but not limited to: turning on the auto-negotiation capability of the optical port of the user device.

[0175] 2. Enable MAC forwarding on the user device.

[0176] Specifically, the server enables the MAC forwarding capability of the user equipment by turning on the MAC forwarding switch, that is, the MAC forwarding capability of the user equipment is in an enabled state, that is, the MAC forwarding switch is turned on or the user equipment has the MAC forwarding capability.

[0177] 3. Indicates that the PON optical module of the user equipment is in the emitting state.

[0178] Specifically, assuming that the PON optical module of the current user device is in a state of using the uplink bandwidth, that is, the PON optical module of the user device is in a light-emitting state, the server instructs the PON optical module of the user device to maintain the light-emitting state; furthermore, assuming that the PON optical module of the current user device is not using the uplink bandwidth, that is, the PON optical module of the user device is in a non-light-emitting state, the server can turn on the light-emitting switch of the PON optical module of the user device to adjust the PON optical module of the user device from the non-light-emitting state to the light-emitting state.

[0179] Obviously, based on the above-mentioned mode switching method, once it is determined that the message type corresponding to the expected working mode message is different from the message type when the user equipment is in the default working mode, the user equipment can be switched from the default working mode to the expected working mode, thereby increasing the diversity of the user equipment working mode; and, by switching the user equipment from the default working mode to the expected working mode, the user equipment can achieve full bandwidth usage of the uplink bandwidth resources.

[0180] In an optional implementation, referring to FIG5 , when the server determines that the user device has received the optical signal sent by the network device, the server continuously records the MPCP message reception status of the user device; if the MPCP message reception status indicates that the user device has not received the MPCP message sent by the network device within the set time range, the user device is switched from the default working mode to the expected working mode; in this way, even if the user device has not received the expected working mode message, the user device can be automatically switched from the default working mode to the expected working mode when it is determined that the user device can receive the optical signal sent by the network device and the MPCP message reception has timed out.

[0181] Furthermore, since the user device can support the reception of messages (such as MPCP messages) regardless of the working mode, when the user device is in the expected working mode, although the user device can receive MPCP messages and send MPCP messages to the central processing unit (English: Central Processing Unit, abbreviated: CPU), it will not respond to the MPCP messages and only plays the role of detecting the existence of MPCP messages. Therefore, after switching the user device from the default working mode to the expected working mode, the server can also respond to the working mode initialization operation of the user device, or when it is determined that the user device detects that the network device sends an MPCP message, it switches the user device from the expected working mode to the default working mode; in this way, the user device can freely switch between the expected working mode and the default working mode.

[0182] Exemplarily, the above-mentioned working mode initialization operation can be: the plugging and unplugging operation of the optical fiber at the optical port of the user device. After the user device switches from the default working mode to the expected working mode, the server can instruct the user device to actively detect whether the network device is sending MPCP messages. If the user device receives and detects that the network device is sending MPCP messages, it can feedback relevant information to the server, so that the server can switch the user device from the expected working mode to the default working mode based on the feedback relevant information.

[0183] Therefore, referring to Figure 6, the server sends an access registration request to the network device and receives an access registration response returned by the network device based on the access registration request. If the access registration response indicates that the user device has successfully registered with the network device, the user device is switched from the expected working mode to the default working mode. In this way, through the access registration request and the access registration response indicating that the user device has successfully registered with the network device, not only is the user device switched from the expected working mode back to the default working mode, but the flexibility of switching the working mode of the user device is also improved.

[0184] It should be noted that the access registration request can be sent by the user device to the network device, that is, the server instructs the user device to send the access registration request to the network device, or the user device can spontaneously send the access registration request to the network device, and the access registration response is transmitted to the server via the user device.

[0185] Moreover, as still shown in FIG3 , since the network device can be directly connected to the user device through the optical fiber through its own customized optical module to ensure that the user device is in the expected working mode, and the network device can also be connected to the user device through the optical fiber and the optical splitter to ensure that the user device is in the default working mode, it is not difficult to see that: if the user device is in the default working mode, the optical signal emitted by the PON optical module of the user device is attenuated and then sent to the network device; if the user device is in the expected working mode, the optical signal emitted by the PON optical module of the user device is directly sent to the network device through the optical fiber.

[0186] In this way, by setting up optical signal transmission methods for different working modes of user devices (i.e., optical signal transmission method 1: optical module and optical fiber of network equipment, and optical signal transmission method 2: optical fiber and splitter), the diversity of working modes and flexibility of use of user devices are also ensured to a certain extent.

[0187] Based on the method for switching the working mode of the user equipment described in steps S401 to S402 above, as shown in FIG7 , the user equipment can implement working mode identification and switching in the following three scenarios:

[0188] It should be noted that, in the initial state, the working mode of the user device is the default working mode (i.e., PON working mode), specifically including: the optical port (i.e., PON port) of the user device defaults to PON (optical port / port) mode, that is, the optical port of the user device is in a state where it cannot send optical signals, but can receive optical signals and receive messages, and can also detect whether an optical signal is received.

[0189] Exemplarily, whether there is an optical signal at the optical port of the user equipment, that is, whether the user equipment receives the optical signal, may be detected according to a set optical signal detection period.

[0190] A. Scenario 1 (general PON usage scenario):

[0191] This is the default working mode of existing user devices.

[0192] Therefore, in this scenario, when the user equipment receives the MPCP message from the network device (eg, OLT device), it will initiate registration with the network device, that is, send an access registration request to the network device.

[0193] After registration is completed, the user equipment will use the uplink bandwidth (resources) in a time division multiplexing manner according to the time schedule issued by the OLT device, so that the user equipment is in the default working mode.

[0194] B. Scenario 2 (the message type corresponding to the expected working mode message is not the MPCP type):

[0195] In this scenario, the OLT device sends information (ie, expected working mode message, also called Ethernet network mode message) to the user device, notifying the user device that the working mode is the Ethernet network working mode.

[0196] Then, the working mode of the user device can be switched from the PON working mode (i.e., the default working mode) to the Ethernet working mode (i.e., the expected working mode), specifically including: switching the optical port of the user device to the Ethernet mode (e.g., turning on the auto-negotiation function / capability of the optical port), turning on the optical module (i.e., adjusting the PON optical module of the user device from a non-lighting state to a light-emitting state), and turning on the MAC forwarding function (i.e., turning on the MAC forwarding capability of the user device).

[0197] C. Scenario 3 (optical signal received, and MPCP message reception timeout):

[0198] In this scenario, when it is detected that the optical port of the user device has received an optical signal and no MPCP message has been received within the set time range (i.e., the MPCP message reception timeout), the working mode of the user device can be switched from the PON working mode to the Ethernet working mode, specifically including: automatically switching the optical port of the user device to the Ethernet mode (e.g., turning on the auto-negotiation function / capability of the optical port), turning on the optical module (i.e., adjusting the PON optical module of the user device from a non-lighting state to a light-emitting state), and turning on the MAC forwarding function (i.e., turning on the MAC forwarding capability of the user device).

[0199] It should be noted that the above MPCP messages may all be MPCP registration messages, that is, access registration responses indicating that the user equipment has successfully registered with the network device.

[0200] Obviously, based on the above method steps, the user equipment can be used as an existing user equipment to conduct point-to-multipoint interconnection with the network equipment, or as an Ethernet network device to conduct point-to-point interconnection with the network equipment, depending on the usage scenario (such as point-to-multipoint interconnection and point-to-point interconnection); and the optical module of the network equipment can realize the direct connection between the user equipment and the network equipment through optical fiber without passing through an optical attenuator or splitter; therefore, automatic identification and switching of the user equipment working mode is realized.

[0201] Furthermore, assuming that the executing entity is a network device on the central office side as an example, the signal processing method of the corresponding network device can be implemented, specifically including: when an optical signal is received directly through the optical fiber from a user device in the expected working mode through a PON optical module, the optical module of the network device processes the power of the received optical signal based on the receiving sensitivity of the optical module and then performs photoelectric conversion; and, sending a user device interconnection request to the user device through the optical module.

[0202] To sum up, in the working mode switching method of a user device provided in the present application, a user device interconnection request sent by a network device is obtained, and the user device interconnection request is parsed to obtain an expected working mode message carrying the expected working mode of the user device. If the message type corresponding to the expected working mode message is different from the message type when the user device is in the default working mode, the user device is switched from the default working mode to the expected working mode based on the expected working mode message.

[0203] In this way, the user equipment can be used as an existing user equipment to conduct point-to-multipoint interconnection with the network equipment, and can also realize point-to-point interconnection with the network equipment, effectively improving the problem of single working mode and low flexibility of use of existing user equipment, thereby improving the diversity of working modes and flexibility of use of existing user equipment; in addition, through the expected working mode with different message types from the default working mode, the user equipment can achieve full bandwidth utilization of uplink bandwidth resources.

[0204] Furthermore, based on the same technical concept, an embodiment of the present application provides a user equipment operating mode switching device, which is applied to a user equipment on the user side. The user equipment operating mode switching device is used to implement the above-mentioned method flow of the embodiment of the present application. Referring to Figure 8, the user equipment operating mode switching device includes: a message acquisition module 801, a mode switching module 802, and a signal sending module 803, wherein:

[0205] The message acquisition module 801 is used to obtain a user equipment interconnection request sent by a network device, and parse the user equipment interconnection request to obtain an expected working mode message carrying an expected working mode of the user equipment;

[0206] The mode switching module 802 is used to switch the user equipment from the default working mode to the expected working mode based on the expected working mode message if the message type corresponding to the expected working mode message is different from the message type when the user equipment is in the default working mode; wherein the default working mode is used to indicate that the user equipment uses the uplink bandwidth in a passive optical network PON in a time division multiplexing manner.

[0207] In an optional embodiment, the message type corresponding to the expected working mode message is determined to be different from the message type when the user equipment is in the default working mode in the following manner:

[0208] If the message protocol type corresponding to the expected working mode message is different from the message protocol type used when the user device is in the default working mode, then it is determined that the message type corresponding to the expected working mode message is different from the message type when the user device is in the default working mode.

[0209] In an optional embodiment, the message protocol type corresponding to the expected working mode message is a non-Multipoint Control Protocol MPCP type, and the message protocol type used by the user equipment when it is in a default working mode is the MPCP type.

[0210] In an optional embodiment, if the following conditions are met, it is determined that the user equipment is in the default working mode:

[0211] The optical port of the user equipment is in PON mode;

[0212] The PON optical module of the user equipment is in a non-emitting state.

[0213] In an optional embodiment, when switching the user equipment from the default operating mode to the expected operating mode, the mode switching module 802 is specifically configured to:

[0214] Switch the optical port of the user equipment from PON mode to Ethernet mode;

[0215] Enable the media access control address MAC forwarding capability of the user device;

[0216] Indicates that the PON optical module of the user equipment is in the emitting state.

[0217] In an optional embodiment, the mode switching module 802 is further configured to:

[0218] When it is determined that the user equipment has received the optical signal sent by the network device, the user equipment's MPCP message reception status is continuously recorded;

[0219] If the MPCP message reception condition indicates that the user equipment has not received the MPCP message sent by the network device within the set time range, the user equipment is switched from the default working mode to the expected working mode.

[0220] In an optional embodiment, after the user equipment is switched from the default operating mode to the expected operating mode, the mode switching module 802 is further configured to:

[0221] In response to an operation to initialize the working mode of the user equipment, switching the user equipment from the expected working mode to the default working mode; or,

[0222] When it is determined that the user equipment detects that the network device sends the MPCP message, the user equipment is switched from the expected working mode to the default working mode.

[0223] In an optional embodiment, when switching the user equipment from the expected working mode to the default working mode, the mode switching module 802 is specifically configured to:

[0224] Sending an access registration request to the network device, and receiving an access registration response returned by the network device based on the access registration request;

[0225] If the access registration response indicates that the user equipment is successfully registered with the network device, the user equipment is switched from the expected working mode to the default working mode.

[0226] In an optional embodiment, the operating mode switching device of the user equipment further includes: a signal sending module 803, and the signal sending module 803 is specifically configured to:

[0227] If the user equipment is in the default working mode, the optical signal emitted by the PON optical module of the user equipment is attenuated and then sent to the network device;

[0228] If the user equipment is in the expected working mode, the optical signal emitted by the PON optical module of the user equipment is directly sent to the network device through the optical fiber.

[0229] Furthermore, based on the same technical concept, an embodiment of the present application provides a signal processing device for a network device, which is applied to a network device on the central office side. The signal processing device of the network device is used to implement the above-mentioned method flow of the embodiment of the present application. Referring to FIG. 9 , the signal processing device of the network device includes: a signal processing module 901, wherein:

[0230] The signal processing module 901 is used to process the power of the received optical signal based on the receiving sensitivity of the optical module and then perform photoelectric conversion on the optical module when the optical signal is received directly through the optical fiber from the user equipment in the expected working mode through the PON optical module. The expected working mode is different from the default working mode of the user equipment. The default working mode is used to indicate that the user equipment uses the uplink bandwidth in the passive optical network PON in a time division multiplexing manner.

[0231] In an optional embodiment, before receiving the optical signal sent by the user equipment in the expected working mode through the PON optical module, the signal processing device of the network device further includes: an information sending module 902, wherein the information sending module 902 is specifically configured to:

[0232] A user device interconnection request is sent to the user device through the optical module; wherein the user device interconnection request carries an expected working mode message of the expected working mode of the user device, and the message type corresponding to the expected working mode message is different from the message type when the user device is in the default working mode.

[0233] Based on the same inventive concept, an embodiment of the present application further provides an optical module, which is mounted on a network device and directly connected to a user device in an expected working mode via an optical fiber, including:

[0234] The optical module is used to: when directly receiving an optical signal sent by a user device through a PON optical module through an optical fiber, process the power of the received optical signal based on the receiving sensitivity of the optical module and then perform photoelectric conversion; wherein the expected operating mode is different from the default operating mode of the user device, and the default operating mode is used to indicate that the user device uses the uplink bandwidth in a time division multiplexing manner in the passive optical network (PON).

[0235] In an optional embodiment, the optical module is further used for:

[0236] Send a user equipment interconnection request to the user equipment; wherein the user equipment interconnection request carries an expected working mode message of the expected working mode of the user equipment, and the message type corresponding to the expected working mode message is different from the message type when the user equipment is in the default working mode.

[0237] Based on the same technical concept, an embodiment of the present application further provides an optical module, which is installed on a network device and directly connected to a user device in an expected working mode through an optical fiber, including:

[0238] The optical module is used to: when directly receiving an optical signal sent by a user device through a PON optical module through an optical fiber, process the power of the received optical signal based on the receiving sensitivity of the optical module and then perform photoelectric conversion; wherein the expected operating mode is different from the default operating mode of the user device, and the default operating mode is used to indicate that the user device uses the uplink bandwidth in a time division multiplexing manner in the PON.

[0239] In an optional embodiment, the optical module is further used for:

[0240] Send a user equipment interconnection request to the user equipment; wherein the user equipment interconnection request carries an expected working mode message of the expected working mode of the user equipment, and the message type corresponding to the expected working mode message is different from the message type when the user equipment is in the default working mode.

[0241] Based on the same technical concept, an embodiment of the present application further provides an electronic device that can implement the operating mode switching of a user device or the signal processing method flow of a network device provided in the above embodiments of the present application. In one embodiment, the electronic device can be a server, a terminal device, or other electronic device. Referring to FIG10 , the electronic device may include:

[0242] At least one processor 1001, and a memory 1002 connected to at least one processor 1001. In the embodiments of the present application, the specific connection medium between the processor 1001 and the memory 1002 is not limited. FIG10 takes the connection between the processor 1001 and the memory 1002 via the bus 1000 as an example. The bus 1000 is represented by a bold line in FIG10, and the connection between other components is only for schematic illustration and is not intended to be limiting. The bus 1000 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, FIG10 only uses a bold line to represent it, but this does not mean that there is only one bus or one type of bus. Alternatively, the processor 1001 can also be called a controller, and there is no limitation on the name.

[0243] In an embodiment of the present application, memory 1002 stores instructions executable by at least one processor 1001. By executing the instructions stored in memory 1002, at least one processor 1001 can perform a method for switching the operating mode of a user device or a signal processing method for a network device discussed above. Processor 1001 can implement the functions of each module in the apparatus shown in Figure 8 or Figure 9.

[0244] Among them, the processor 1001 is the control center of the device, which can use various interfaces and lines to connect the various parts of the entire control device, and monitor the device as a whole by running or executing instructions stored in the memory 1002 and calling data stored in the memory 1002, the various functions of the device and processing data.

[0245] In one possible design, processor 1001 may include one or more processing units. Processor 1001 may integrate an application processor and a modem processor. The application processor primarily processes the operating system, user interface, and application programs, while the modem processor primarily handles wireless communications. It is understood that the modem processor may not be integrated into processor 1001. In some embodiments, processor 1001 and memory 1002 may be implemented on the same chip. In some embodiments, they may also be implemented on separate chips.

[0246] The processor 1001 can be a general-purpose processor, such as a CPU, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of this application. A general-purpose processor can be a microprocessor or any conventional processor. In conjunction with the steps of the method for switching the working mode of a user device or processing the signal of a network device disclosed in the embodiments of this application, the steps can be directly embodied as being executed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor.

[0247] The memory 1002 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The memory 1002 may include at least one type of storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory, a random access memory (English: Random Access Memory, abbreviated: RAM), a static random access memory (English: Static Random Access Memory, abbreviated: SRAM), a programmable read-only memory (English: Programmable Read Only Memory, abbreviated: PROM), a read-only memory (English: Read Only Memory, abbreviated: ROM), an electrically erasable programmable read-only memory (English: Electrically Erasable Programmable Read-Only Memory, abbreviated: EEPROM), a magnetic memory, a disk, an optical disk, etc. The memory 1002 is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 1002 in the embodiment of the present application can also be a circuit or any other device that can realize a storage function, for storing program instructions and / or data.

[0248] By designing and programming the processor 1001, the code corresponding to the method for switching the operating mode of a user device or the signal processing method for a network device described in the aforementioned embodiments can be embedded in the chip, so that the chip can execute the steps of the method for switching the operating mode of a user device or the steps of the signal processing method for a network device in the embodiment shown in FIG4 during operation. How to design and program the processor 1001 is well known to those skilled in the art and will not be described in detail here.

[0249] Based on the same inventive concept, the present application provides a communication system, including: user equipment and network equipment;

[0250] The user equipment is configured to obtain a user equipment interconnection request sent by a network device, parse the user equipment interconnection request, and obtain an expected working mode message carrying an expected working mode of the user equipment; and if a message type corresponding to the expected working mode message is different from a message type when the user equipment is in a default working mode, switch the user equipment from the default working mode to the expected working mode based on the expected working mode message, and after switching to the expected working mode, send an optical signal to the network device through a PON optical module; wherein the default working mode is used to indicate that the user equipment uses uplink bandwidth in a time division multiplexing manner in the PON;

[0251] The network device is used to, when receiving an optical signal sent by a user device in an expected working mode through a PON optical module directly through an optical fiber, process the power of the received optical signal based on the receiving sensitivity of the optical module and then perform photoelectric conversion on the optical signal, and send a user device interconnection request to the user device through the optical module.

[0252] Based on the same inventive concept, an embodiment of the present application also provides a storage medium, which stores computer instructions. When the computer instructions are executed on a computer, the computer executes a user device working mode switching method or a network device signal processing method discussed above.

[0253] In some possible implementations, the present application also provides various aspects of a method for switching the working mode of a user device or a signal processing method of a network device, which can also be implemented in the form of a program product, which includes program code. When the program product is run on the device, the program code is used to enable the control device to execute the steps of a method for switching the working mode of a user device or a signal processing method of a network device according to various exemplary implementations of the present application described above in this specification.

[0254] It should be noted that although several units or subunits of the device are mentioned in the detailed description above, this division is merely exemplary and not mandatory. In fact, depending on the embodiment of the application, the features and functions of two or more units described above can be embodied in a single unit. Conversely, the features and functions of a single unit described above can be further divided and embodied by multiple units.

[0255] Furthermore, although the operations of the method of the present application are described in a particular order in the accompanying drawings, this does not require or imply that the operations must be performed in this particular order, or that all illustrated operations must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0256] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0257] The present application is described with reference to the flowchart and / or block diagram of the method, device (system), and computer program product according to the embodiment of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, and the combination of the process and / or box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to generate a server, so that the instructions executed by the processor of the computer or other programmable data processing device generate a device for implementing the function specified in one process or multiple processes in the flowchart and / or one box or multiple boxes in the block diagram.

[0258] The program code used to perform the operations of the present application may be written using any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computing device, partially on the user's device, as a stand-alone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0259] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0260] Obviously, those skilled in the art may make various changes and modifications to this application without departing from the spirit and scope of this application. Thus, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalents, this application is intended to include these modifications and variations.

Claims

1. A method for switching a working mode of a user equipment, comprising: Obtaining a user device interconnection request sent by a network device; parsing the user equipment interconnection request to obtain an expected working mode message carrying the expected working mode of the user equipment; and If the message type corresponding to the expected working mode message is different from the message type when the user equipment is in the default working mode, the user equipment is switched from the default working mode to the expected working mode based on the expected working mode message; wherein the default working mode is used to instruct the user equipment to use the uplink bandwidth in a passive optical network PON in a time division multiplexing manner.

2. The method of claim 1, wherein: The determining that the message type corresponding to the expected working mode message is different from the message type when the user equipment is in the default working mode includes: If the message protocol type corresponding to the expected working mode message is different from the message protocol type used when the user device is in the default working mode, then it is determined that the message type corresponding to the expected working mode message is different from the message type when the user device is in the default working mode.

3. The method of claim 2, wherein: The message protocol type corresponding to the expected working mode message is a non-multipoint control protocol MPCP type, and the message protocol type used by the user equipment when it is in a default working mode is an MPCP type.

4. The method of claim 1, wherein: If the following conditions are met, it is determined that the user equipment is in the default working mode: The optical port of the user equipment is in PON mode; and The PON optical module of the user equipment is in a non-luminous state.

5. The method according to any one of claims 1 to 4, wherein: The switching the user equipment from the default working mode to the expected working mode includes: Switching the optical port of the user equipment from PON mode to Ethernet mode; Enabling a media access control address MAC forwarding capability of the user equipment; and Indicates that the PON optical module of the user equipment is in a light-emitting state.

6. The method according to any one of claims 1 to 5, wherein: The method further comprises: When it is determined that the user equipment has received the optical signal sent by the network equipment, continuously recording the MPCP message reception status of the user equipment; and If the MPCP message reception status indicates that the user equipment has not received the MPCP message sent by the network device within a set time range, the user equipment is switched from the default working mode to the expected working mode.

7. The method according to any one of claims 1 to 6, wherein: After the user equipment is switched from the default working mode to the expected working mode, the method further includes: In response to an operation of initializing the working mode of the user equipment, switching the user equipment from the expected working mode to the default working mode; or, When it is determined that the user equipment detects that the network equipment sends an MPCP message, the user equipment is switched from the expected working mode to the default working mode.

8. The method of claim 7, wherein: The switching the user equipment from the expected working mode to the default working mode includes: Sending an access registration request to the network device, and receiving an access registration response returned by the network device based on the access registration request; and If the access registration response indicates that the user equipment is successfully registered with the network device, the user equipment is switched from the expected working mode to the default working mode.

9. The method according to any one of claims 1 to 8, wherein: The method further comprises: If the user equipment is in the default working mode, the optical splitter is instructed to attenuate the optical signal emitted by the PON optical module of the user equipment and then send it to the network device.

10. The method according to any one of claims 1 to 8, wherein: The method further comprises: If the user equipment is in the expected working mode, the optical signal emitted by the PON optical module of the user equipment is directly sent to the network equipment through the optical fiber.

11. A signal processing method for a network device, comprising: Receiving an optical signal sent by a user device in an expected working mode through a PON optical module; as well as The optical module of the network device processes the power of the received optical signal based on the receiving sensitivity of the optical module and then performs photoelectric conversion; The expected working mode is different from a default working mode of the user equipment, and the default working mode is used to instruct the user equipment to use the uplink bandwidth in a passive optical network PON in a time division multiplexing manner.

12. The method of claim 11, wherein: The optical module of the network device processes the power of the received optical signal based on the receiving sensitivity of the optical module, including: The optical signal is subjected to power attenuation processing until the power of the optical signal is within the range of the receiving sensitivity.

13. The method of claim 11, wherein: Before receiving the optical signal sent by the user equipment in the expected working mode through the PON optical module, the method further includes: Sending a user equipment interconnection request to the user equipment; wherein the user equipment interconnection request carries an expected working mode message of the expected working mode of the user equipment, and the message type corresponding to the expected working mode message is different from the message type when the user equipment is in the default working mode.

14. The method of claim 13, wherein: The message type corresponding to the expected working mode message is different from the message type when the user equipment is in the default working mode, including: If the message protocol type corresponding to the expected working mode message is different from the message protocol type used when the user device is in the default working mode, then it is determined that the message type corresponding to the expected working mode message is different from the message type when the user device is in the default working mode.

15. A device for switching a working mode of a user equipment, comprising: A message acquisition module, used to acquire a user equipment interconnection request sent by a network device, and parse the user equipment interconnection request to obtain an expected working mode message carrying an expected working mode of the user equipment; as well as A mode switching module is used to switch the user equipment from the default working mode to the expected working mode based on the expected working mode message if the message type corresponding to the expected working mode message is different from the message type when the user equipment is in the default working mode; wherein the default working mode is used to indicate that the user equipment uses the uplink bandwidth in a passive optical network PON in a time division multiplexing manner.

16. A signal processing device for a network device, comprising: A signal processing module is used for, when receiving an optical signal sent by a user device in an expected working mode through a PON optical module, processing the power of the received optical signal based on the receiving sensitivity of the optical module of the network device and then performing photoelectric conversion; wherein the expected working mode is different from a default working mode of the user device, and the default working mode is used to indicate that the user device uses the uplink bandwidth in a passive optical network PON in a time division multiplexing manner.

17. An optical module, the optical module being installed on a network device, the optical module being directly connected to a user device in an expected working mode through an optical fiber, comprising: The optical module is used for: when receiving the optical signal sent by the user equipment through the PON optical module, processing the power of the received optical signal based on the receiving sensitivity of the optical module and then performing photoelectric conversion; wherein the expected working mode is different from the default working mode of the user equipment, and the default working mode is used to indicate that the user equipment uses the uplink bandwidth in a time division multiplexing manner in the passive optical network PON.

18. An electronic 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 computer program, the method according to any one of claims 1 to 10 or the method according to any one of claims 11 to 14 is implemented.

19. A computer-readable storage medium, comprising a program code, wherein when the program code is executed, the program code is used to implement the method according to any one of claims 1 to 10, or the method according to any one of claims 11 to 14.

20. A communication system comprising: A user device, used to obtain a user device interconnection request sent by the network device, and parse the user device interconnection request to obtain an expected working mode message carrying the expected working mode of the user device; and, if the message type corresponding to the expected working mode message is different from the message type when the user device is in the default working mode, then based on the expected working mode message, the user device is switched from the default working mode to the expected working mode, and after switching to the expected working mode, an optical signal is sent to the network device through a PON optical module; wherein the default working mode is used to indicate that the user device uses the uplink bandwidth in a passive optical network PON in a time division multiplexing manner; and A network device is used for receiving an optical signal sent by a user device in an expected working mode through a PON optical module. The optical module of the network device processes the power of the received optical signal based on the receiving sensitivity of the optical module and then performs photoelectric conversion, and sends a user device interconnection request to the user device through the optical module.

Citation Information

Patent Citations

  • GPON&EPON mode switchable method and dual-mode OLT head end device

    CN113382324A

  • Passive optical network mode adaptive setting method and device, electronic equipment and medium

    CN115914893A

  • Access mode switching method and device, storage medium and electronic device

    CN116546351A

  • Method for setting Security channel on the basis ofMPCP protocol between OLT and ONUs in an EPON network,and MPCP message structure for controlling a frametransmission

    KR1020070061001A

  • Communications Network and Related Device

    US20200343975A1