Communication method, communication device and communication network
The optical signal is converted into an electrical data stream through the photoelectric conversion device, and the ONT is connected by an electrical transmission medium, which solves the problem of poor flexibility in the deployment location of the ONT, and realizes efficient and flexible communication connections, improving user experience and network compatibility.
Patent Information
- Application Number
- CN202311443420.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-31
- Publication Date
- 2025-05-02
AI Technical Summary
In the existing passive fiber network technology, ONT has poor deployment location flexibility, and it is necessary to frequently replace the fiber to adjust the position of the ONT, resulting in unsightly wiring and poor user experience.
The optical signal of the OLT is converted into an electrical data stream through the photoelectric conversion device, and the ONT is connected by an existing electrical transmission medium (such as a network cable) to realize the electrical transmission connection between the ONT and the OLT, avoiding frequent replacement of optical fibers.
Improve ONT deployment flexibility, optimize cabling effect, reduce deployment costs, improve user experience, and enhance the compatibility of communication networks.
Smart Images

Figure CN119922437A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of communications, and in particular, to a communication method, a communication device, and a communication network. Background Art
[0002] Passive optical network (PON) technology is a fiber access technology with advantages such as low networking cost and strong anti-interference ability, and has gradually become the mainstream communication technology of modern communications. PON structure includes: optical line terminal (OLT) located at the central office (such as the central control station), optical network unit (ONU) or optical network terminal (ONT) located at the user end, where OLT and ONT are connected by optical fiber.
[0003] Usually, due to the limitation of the terminal position of the broadband access medium (such as the fiber optic cable entering the home), the operator can only install the ONT near the terminal position of the access medium. For example, for ordinary users, the operator's fiber optic cable entering the home can only be deployed to the handover box of the user's home, so the ONT can only be deployed in a sealed handover box. With the continuous development of science and technology, the current ONT has gradually acquired multiple functions and is often deployed in the living room of the user's home. However, the handover box and the equipment in the living room (such as ONT) in the current house decoration are usually connected by network cables. Therefore, if the deployment position of the ONT needs to be adjusted accordingly, the corresponding optical fiber needs to be deployed again to connect the ONT to the OLT. For example, after the residential decoration, the deployment position of the ONT in the home needs to be changed, and the corresponding optical fiber needs to be deployed separately, resulting in unsightly wiring and poor user experience. Summary of the invention
[0004] The present application provides a communication method, a communication device and a communication network. Through the communication method, an ONT can be connected to an OLT through an electrical transmission medium to achieve communication.
[0005] In a first aspect, a communication method is provided. The communication method is applied to a communication device, and the communication method includes: the communication device receives a first data stream output by a photoelectric conversion device, wherein the photoelectric conversion device is used to generate the first data stream from an optical signal output by an optical line terminal OLT through an optical transmission medium; generates a second data stream according to the first data stream; and sends the second data stream to the ONT through an electrical transmission medium. The photoelectric conversion device may be a device including an optical module or the optical module itself.
[0006] Then, the above scheme can receive the data stream transmitted by the OLT through the photoelectric conversion device, generate a new data stream according to the received data stream, and send it to the ONT through the electrical transmission medium. It is not difficult to understand that the above scheme can be applied to a communication device arranged between the photoelectric conversion device connected to the OLT through the optical transmission medium and the ONT, and the communication device is used to connect with the ONT through the electrical transmission medium. In this way, the above scheme can enable the ONT and the OLT to be connected and communicate through the electrical transmission medium. Generally speaking, the deployment of the electrical transmission medium (including network cables, coaxial cables, etc.) inside the building has been completed after the construction and decoration of the building. However, the ONT and the OLT need to be connected through optical fiber, which requires the corresponding optical fiber to be deployed separately when the ONT is deployed. Based on the above scheme, in a possible implementation method, the ONT and the OLT can be connected through the electrical transmission medium that has been deployed inside the building, thereby realizing the deployment of the ONT. For example, if the deployment position of the ONT needs to be changed, it can be achieved through the deployed electrical transmission medium, and there is no need to deploy the corresponding optical fiber separately. Then, the above scheme can generate a new data stream according to the data stream received from the OLT, and based on the generated data stream, the ONT and the OLT can communicate through the electrical transmission medium. This will make the deployment method and deployment location of the ONT more flexible, optimize the wiring effect, effectively reduce the deployment cost, and improve the compatibility of the communication network (such as the passive optical fiber network) with different application scenarios, thereby ensuring the user experience.
[0007] In a possible implementation, generating the second data stream according to the first data stream includes: multiplexing the first data stream into a first multiplexing frame, and converting the first multiplexing frame into the second data stream; the first data stream includes service data.
[0008] Then, the above scheme realizes the conversion of data stream by multiplexing the received data stream into a multiplexing frame, and then converting the multiplexing frame into a new data stream. Among them, the first data stream includes service data, for example, the service data can be a parameter configuration sent by the OLT to the ONT through the optoelectronic conversion device. Since the first data stream is transmitted through the optical transmission medium and the second data stream is transmitted through the electrical transmission medium, the service data transmitted in the optical transmission medium cannot be directly transmitted to the electrical transmission medium. However, the above scheme multiplexes the data stream including service data transmitted by the optical transmission medium into a multiplexing frame, and then converts the multiplexing frame into a new data stream, so that the service data can be transmitted through the electrical transmission medium. In a possible implementation, the above scheme can multiplex the received first data stream including service data (which can be a bit stream) into a multiplexing frame, and then convert the multiplexing frame into a data stream (second data stream) of the Ethernet physical layer, thereby realizing the conversion of the data stream carrying service data. Then, the above scheme can multiplex the data stream including business data transmitted by the optical transmission medium into a multiplexing frame, and then convert it into a data stream that can be transmitted by the electrical transmission medium, so that the business data can be transmitted in different transmission media, and the wiring method and deployment plan of the communication network are more flexible (such as the selection of connection media), which solves the problem of difficult wiring of the communication network.
[0009] In a possible implementation, the communication method further includes: acquiring a third data stream sent by the optoelectronic conversion device, the third data stream including state parameters of the optoelectronic conversion device, and multiplexing the third data stream into the first multiplexing frame.
[0010] Then, the above scheme can obtain the data stream including the state parameters of the photoelectric conversion device, and multiplex the data stream carrying the state parameters into the multiplexing frame, and then convert the multiplexing frame into a new data stream. Specifically, the above scheme can obtain the state parameters of the photoelectric conversion device from the data stream, and realize the conversion of the data stream by multiplexing the data stream into the multiplexing frame, so that the state parameters can be carried in the generated new data stream, and realize the state parameters are carried in different data streams. For example, the above scheme can obtain the state parameters from the data stream transmitted by the optical transmission medium, and multiplex the data stream transmitted by the optical transmission medium into the multiplexing frame, and then convert it into a data stream transmitted by the electrical transmission medium, so that the state parameters can be transmitted in different transmission media. In a possible implementation, by sending the new data stream to the ONT, the state parameters and service data carried by the data stream can be sent to the ONT, so that the ONT can obtain the service data from the received data stream to perform the corresponding service, such as performing its own parameter configuration, and at the same time, based on the received data stream including the state parameters, timely obtain the state of the photoelectric conversion device, and then realize the control of the photoelectric conversion device through the control parameters to be generated, such as controlling the speed of the photoelectric conversion device sending the data stream. Then, the above scheme enables the state parameters of the photoelectric conversion device to be transmitted in different transmission media by carrying the state parameters of the photoelectric conversion device in different types of data streams. Furthermore, based on the state parameters in the received data stream, the communication device can adjust its own services (such as the content of the generated control parameters) to ensure the quality of data transmission.
[0011] In a possible implementation manner, converting the first multiplexed frame into the second data stream includes: encoding the first multiplexed frame according to a preset encoding method to convert the first multiplexed frame into the second data stream.
[0012] Then, the above scheme can encode the multiplexed frame of the multiplexed data stream according to the preset encoding method, and convert the multiplexed frame into a data stream. Among them, the data stream multiplexed into the multiplexed frame can be a data stream type corresponding to a certain communication network (such as an optical fiber communication network). By encoding the multiplexed frame, the data stream can be converted into a data stream corresponding to other communication networks (such as a communication network that realizes transmission through an electrical transmission medium). In a possible implementation method, the data stream transmitted by the optical transmission medium is a bit stream, and the data stream transmitted by the electrical transmission medium is a data stream corresponding to the signal of the Ethernet physical layer. In this way, based on the above scheme, the multiplexed frame is encoded according to the preset encoding method, and the conversion of the data stream can be realized (for example, converting the bit stream into a data stream transmitted by the Ethernet physical layer). Then, through the above scheme, the conversion of the data stream can be realized according to the corresponding encoding method, which improves the compatibility of the communication network.
[0013] In a possible implementation, the communication method further includes: inserting a fast status code into the first multiplexed frame, the fast status code being set at any position of the first multiplexed frame, and the fast status code being used to indicate an abnormal state of the photoelectric conversion device.
[0014] Then, the above scheme can transmit the abnormal state of the photoelectric conversion device to the ONT by inserting a fast status code in the multiplexing frame, thereby realizing fast transmission. Specifically, the fast status code can be set at any position of the multiplexing frame. For example, in the process of multiplexing the data stream to the multiplexing frame, the fast status code is inserted into a certain position of the multiplexing frame, and the fast status code sends the data stream converted by the multiplexing frame to the ONT. Usually, multiplexing the data stream to the multiplexing frame means that it is necessary to wait for all the data streams (such as business data, state parameters of the photoelectric conversion device) carried to be multiplexed into the multiplexing frame, and then convert the multiplexing frame into a new data stream. If the data stream carries a large amount of data, it takes a long time to multiplex all the data into the multiplexing frame. After waiting for all the data to complete the multiplexing, the converted new data stream is sent to other devices (such as ONT), and the transmission delay is high. However, when the photoelectric conversion device is abnormal, it means that the data transmission of the communication network or the photoelectric conversion device itself may be abnormal, and the abnormal state of the photoelectric conversion device needs to be sent to other devices on the receiving side in time. Then, the above scheme can quickly transmit the abnormal state of the optoelectronic conversion device to other devices by inserting a fast status code at any position of the multiplexed frame to ensure normal data transmission.
[0015] In a second aspect, a communication method is provided, which is applied to a communication device, the communication device is arranged in an optical network terminal ONT, and the communication device is used to connect an electrical transmission medium. Based on the above connection structure, the communication method includes: the communication device receives a second data stream transmitted by the electrical transmission medium; generates a fourth data stream according to the second data stream; and sends the fourth data stream to a media access control layer of the ONT.
[0016] Then, the above scheme can receive and convert the data stream transmitted by the electrical transmission medium, and then send the converted data stream to the media access control layer of the ONT. Specifically, based on the above scheme, the ONT can be connected to other devices or apparatuses through the electrical transmission medium. Since the ONT usually transmits data streams through optical transmission media, it is necessary to deploy corresponding optical transmission media so that the ONT can be connected to other devices or apparatuses. However, the above scheme can convert and send the data stream received from the electrical transmission medium to the ONT, so that the ONT can receive the data stream through the electrical transmission medium, thereby eliminating the need to deploy corresponding optical transmission media. Among them, the above-mentioned electrical transmission medium can be a network cable, telephone line, coaxial cable, etc. that has been deployed in the communication network. Then, through the above scheme, the ONT can be connected and communicated with other devices or apparatuses through the electrical transmission medium, which can effectively optimize the wiring effect and reduce the deployment cost.
[0017] In a possible implementation, generating the fourth data stream according to the second data stream includes: multiplexing the second data stream into a second multiplexing frame, and converting the second multiplexing frame into the fourth data stream; the second data stream includes service data.
[0018] In one possible implementation, the second data stream includes: state parameters of the photoelectric conversion device; the communication method also includes: obtaining the state parameters of the photoelectric conversion device from the second data stream; and sending a fifth data stream to the media access control layer, the fifth data stream including the state parameters of the photoelectric conversion device.
[0019] In a possible implementation manner, converting the second multiplexed frame into the fourth data stream includes: encoding the second multiplexed frame according to a preset encoding method to convert the second multiplexed frame into the fourth data stream.
[0020] In a third aspect, a communication method is provided. The communication method is applied to a communication device, the communication device is arranged in an optical network terminal ONT, and the communication device is used to connect an electrical transmission medium. Based on the above connection structure, the communication method includes: the communication device receives a sixth data stream transmitted by a media access control layer of the ONT; generates a seventh data stream according to the sixth data stream; and sends the seventh data stream to the electrical transmission medium.
[0021] In a possible implementation, generating the seventh data stream according to the sixth data stream includes: multiplexing the sixth data stream into a third multiplexing frame, and converting the third multiplexing frame into the seventh data stream; the sixth data stream includes service data.
[0022] In a possible implementation, the communication method further includes: acquiring an eighth data stream transmitted by the media access control layer, the eighth data stream including control parameters of the optoelectronic conversion device; and multiplexing the control parameters of the optoelectronic conversion device into a third multiplexing frame.
[0023] In a possible implementation manner, converting the third multiplexed frame into the seventh data stream includes: encoding the third multiplexed frame according to a preset encoding method to convert the third multiplexed frame into the seventh data stream.
[0024] In a fourth aspect, a communication method is provided. The communication method is applied to a communication device, and the communication method includes: the communication device receives a seventh data stream transmitted by an ONT through an electrical transmission medium; generates a ninth data stream according to the seventh data stream; and sends the ninth data stream to an optoelectronic conversion device, which is used to send an optical signal generated according to the ninth data stream to the OLT through an optical transmission medium.
[0025] In a possible implementation, generating a ninth data stream according to the seventh data stream includes: multiplexing the seventh data stream into a fourth multiplexing frame, and converting the fourth multiplexing frame into a ninth data stream; the seventh data stream includes service data.
[0026] In one possible implementation, the seventh data stream includes: control parameters of the photoelectric conversion device; the communication method also includes: obtaining the control parameters of the photoelectric conversion device from the seventh data stream; and sending a tenth data stream to the photoelectric conversion device, the tenth data stream including the control parameters of the photoelectric conversion device.
[0027] In a possible implementation manner, converting the fourth multiplexing frame into a ninth data stream includes: encoding the fourth multiplexing frame according to a preset encoding manner to convert the fourth multiplexing frame into the ninth data stream.
[0028] In a fifth aspect, a communication device is provided. The communication device includes: a processor and an interface circuit, wherein the processor is coupled to the interface circuit; the processor is used to execute a computer program or instruction stored in a memory, and control the interface circuit to execute the communication method as described in any one of the first aspect and the fourth aspect.
[0029] In a sixth aspect, a communication device is provided. The communication device includes: a processor and an interface circuit, wherein the processor is coupled to the interface circuit; the processor is used to execute a computer program or instruction stored in a memory, and control the interface circuit to execute the communication method as described in any one of the second aspect and the third aspect.
[0030] In a seventh aspect, a communication network is provided. The communication network includes: an OLT, an ONT, and a first communication device, the first communication device is arranged between the photoelectric conversion device and the ONT, the photoelectric conversion device is connected to the OLT via an optical transmission medium, the first communication device is used to connect to the ONT via an electrical transmission medium, and the first communication device is the communication device described in the fifth aspect; the ONT includes a second communication device and a media access control layer, wherein the second communication device includes the communication device described in the sixth aspect.
[0031] Among them, the technical effects brought about by any design method in the second to seventh aspects mentioned above can refer to the technical effects brought about by different design methods in the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 A schematic diagram of a passive optical fiber network provided in an embodiment of the present application;
[0033] Figure 2 A schematic diagram of a communication network provided for an embodiment of the present application;
[0034] Figure 3 A statistical diagram of a communication network provided in another embodiment of the present application;
[0035] Figure 4 A schematic diagram of data transmission provided in an embodiment of the present application;
[0036] Figure 5 A schematic diagram of a communication device provided in an embodiment of the present application;
[0037] Figure 6 A schematic diagram of a communication method provided in an embodiment of the present application;
[0038] Figure 7 A schematic diagram of a communication network provided for yet another embodiment of the present application;
[0039] Figure 8 A schematic diagram of a multiplexing frame provided in an embodiment of the present application;
[0040] Fig. 9 A schematic diagram of data transmission provided for another embodiment of the present application;
[0041] Fig.10 A schematic diagram of a communication method provided for another embodiment of the present application;
[0042] Fig.11 A schematic diagram of a communication device provided in accordance with another embodiment of the present application;
[0043] Fig.12 A schematic diagram of a communication device provided for another embodiment of the present application;
[0044] Fig.13 A schematic diagram of a communication device provided for yet another embodiment of the present application. DETAILED DESCRIPTION
[0045] The present application will present various aspects, embodiments or features around a system that may include multiple devices, components, modules, etc. It should be understood and appreciated that each system may include additional devices, components, modules, etc., and / or may not include all devices, components, modules, etc. discussed in conjunction with the accompanying drawings. In addition, a combination of these schemes may also be used. It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to represent examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or design schemes. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific manner.
[0046] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0047] Fiber optic communication system has become the mainstream communication system at present. In the fiber optic communication system, the access mode of access network (access network, AN) is fiber access (fiber to the x, FTTx), which is also called optical access network (optical access network, OAN). The fiber optic access modes of fiber optic access network include: fiber to the room (fiber to the room, FTTR), fiber to the home (fiber to the home, FTTH), fiber to the curb (fiber to the curb, FTTC), fiber to the office (fiber to the office, FTTO), fiber to the building (fiber to the building, FTTB), etc.
[0048] Common optical fiber communication systems that can achieve optical fiber access include passive optical fiber networks (PONs). Figure 1 As shown, an embodiment of the present application provides a schematic diagram of a passive optical network, wherein the passive optical network is represented as PON 10. Specifically, in combination with Figure 1 As shown, PON 10 includes: an optical line terminal OLT ( Figure 1 101 in), optical distribution network (ODN) Figure 1 102) and optical network terminal ONT ( Figure 1 103), wherein the OLT is usually arranged at the local end (for example, it can be a central control station). The PON can also include an optical network unit ONU arranged at the user side, and the ONT or ONU is usually arranged at different positions at the user side, and the functions realized are similar.
[0049] It is not difficult to understand that ONT and ONU have similar functions and are usually regarded as components of ONU. Therefore, for the sake of convenience, Figure 1 In the PON 10 shown, the user side only takes ONT 103 as an example, and this should not be used to limit the types and number of devices included in the PON network. Figure 1 Three ONTs are shown, namely ONT 103-1, ONT 103-1 and ONT 103-3.
[0050] Optionally, the passive optical network also includes an optical distribution network ODN (refer to Figure 1 In one possible implementation, in combination with Figure 1 As shown, the ODN 102 includes an optical splitter 102-1, and the optical splitter 102-1 includes an input end, an output end a, an output end b, and an output end c. The input end of the optical splitter 102-1 is connected to the OLT 101 through an optical fiber, the output end a of the optical splitter 102-1 is connected to the ONT 103-1 through an optical fiber, the output end b of the optical splitter 102-1 is connected to the ONT 103-2 through an optical fiber, and the output end c of the optical splitter 102-1 is connected to the ONT 103-3 through an optical fiber.
[0051] Optionally, the ODN may further include a multi-stage optical splitter, that is, multiple optical splitters are provided to achieve multi-stage optical splitting of the optical signal. In other examples, the optical splitter may also include more or fewer output ports. Figure 1 As shown, the ODN 102 may include only one level of optical splitter (e.g., optical splitter 102-1), or the ODN 102 may include three or more levels of optical splitters. Specifically, the function of the ODN 102 is to transmit the downstream optical signal of the OLT 101 to any ONT 103, and to transmit the upstream optical signal of any ONT 103 to the OLT 101. The embodiment of the present application does not limit the number of optical splitters included in the ODN 102, nor does it limit the number of output ports of each optical splitter.
[0052] Specifically, take the downstream direction as an example: when PON 10 is working, OLT 101 transmits the downstream optical signal to ODN 102, wherein the input end of the optical splitter 102-1 in ODN 102 receives the downstream optical signal, and transmits the downstream optical signal from the output end b to ONT 103-1, from the output end b to ONT 103-2, and from the output end c of the optical splitter 102-1 to ONT 103-3. ONT 103-1, ONT 103-2, and ONT 103-3 receive the downstream optical signal, and process the received downstream optical signal to obtain the data therein. It is not difficult to understand that the transmission process of the optical signal in the downstream direction is taken as an example here, and it should not be used to limit the signal transmission process in PON.
[0053] Of course, in other embodiments, ONT 103 may also generate an upstream optical signal to be sent to OLT 101. For example, when ONT 103-1 generates an upstream optical signal, ONT 103-2 transmits the upstream optical signal to OLT 101 via the output end a of splitter 102-1 and the input end of splitter 102-1 in sequence.
[0054] It should be noted that, as a fiber optic transmission system, a passive fiber optic network uses optical fiber (optical transmission medium) as a connection medium and realizes signal transmission. Figure 1 In the PON 10 shown, the OLT 101, the ODN 102 and the ONT 103 are all connected via optical fibers, and both upstream optical signals and downstream optical signals can be transmitted in these optical fibers.
[0055] Based on the above, different fiber access methods have different ONT deployment methods (such as access locations). For example, in FTTR, ONTs are usually deployed in the junction box (also called handover box) in the corridor, in FTTH, ONTs are usually deployed in the information box of the user's home, and in FTTC, ONTs are usually deployed in the central computer room of the community.
[0056] It should be noted that other types of communication networks, such as Ethernet, may be deployed between the ONT and the user. The connection medium between the ONT and other types of communication networks includes optical transmission media such as optical fiber, and of course, other non-optical connection media that may achieve corresponding functions, to ensure that the ONT can be connected to other types of communication networks.
[0057] Combination Figure 1 The architecture shown is exemplary, referring to Figure 2 As shown, a schematic diagram of a communication network is provided. Figure 2 As shown, the communication network 20 includes: OLT (refer to Figure 1 101 in), ODN (refer to Figure 1 102), three ONTs (refer to Figure 1 The OLT 101, ODN 102 and ONT 103 are connected through optical fibers, and the ONT 103-1 is connected to the set-top box 104 through a 2.5G network cable.
[0058] Among them, 2.5G network cables can support data transmission at a speed of 2.5 gigabits per second (Gbps), that is, 2500 megabits per second. Set-top boxes are used to connect TV sets to external signal sources. They can convert compressed digital signals received from cable, satellite antenna, broadband network and terrestrial broadcasting into TV content and display them on TV sets. In addition to receiving images and sounds provided by analog TV, set-top boxes can also receive digital content such as electronic program guides (i.e. TV program menus) and Internet web pages. In this way, through the deployment of set-top boxes, users can watch digital TV programs on TV sets and conduct interactive digital entertainment, education and other activities through the Internet.
[0059] Specifically, take the downstream direction as an example: when the communication network 20 is working, ONT 103-1 receives the downstream optical signal transmitted by ODN 102, processes the received downstream optical signal to obtain the data therein, transmits the obtained data to set-top box 104 via 2.5G network cable, and displays the data on the TV via set-top box 104, thereby ensuring the user's viewing experience. The transmission process of the optical signal in PON 10 in the downstream direction can be referred to Figure 1 The above is not repeated here.
[0060] Combination Figure 2 As shown, ONT is usually deployed in the handover box and connected to OLT through the home optical fiber. Taking the home scene as an example, the handover box is generally set up in the corridor or the entrance of the user's home, and the space is small. However, with the continuous development of related technologies, advanced ONTs can have multiple functions, so the deployment location of ONT needs to be changed, such as being deployed in the living room of the home. In this way, in order to achieve the connection between ONT and OLT, the corresponding optical fiber needs to be deployed separately. However, when the house is decorated, the equipment between the handover box and the living room is usually connected through the deployed network cable. If the optical fiber is deployed separately after the house is decorated, the wiring is messy and unsightly, and the deployment cost also increases, which seriously affects the user experience.
[0061] based on Figure 2 The architecture shown is exemplary, referring to Figure 3As shown, an embodiment of the present application provides a schematic diagram of a communication network. Figure 3 As shown, the communication network 30 includes: OLT 101, ODN 102, ONT 103 (including ONT 103-1, ONT 103-2 and ONT 103-3), photoelectric conversion device 105 and two communication devices (including communication device 1 and communication device 2). Among them, the communication device 1 is arranged between the photoelectric conversion device 105 and the ONT, the photoelectric conversion device 105 is connected to the OLT 101 through an optical transmission medium, and the communication device 1 is connected to the ONT through an electrical transmission medium. The communication device 2 is arranged in ONT 103-1 and is used to connect the electrical transmission medium.
[0062] Of course, the above-mentioned photoelectric conversion device 105 may also be a device including an optical module, or the optical module itself. In a possible implementation, the above-mentioned photoelectric conversion device 105 is an optical module. Then, referring to Figure 3 As shown, the communication device 1 and the photoelectric conversion device 105 can be integrated into a conversion module, and the conversion module can be deployed in the junction box as an independent device. Figure 3 The illustrated architecture is taken as an example, and the communication device and the optoelectronic conversion device should not be limited thereto. In other examples, the communication device 1 and the optoelectronic conversion device 105 are both implemented by independent devices, that is, two independent devices.
[0063] Exemplarily, optical transmission media include: optical fiber, waveguide, and electrical transmission media include: network cable, coaxial cable. For ease of explanation, in the embodiments of the present application, the optical transmission medium is optical fiber, and the electrical transmission medium is 2.5G network cable as an example, which should not be used to limit the structure of the communication device.
[0064] based on Figure 3 The architecture shown is exemplary, referring to Figure 4 As shown, an embodiment of the present application provides a schematic diagram of data transmission.
[0065] Specific, combined Figure 4 As shown, the transmission process in the downlink direction includes:
[0066] The communication device 1 in the junction box receives the first data stream transmitted by the OLT 101 through the optoelectronic conversion device 105, generates a second data stream according to the first data stream, and sends the second data stream to the ONT 103-1 through the 2.5G network cable. It is not difficult to understand that the optoelectronic conversion device 105 can generate the first data stream from the optical signal output by the OLT 101 through the optical transmission medium.
[0067] Optionally, the communication device 1 generates a second data stream based on the first data stream, including: multiplexing the first data stream into a first multiplexing frame, encoding the first multiplexing frame according to a preset encoding method, and converting the first multiplexing frame into a second data stream; wherein the first data stream includes business data.
[0068] In a possible implementation, the communication device 1 obtains the third data stream sent by the photoelectric conversion device 105, the third data stream includes the state parameters of the photoelectric conversion device 105, and the communication device 1 multiplexes the third data stream into the first multiplexed frame. Of course, when the communication device 1 generates the second data stream according to the first data stream, specifically, the first data stream including the service data and the third data stream including the state parameters are multiplexed into the first multiplexed frame, the first multiplexed frame is encoded according to the preset encoding method, and the first multiplexed frame is converted into the second data stream.
[0069] The communication device 2 in the ONT 103-1 receives a second data stream transmitted by the 2.5G network cable, generates a fourth data stream according to the second data stream, and sends the fourth data stream to the media access control (MAC) layer of the ONT 103-1. Optionally, the communication device 2 generates the fourth data stream according to the second data stream, including: multiplexing the received second data stream into a second multiplexing frame, encoding the second multiplexing frame according to a preset encoding method, and converting the second multiplexing frame into the fourth data stream; wherein the second data stream includes service data.
[0070] Optionally, the second data stream includes state parameters of the optoelectronic conversion device, and the above process also includes: the communication device 2 obtains the state parameters of the optoelectronic conversion device from the second data stream, and sends a fifth data stream to the MAC layer, where the fifth data stream includes the state parameters of the optoelectronic conversion device.
[0071] Based on the above, in the downstream direction, the data stream carrying the state parameters of the optoelectronic conversion device can be transmitted to the ONT through two communication devices (i.e., communication device 1 and communication device 2) in sequence. At the same time, the data stream including the service data issued by the OLT can also be transmitted to the ONT to realize the downstream transmission of the service data. Then, the above scheme can realize the downstream transmission of the service data and the state parameters of the optoelectronic conversion device. Further, the ONT can generate control parameters based on the received state parameters and the service data to be transmitted. By sending the data stream carrying the generated control parameters to the optoelectronic conversion device, the control of the optoelectronic conversion device can be realized.
[0072] Combination Figure 4 As shown, the transmission process in the uplink direction includes:
[0073] The communication device 2 in ONT 103-1 receives the sixth data stream transmitted by the MAC layer of ONT 103-1, generates a seventh data stream according to the sixth data stream, and sends the seventh data stream to the 2.5G network cable. Furthermore, the seventh data stream will be transmitted along the 2.5G network cable to the communication device 1 in the junction box.
[0074] Optionally, the communication device 2 generates a seventh data stream based on the sixth data stream, including: multiplexing the sixth data stream into a third multiplexing frame, encoding the third multiplexing frame according to a preset encoding method, and converting the third multiplexing frame into a seventh data stream; wherein the sixth data stream includes business data.
[0075] In a possible implementation, the communication device 2 obtains the eighth data stream transmitted by the MAC layer, the eighth data stream includes the control parameters of the optoelectronic conversion device, and the communication device 2 multiplexes the second control parameters into the third multiplexing frame. Of course, when the communication device 2 generates the seventh data stream according to the sixth data stream, it specifically multiplexes the sixth data stream including the service data and the eighth data stream including the control parameters into the third multiplexing frame, encodes the third multiplexing frame according to the preset encoding method, and converts the third multiplexing frame into the seventh data stream.
[0076] The communication device 1 in the junction box receives the seventh data stream transmitted by the ONT 103-1 through the 2.5G network cable, generates a ninth data stream according to the seventh data stream, and sends the ninth data stream to the OLT 101 through the optical fiber. Optionally, the communication device 2 generates the ninth data stream according to the seventh data stream, including: multiplexing the seventh data stream into a fourth multiplexing frame, encoding the fourth multiplexing frame according to a preset encoding method, and converting the fourth multiplexing frame into a ninth data stream; wherein the seventh data stream includes service data.
[0077] Optionally, the seventh data stream includes control parameters of the photoelectric conversion device, and the above process also includes: the communication device 2 obtains the control parameters of the photoelectric conversion device from the seventh data stream; and sends a tenth data stream to the photoelectric conversion device 105, the tenth data stream including the control parameters of the photoelectric conversion device.
[0078] Based on the above, in the uplink direction, the data stream carrying the control parameters generated by the ONT can be sent to the photoelectric conversion device in sequence through two communication devices (i.e., communication device 2 and communication device 1). At the same time, the data stream including the service data sent upstream by the ONT can also be transmitted to the OLT to realize the uplink transmission of the service data. Then, the above scheme can realize the uplink transmission of the service data and the control parameters of the photoelectric conversion device. In this way, the control parameters can be generated by the ONT, and the control of the photoelectric conversion device can be realized by sending the data stream carrying the control parameters to the photoelectric conversion device, such as realizing the control of the transmission configuration of the photoelectric conversion device. For example, the ONT can control the number of bytes in the data stream sent by the photoelectric conversion device through the generated control parameters.
[0079] Then, when changing the deployment location of the ONT, compared to Figure 2 As shown in the architecture, the above solution does not need to deploy optical fibers separately, and can connect the ONT and the OLT through electrical transmission media to achieve communication. The deployment method and deployment location of the ONT are more flexible.
[0080] It should be noted that, optionally, the above-mentioned preset coding method includes: 8b / 10b coding method, 64b / 66b coding method. Of course, the preset coding method described in the embodiment of the present application also includes other possible coding methods, and those skilled in the art can flexibly select according to actual needs, which will not be repeated here. Among them, the coding method used in the uplink direction is usually different from the coding method used in the downlink direction. In other examples, the coding method used in the uplink direction is the same as the coding method used in the downlink direction.
[0081] based on Figure 3 and Figure 4 The architecture shown is exemplary, referring to Figure 5 As shown, an embodiment of the present application provides a schematic diagram of a communication device. Figure 5 As shown, the communication device 50 includes: a processor 501, an input interface ( Figure 5 Interface 502, interface 504 and interface 505), output interface ( Figure 5 In one possible implementation, the processor 501 includes a demultiplexing module 501-1 and a multiplexing module 501-2.
[0082] In one possible implementation, interface 502 and interface 506 are serdes (including serializer serializer and deserializer deserializer) interfaces for transmitting signals with optoelectronic conversion device 105, and interface 503 and interface 505 are Ethernet physical interfaces (etheric physics, xPHY) for transmitting signals with electrical transmission media.
[0083] It is not difficult to understand that for the sake of convenience, only Figure 5 The communication device 50 shown is taken as an example, and the architecture of the communication device should not be limited thereto. In a possible implementation, the above-mentioned interface 502, interface 504 and interface 505 can realize corresponding functions through an input interface, and the above-mentioned interface 503, interface 506 and interface 507 can realize corresponding functions through an output interface.
[0084] In one possible implementation, referring to Figure 3 and Figure 4 In the communication device 1 shown, the communication device 50 is arranged between the photoelectric conversion device and the ONT, the photoelectric conversion device is connected to the OLT via an optical transmission medium, and the communication device 50 is connected to the ONT via an electrical transmission medium. Figure 3 and Figure 4 The communication device 2 shown in the figure, the communication device 50 can also be set in the ONT for connecting the electrical transmission medium. It can be understood that the following examples are mainly based on Figure 5 The communication method is described with reference to the hardware configuration of the communication device shown.
[0085] For example, refer to Figure 6 As shown, an embodiment of the present application provides a schematic diagram of a communication method. Figure 6 As shown, the communication method provided by the embodiment of the present application is described in detail. It should be noted that the data transmission in the downlink direction is used as an example for description here, and the communication method provided by the embodiment of the present application should not be limited by this. The communication method includes steps 601 to 606, which are described in detail as follows.
[0086] It should be noted that the following communication method can be applied to the communication device 50 (including the communication device 1 and the communication device 2). Figure 3 and Figure 4 The architecture shown is exemplary, referring to Figure 7 As shown, an embodiment of the present application provides a schematic diagram of a communication network. Figure 7As shown, the communication device 1 is arranged between the photoelectric conversion device and the ONT, the photoelectric conversion device 105 is connected to the OLT 101 through an optical transmission medium, and the communication device 1 is used to communicate with the ONT 103-1 through an electrical transmission medium (refer to Figure 7 The communication device 2 is provided in the ONT 103-1 and is used to connect the electrical transmission medium (refer to Figure 7 2.5G network cable in the network).
[0087] Step 601: The communication device 1 receives a first data stream transmitted by an OLT.
[0088] Combination Figure 4 As shown, the communication device 1 receives the first data stream transmitted by the OLT. Figure 7 As shown, the interface 502 of the communication device 1 receives the first data stream transmitted by the OLT 101 through the optoelectronic conversion device 105 .
[0089] In a possible implementation, the communication device 1 can obtain the third data stream sent by the photoelectric conversion device 105 through the interface 504 , where the third data stream includes the state parameters of the photoelectric conversion device 105 .
[0090] Step 602: Generate a second data stream according to the first data stream.
[0091] Combination Figure 4 As shown, the communication device 1 generates a second data stream according to the first data stream. Figure 7 As shown, the communication device 1 generates a second data stream according to the first data stream through the multiplexing module 501-2.
[0092] Optionally, the communication device 1 multiplexes the first data stream into a first multiplexing frame through the multiplexing module 501-2, encodes the first multiplexing frame according to a preset encoding method, and converts the first multiplexing frame into a second data stream, wherein the first data stream includes service data.
[0093] Optionally, in combination with step 601 , the communication device 1 multiplexes the third data stream into the first multiplexing frame through the multiplexing module 501 - 2 .
[0094] In a possible implementation, before generating the second data stream, the communication device 1 caches the received first data stream including business data into a business data stream cache (first in first out, FIFO), and caches the third data stream including channel data into a channel data stream cache FIFO. Furthermore, the communication device 1 can selectively multiplex the first data stream, and / or the third data stream into a multiplexing frame, and then convert it into a second data stream. Among them, the channel data includes: control parameters of the optoelectronic conversion device, and state parameters of the optoelectronic conversion device. For the sake of ease of explanation, channel data is used as an example for explanation here, and this should not be used to limit the communication method provided in the embodiments of the present application.
[0095] Step 603: Send the second data stream to the ONT via the electrical transmission medium.
[0096] Combination Figure 4 As shown, the communication device 1 sends the second data stream to the ONT via the electrical transmission medium. Figure 7 As shown, the interface 503 of the communication device 1 sends the second data stream to the ONT 103 - 1 through the 2.5G network cable.
[0097] Step 604: The communication device 2 receives a second data stream transmitted by the electrical transmission medium.
[0098] Combination Figure 4 As shown, the communication device 2 receives the second data stream transmitted by the electrical transmission medium. Figure 7 As shown, the interface 505 of the communication device 2 receives the second data stream transmitted by the 2.5G network cable.
[0099] In one possible implementation, the second data stream includes state parameters of the optoelectronic conversion device. The communication device 2 obtains the state parameters of the optoelectronic conversion device from the second data stream through the demultiplexing module 501-1, and sends the fifth data stream to the MAC layer through the interface 507. The fifth data stream includes the state parameters of the optoelectronic conversion device.
[0100] In one possible implementation, the communication device 2 obtains a data stream including business data and a data stream including channel data from the received second data stream through the demultiplexing module 501-1, and caches the data stream including business data into the business data stream cache FIFO, and caches the data stream including channel data into the channel data stream cache FIFO.
[0101] Step 605: Generate a fourth data stream according to the second data stream.
[0102] Combination Figure 4 As shown, the communication device 2 generates a fourth data stream according to the second data stream. Figure 7As shown, the communication device 2 generates a fourth data stream according to the second data stream through the multiplexing module 501-2.
[0103] In one possible implementation, the communication device 2 multiplexes the received second data stream into a second multiplexing frame through the multiplexing module 501-2, encodes the second multiplexing frame according to a preset encoding method, and converts the second multiplexing frame into a fourth data stream, wherein the second data stream includes service data.
[0104] Step 606: Send the fourth data stream to the MAC layer of the ONT.
[0105] Combination Figure 4 As shown, the communication device 2 sends the fourth data stream to the MAC layer of the ONT. Figure 7 As shown, the interface 506 of the communication device 2 sends the fourth data stream to the MAC layer of the ONT 103 - 1 .
[0106] Based on the above steps 601 to 606, in the downstream direction, the above scheme can send a data stream including the state parameters of the photoelectric conversion device to the ONT, thereby realizing the downstream transmission of the state parameters of the photoelectric conversion device. At the same time, the data stream including the service data issued by the OLT can be transmitted to the ONT, thereby realizing the downstream transmission of the service data. In this way, the communication method can enable the ONT to generate control parameters based on the received state parameters and the service data to be transmitted, and by sending the control parameters to the photoelectric conversion device, control of the photoelectric conversion device can be realized, such as setting the transmission configuration of the photoelectric conversion device.
[0107] For example, refer to Figure 8 As shown, an embodiment of the present application provides a schematic diagram of a multiplexing frame. Figure 8 As shown in (1), the multiplexing frame includes: an identification field (including identification code (passive optical network_start, PS), identification code (passive optical network_stop, PT), identification code (tunnel strart, TS) and identification code (tunnel stop, TT)) and a data field. Among them, the identification code PS is used to indicate the starting position of the data stream including business data, PT is used to indicate the ending position of the data stream including business data, TS is used to indicate the starting position of the data stream including channel data, and TT is used to indicate the ending position of the data stream including channel data; the data field is used to carry the data stream including business data, or the data stream including channel data. It is not difficult to understand that only the identification code is used here. Figure 8 The multiplexing frame shown in (1) is used as an example for explanation, but the length of the multiplexing frame should not be limited thereto.
[0108] Exemplarily, the preset encoding method is 8b / 10b encoding method. In the 8b / 10b encoding method, a group of continuous eight bits (i.e., bits) of data is first decomposed from high to low into two groups of data, one group includes three high bits of data, and the other group includes five low bits of data. After encoding, a group of data of three high bits of data will become a group of four-bit encoding after encoding, and a group of data of five low bits of data will become a group of six-bit encoding after encoding, thereby forming a group of ten-bit data. Correspondingly, when decoding, a group of ten-bit data will be converted into a group of eight-bit data. Among them, in the 8b / 10b encoding method, the data value can be uniformly expressed as DX.Y or KX.Y. Among them, the K code is used to encode the data (such as the identification code) for control transmission, and the D code is used to encode the data to be transmitted (such as the service data). X represents the five low bits of data included in the data before encoding, and Y represents the three high bits of data included in the data before encoding. Therefore, the above identification codes are all encoded with K code. For example, the identification code PS can be encoded as K28.2, the identification code PT can be encoded as K29.7, the identification code TS can be encoded as K27.7, and the identification code TS can be encoded as K29.7. Of course, the above codes can also be replaced by other K codes, and the position of the identification code, the frame format of the multiplexed frame, etc. should not be limited by this.
[0109] In other examples, combined with Figure 8 As shown in (2), the preset encoding method can also be a 64b / 66b encoding method. Specifically, the 64b / 66b encoding method can encode business data or control transmission data with a unit length of 64 bits into a 66-bit data block for transmission. Among them, in the data block with a length of 66 bits, the first two bits represent the synchronization header (i.e., a 2-bit sync header), which is usually used for data alignment at the receiving end and synchronization of the received data stream. Among them, a synchronization header of "00" indicates a coding error, a synchronization header of "01" indicates that the encoded data block only includes business data, a synchronization header of "10" indicates that the encoded data block includes business data and control transmission data, and a synchronization header of "11" indicates a coding error. Therefore, when there is no coding error, at least one "01" or "10" will appear in every 66-bit length. Specifically, in the 64b / 66b encoding method, the D code is a data code, which indicates the encoding of the data to be transmitted (such as business data), and each D code is 8 bits long; the Z code is a control code, which indicates the encoding of the data for controlling transmission (such as an identification code), and each data code is 7 bits long; the S code indicates the start, and the T code indicates the end. Therefore, the S code will only appear in the 0th and 4th bytes in the 8 bytes, and the T code can appear in any byte.
[0110] In one possible implementation, a fast status code (which can be represented as Txen) can be inserted into the first multiplexing frame; wherein the fast status code is used to indicate an abnormal state of the photoelectric conversion device, including a high level state (represented as "1") or a low level state (represented as "0"), and is set at any position of the first multiplexing frame. Then, the high level state of the fast status code can be encoded as K28.1, and the low level state of the fast status code can be encoded as K28.2. wherein, the high level state of the fast status code can indicate an abnormality in the photoelectric conversion device. For example, based on the high level state of the fast status code, it can be indicated that the amount of light entering the photoelectric conversion device is abnormal (for example, zero), and the photoelectric conversion device cannot receive the optical signal normally. then, the above step 602 includes: inserting the fast status code into the first multiplexing frame, the fast status code is set at any position of the first multiplexing frame, and the fast status code is used to indicate an abnormal state of the photoelectric conversion device.
[0111] Of course, if the fast status code is in a low level state, the data stream including the service data or the data stream including the channel data is normally multiplexed into the multiplexed frame, and the multiplexed frame is converted into a new data stream for transmission.
[0112] For example, refer to Fig. 9 As shown, an embodiment of the present application provides a schematic diagram of data transmission. Fig. 9 As shown, a communication device 50 is deployed on both the sending side and the receiving side, wherein, in the downlink direction, the communication device deployed on the sending side can refer to the communication device 1 to perform the communication method described in the above steps 601 to 603; the communication device deployed on the receiving side can refer to the communication device 2 to perform the communication method described in the above steps 604 to 606. The following takes the downlink direction as an example to describe the process in which the communication device 1 on the sending side sends a data stream by multiplexing, and the communication device 2 on the receiving side receives a data stream by demultiplexing.
[0113] Specifically, the communication device 1 on the sending side can complete the multiplexing process, including: the communication device 1 can cache the acquired first data stream including business data into the business data stream cache FIFO, and cache the third data stream including channel data into the channel data stream cache FIFO. Optionally, in the process of transmitting multiple data streams, a multiplexer is used to select a data stream (first data stream, third data stream) from the business data stream cache FIFO or the channel data stream cache FIFO according to actual needs and transmit it to the selection insertion module. Then, the processor 501 multiplexes the first data stream and the third data stream into the first multiplexing frame (refer to Figure 8 The multiplexing frame structure shown in the figure) encodes the first multiplexing frame according to a preset encoding method to generate a second data stream.
[0114] Optionally, the communication device 1 executes Fig. 9 The selective insertion process shown in , realizes multiplexing the data stream including the service data and the data stream including the channel data into the multiplexing frame, including: the communication device 1 determines the starting insertion position of the data stream including the service data by inserting the start mark (i.e., the identification code PS), and multiplexes the data stream including the service data into the multiplexing frame, and then determines the ending insertion position of the data stream including the service data by inserting the stop mark (i.e., the identification code PT), and stops multiplexing the data stream including the service data into the multiplexing frame. At the same time, the communication device 1 determines the starting insertion position of the data stream including the channel data by inserting the start mark (i.e., the identification code TS), and multiplexes the data stream including the channel data into the multiplexing frame, and determines the ending insertion position of the data stream including the channel data by inserting the stop mark (i.e., the identification code TT), and stops multiplexing the data stream including the channel data into the multiplexing frame. Optionally, the communication device 1 encodes the identification code PS, the data stream including the service data, the identification code PT, the identification code TS, the data stream including the channel data, and the identification code TT included in the multiplexing frame according to the preset encoding method, and converts the multiplexing frame into a data stream. In other examples, the communication device may also encode the identification code PS, the data stream including service data, the identification code PT, the identification code TS, the data stream including channel data, and the identification code TT according to a preset encoding method before selective insertion, and then multiplex them into a multiplexed frame.
[0115] It should be noted that the speed at which the communication device sends a data stream including business data is usually greater than the speed at which the business data is correspondingly obtained from the received data stream. Therefore, after a period of time, the business data stream cache FIFO of the communication device 1 may be empty. At this time, the communication device 1 will send the data stream in the channel data stream cache FIFO, and then multiplex it into the multiplexing frame. In a possible implementation, if the channel data stream cache FIFO is also empty, the normal transmission of the data stream cannot be maintained. The communication device 1 will send a fill code (also called idel), which will be multiplexed into the multiplexing frame. The fill code has no practical meaning, and the communication device 2 will not process it after receiving it and will directly discard it.
[0116] Generally speaking, the difference in the buffering speed is calculated in advance based on the transmission rate of the communication device and the data stream including the service data, and it can be determined by calculation that to send a data stream including a certain fixed number of bytes of service data, it is necessary to correspondingly send a data stream including the corresponding number of bytes of channel data. For example, in a gigabit-capable passive optical network (GPON), to send a data stream including 1458 bytes of service data, it is necessary to send a data stream including 2 bytes of channel data.
[0117] Optionally, the communication device 2 on the receiving side executes Fig. 9The frame parsing process shown in the figure includes: the interface 505 of the communication device 2 recovers the second data stream from the data stream transmitted by the electrical transmission medium, thereby obtaining the corresponding multiplexed frame. The communication device 2 parses the data stream including the service data by demultiplexing after the identification code PS of the multiplexed frame through the demultiplexing module 501-1, and caches the parsed data stream including the service data to the service data stream cache FIFO. At the same time, the data stream including the channel data is parsed by demultiplexing after the identification code TS of the multiplexed frame, and the parsed data stream including the channel data is cached in the channel data stream cache FIFO.
[0118] Optionally, the above transmission process further includes: at the transmitting side, a fast status code Tx en may be inserted at any position in the first multiplexed frame, and the fast status code is used to indicate an abnormal state of the optoelectronic conversion device. Fig. 9 As shown, the processor 501 can obtain the level state corresponding to the photoelectric conversion device. When it is determined that the level state changes (i.e., the photoelectric conversion device is abnormal), the fast status code Tx en is inserted at any position of the multiplexed frame, and the fast status code is a high level state (encoded as K28.1), and is sent to the ONT. Among them, K28.1 can indicate that the photoelectric conversion device is in an abnormal state. By inserting the fast status code during the downlink transmission, the abnormal state of the photoelectric conversion device can be transmitted to the receiving side in a timely manner. Correspondingly, the communication device 2 in the ONT determines that the fast status code is a high level state through the K28.1 obtained from the received data stream, and outputs the corresponding high level state. For example, the ONT obtains the abnormal state of the photoelectric conversion device, and can control the photoelectric conversion device through the generated control parameters of the photoelectric conversion device and the data stream to be transmitted uplink, so that the photoelectric conversion device can be adjusted accordingly. Then, based on the above scheme, by inserting the fast status code in the downlink data stream, the abnormal state of the photoelectric conversion device can be quickly transmitted, ensuring the normal transmission of data.
[0119] based on Figure 6 The communication method shown, exemplary, refers to Fig.10 As shown, an embodiment of the present application provides a schematic diagram of a communication method. Fig.10 As shown, the communication method provided by the embodiment of the present application is described in detail. It should be noted that the data transmission in the uplink direction is used as an example for description here, and the communication method provided by the embodiment of the present application should not be limited to this. The communication method includes steps 901 to 906, which are described in detail as follows.
[0120] It should be noted that the following communication method can be applied to communication devices (refer to communication device 1 and communication device 2), and the connection relationship between communication device 1 and communication device 2 can be referred to. Figure 4 and Figure 7 As shown, no further description is given here.
[0121] Step 901: The communication device 2 receives a sixth data stream transmitted by the MAC layer of the ONT.
[0122] Combination Figure 4 As shown, the communication device 2 receives the sixth data stream transmitted by the MAC layer of the ONT. Figure 7 As shown, the interface 502 of the communication device 2 receives the sixth data stream transmitted by the MAC layer of the ONT 103 - 1 .
[0123] In a possible implementation manner, the communication device 2 obtains an eighth data stream transmitted by the MAC layer, where the eighth data stream includes control parameters of the optoelectronic conversion device.
[0124] Step 902: Generate a seventh data stream according to the sixth data stream.
[0125] Combination Figure 4 As shown, the communication device 2 generates a seventh data stream according to the sixth data stream. Figure 7 As shown, the communication device 2 generates a seventh data stream according to the sixth data stream through the multiplexing module 501 - 2 .
[0126] In a possible implementation, the communication device 2 multiplexes the sixth data stream into the third multiplexing frame through the multiplexing module 501 - 2 , encodes the third multiplexing frame according to a preset encoding method, and converts the third multiplexing frame into the seventh data stream.
[0127] Optionally, in combination with step 901, the communication device 2 multiplexes the eighth data stream into the third multiplexing frame.
[0128] Step 903: Send the seventh data stream to the cross-connect box via the electrical transmission medium.
[0129] Combination Figure 4 As shown, the communication device 2 sends the seventh data stream to the handover box through the electrical transmission medium. Figure 7 As shown, the interface 503 of the communication device 2 sends the seventh data stream to the junction box through the 2.5G network cable.
[0130] Step 904: The communication device 1 receives the seventh data stream transmitted by the ONT through the electrical transmission medium.
[0131] Combination Figure 4 As shown, the communication device 1 receives the seventh data stream transmitted by the ONT through the electrical transmission medium. Figure 7 As shown, the interface 505 of the communication device 1 in the junction box receives the seventh data stream transmitted by the ONT 103 - 1 through the 2.5G network cable.
[0132] Step 905: Generate a ninth data stream according to the seventh data stream.
[0133] Combination Figure 4 As shown, the communication device 1 generates a ninth data stream according to the seventh data stream. Figure 7 As shown, the communication device 1 generates a ninth data stream according to the seventh data stream through the multiplexing module 501 - 2 .
[0134] In a possible implementation, the communication device 1 multiplexes the seventh data stream into the fourth multiplexing frame through the multiplexing module 501 - 2 , encodes the fourth multiplexing frame according to a preset encoding method, and converts the fourth multiplexing frame into a ninth data stream.
[0135] Step 906: Send the ninth data stream to the OLT via the optical transmission medium.
[0136] Combination Figure 4 As shown, the communication device 1 sends the ninth data stream to the OLT via the optical transmission medium. Figure 7 As shown, the interface 506 of the communication device 1 sends the ninth data stream to the OLT 101 through the optical fiber.
[0137] Optionally, the seventh data stream includes control parameters of the photoelectric conversion device, and the above process also includes: the communication device 2 obtains the control parameters of the photoelectric conversion device from the seventh data stream; and sends a tenth data stream to the photoelectric conversion device 105, the tenth data stream including the control parameters of the photoelectric conversion device.
[0138] Based on the above steps 901 to 906, in the uplink direction, the above scheme can realize the uplink transmission of the control parameters of the photoelectric conversion device by correspondingly converting the data stream including the control parameters of the photoelectric conversion device and sending it to the communication device in the junction box. At the same time, the data stream including the service data sent uplink by the ONT can also be transmitted to the OLT to realize the uplink transmission of the service data. Then, based on the above communication method, the control parameters generated by the ONT can be sent to the communication device through the data stream including the service data transmitted uplink, and then sent to the photoelectric conversion device, thereby realizing the control of the photoelectric conversion device.
[0139] based on Figure 6 and Fig.10 The communication method can multiplex two data streams into a multiplex frame, convert the multiplex frame into a new data stream, and transmit the data stream to a link (for example Figure 7 The 2.5G network cable shown in the figure realizes the transmission of two types of data (such as business data and channel data) carried by the data stream.
[0140] For example, refer to Fig.11As shown, an embodiment of the present application provides a schematic diagram of a communication device. The communication device is arranged between the photoelectric conversion device and the ONT, the photoelectric conversion device is connected to the OLT through an optical transmission medium, and the communication device is used to connect with the ONT through an electrical transmission medium. The communication device includes: a transceiver unit 1101 and a processing unit 1102; the transceiver unit 1101 is used to receive a first data stream output by the photoelectric conversion device, wherein the photoelectric conversion device is used to generate a first data stream from an optical signal output by the optical line terminal OLT through an optical transmission medium; the processing unit 1102 is used to generate a second data stream according to the first data stream received by the transceiver unit 1101; and the second data stream is sent to the ONT through the electrical transmission medium.
[0141] The transceiver unit 1101 is further used to execute the communication method described in step 601, step 603, step 901 and step 903; the processing unit 1102 is further used to execute the communication method described in step 602 and step 902. It can be understood that the communication device can directly refer to the above Figure 6 and Fig.10 The description of the various functions and effects in the communication method shown will not be repeated here.
[0142] In a possible implementation, an embodiment of the present application provides a communication device. A processor and an interface circuit, wherein the processor is coupled to the interface circuit; the processor is used to execute a computer program or instruction stored in a memory, and control the interface circuit to execute Figure 6 Steps 601 to 603 and Fig.10 The communication method described in steps 901 to 903 in the above. In one possible design, the communication device also includes a memory. The memory is used to store necessary program instructions and data, and the processor can call the program code stored in the memory to instruct the communication device to execute the method in any of the above method embodiments. Of course, the memory may not be in the communication device. When the communication device is a chip system, it can be composed of a chip, or it can include a chip and other discrete devices, which is not specifically limited in the embodiments of the present application.
[0143] For example, refer to Fig.12 As shown, an embodiment of the present application provides a schematic diagram of a communication device. The communication device is arranged in an ONT and is used to connect an electrical transmission medium. The communication device comprises: a transceiver unit 1201 and a processing unit 1202; the transceiver unit 1201 is used to receive a second data stream transmitted by the electrical transmission medium; the processing unit 1202 is used to generate a fourth data stream according to the second data stream received by the transceiver unit 1201; and the fourth data stream is sent to the media access control layer of the ONT.
[0144] The transceiver unit 1201 is further used to execute the communication method described in step 604, step 606, step 904 and step 906; the processing unit 1202 is further used to execute the communication method described in step 605 and step 905. It can be understood that the communication device can directly refer to the above Figure 6 and Fig.10 The description of the various functions and effects in the communication method shown will not be repeated here.
[0145] In a possible implementation, an embodiment of the present application provides a communication device. A processor and an interface circuit, wherein the processor is coupled to the interface circuit; the processor is used to execute a computer program or instruction stored in a memory, and control the interface circuit to execute Figure 6 Steps 604 to 606 and Fig.10 The communication method described in steps 904-906 in the above. In one possible design, the communication device also includes a memory. The memory is used to store necessary program instructions and data, and the processor can call the program code stored in the memory to instruct the communication device to execute the method in any of the above method embodiments. Of course, the memory may not be in the communication device. When the communication device is a chip system, it can be composed of a chip, or it can include a chip and other discrete devices, which is not specifically limited in the embodiments of the present application.
[0146] For example, refer to Fig.13 As shown, an embodiment of the present application provides a schematic diagram of a communication device. Specifically, the communication device includes one or more transceivers 1301 and a processor 1302. Exemplarily, the transceiver 1301 is used to perform the following Figure 5 The input interface shown ( Figure 5 Interface 502, interface 504 and interface 505), and output interface ( Figure 5 The functions or steps implemented by the interfaces 503, 506 and 507 in FIG. 1 and the processor 1302 are used to execute the functions or steps implemented by the interfaces 503, 506 and 507 in FIG. 1 and the processor 1302 is used to execute the functions or steps implemented by the interfaces 503, 506 and 507 in FIG. Figure 5 The functions or steps implemented by the processor 501 shown in FIG. 4 are shown in FIG. 4 . For detailed description of the transceiver 1301 and the processor 1302, please refer to Figure 6 , Fig.10 As well as the method embodiments described in the embodiments of the present application, they will not be described in detail here.
[0147] In the above-mentioned embodiments, for the specific description of each term or step, please refer to the introduction in the above method embodiment, which will not be described in detail here.
[0148] exist Fig.13In various implementations of the communication device shown, the transceiver may include a receiver, which is used to perform the acquisition function mentioned above, and the acquisition function may specifically include receiving, for example, the receiver is used to perform the function (or operation) of receiving. And the transceiver is used to communicate with other devices / devices through a transmission medium.
[0149] Optionally, the communication device may also include one or more memories 1303 for storing program instructions and / or data. The memory 1303 is coupled to the processor 1302. The coupling in the embodiment of the present application is an indirect coupling or communication connection between devices, units or modules, which may be electrical, mechanical or other forms, and is used for information exchange between devices, units or modules. The processor 1302 may operate in conjunction with the memory 1303. The processor 1302 may execute program instructions stored in the memory 1303. Optionally, at least one of the one or more memories may be included in the processor.
[0150] The specific connection medium between the transceiver 1301, the processor 1302 and the memory 1303 is not limited in the embodiment of the present application. Fig.13 In the embodiment, the memory 1303, the processor 1302 and the transceiver 1301 are connected via a bus 1304. Fig.13 The connections between the other components are shown in bold lines, which are only for illustration and are not intended to be limiting. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.13 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0151] In the embodiments of the present application, the processor may be a general-purpose processor, 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, a discrete hardware component, etc., and may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor, etc.
[0152] In the embodiment of the present application, the memory may include, but is not limited to, non-volatile memory such as a hard disk drive (HDD) or a solid-state drive (SSD), random access memory (RAM), erasable programmable read-only memory (EPROM), read-only memory (ROM) or portable read-only memory (CD-ROM), etc. The memory is any storage medium that can be used to carry or store program code in the form of instructions or data structures and can be read and / or written by a computer (such as the communication device shown in the present application), but is not limited to this. The memory in the embodiment of the present application can also be a circuit or any other device that can realize a storage function, used to store program instructions and / or data.
[0153] The processor 1302 is mainly used to process the communication protocol and communication data, and to control the entire communication device, execute the software program, and process the data of the software program. The memory 1303 is mainly used to store the software program and data. The transceiver 1301 may include a control circuit and an antenna. The control circuit is mainly used to convert the baseband signal and the radio frequency signal and to process the radio frequency signal. The antenna is mainly used to send and receive radio frequency signals in the form of electromagnetic waves. The input and output devices, such as a touch screen, a display screen, a keyboard, etc., are mainly used to receive data input by the user and output data to the user.
[0154] When the communication device is turned on, the processor 1302 can read the software program in the memory 1303, interpret and execute the instructions of the software program, and process the data of the software program. When data needs to be sent wirelessly, the processor 1302 performs baseband processing on the data to be sent, and outputs the baseband signal to the radio frequency circuit. The radio frequency circuit performs radio frequency processing on the baseband signal and then sends the radio frequency signal outward through the antenna in the form of electromagnetic waves. When data is sent to the communication device, the radio frequency circuit receives the radio frequency signal through the antenna, converts the radio frequency signal into a baseband signal, and outputs the baseband signal to the processor 1302. The processor 1302 converts the baseband signal into data and processes the data.
[0155] In another implementation, the RF circuit and antenna may be arranged independently of the processor performing baseband processing. For example, in a distributed scenario, the RF circuit and antenna may be arranged remotely from the communication device.
[0156] The communication device shown in the embodiment of the present application may also have Fig.13The embodiments of the present application do not limit the number of components and the like. The methods executed by the processor and the transceiver shown above are only examples, and the specific steps executed by the processor and the transceiver can refer to the methods described above.
[0157] In a possible implementation, an embodiment of the present application provides a communication network. The communication network includes: an OLT, an ONT, and a first communication device, the first communication device is arranged between a photoelectric conversion device and the ONT, the photoelectric conversion device is connected to the OLT via an optical transmission medium, the first communication device is used to connect to the ONT via an electrical transmission medium, and the first communication device includes an execution Figure 6 Steps 601 to 603 and Fig.10 The communication method described in steps 901 to 903 in the above (refer to communication device 1); the ONT includes a second communication device and a media access control layer, wherein the second communication device includes an execution Figure 6 Steps 604 to 606 and Fig.10 The communication method described in steps 904-906 (refer to communication device 2).
[0158] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using a software program, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media integrated therein. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state disk (SSD)), etc. In an embodiment of the present application, the computer may include the device described above.
[0159] Although the present application is described herein in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art may understand and implement other variations of the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple situations. A single processor or other unit may implement several functions listed in a claim. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.
[0160] Although the present application has been described in conjunction with specific features and embodiments thereof, it is obvious that various modifications and combinations may be made thereto without departing from the spirit and scope of the present application. Accordingly, this specification and the drawings are merely exemplary illustrations of the present application as defined by the appended claims, and are deemed to have covered any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, those skilled in the art may make various modifications and variations to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A communication method, characterized in that: Applied to communication devices, Receiving a first data stream output by a photoelectric conversion device, wherein the photoelectric conversion device is used to generate the first data stream from an optical signal output by an optical line terminal OLT through an optical transmission medium; generating a second data stream according to the first data stream; The second data stream is sent to the optical network terminal ONT through the electrical transmission medium.
2. The communication method according to claim 1, characterized in that: The generating the second data stream according to the first data stream comprises: multiplexing the first data stream into a first multiplexing frame, and converting the first multiplexing frame into a second data stream; The first data stream includes business data.
3. The communication method according to claim 2, characterized in that: The communication method further comprises: Acquire a third data stream sent by the photoelectric conversion device, wherein the third data stream includes a state parameter of the photoelectric conversion device; The third data stream is multiplexed into the first multiplexing frame.
4. The communication method according to claim 2, characterized in that: The converting the first multiplexed frame into the second data stream includes: encoding the first multiplexed frame according to a preset encoding method to convert the first multiplexed frame into the second data stream.
5. The communication method according to any one of claims 2 to 4, characterized in that: The communication method further includes: inserting a fast status code into the first multiplexed frame, wherein the fast status code is set at any position of the first multiplexed frame, and the fast status code is used to indicate an abnormal state of the photoelectric conversion device.
6. A communication method, characterized in that: Applied to a communication device, the communication device is arranged in an optical network terminal ONT, and the communication device is used to connect an electrical transmission medium; receiving a second data stream transmitted by the electrical transmission medium; generating a fourth data stream according to the second data stream; The fourth data stream is sent to a media access control layer of the ONT.
7. The communication method according to claim 6, characterized in that: The step of generating a fourth data stream according to the second data stream comprises: multiplexing the second data stream into a second multiplexing frame, and converting the second multiplexing frame into a fourth data stream; The second data stream includes service data.
8. The communication method according to claim 6, characterized in that: The second data stream includes: state parameters of the photoelectric conversion device; The communication method further comprises: Acquire the state parameter of the photoelectric conversion device from the second data stream; A fifth data stream is sent to the media access control layer, where the fifth data stream includes a state parameter of the optoelectronic conversion device.
9. The communication method according to claim 7, characterized in that: The converting the second multiplexed frame into a fourth data stream includes: encoding the second multiplexed frame according to a preset encoding method to convert the fourth data stream.
10. A communication method, characterized in that: Applied to a communication device, the communication device is arranged in an optical network terminal ONT, and the communication device is used to connect an electrical transmission medium; Receiving a sixth data stream transmitted by the media access control layer of the ONT; Generate a seventh data stream according to the sixth data stream; The seventh data stream is transmitted to the electrical transmission medium.
11. The communication method according to claim 10, characterized in that: The step of generating a seventh data stream according to the sixth data stream comprises: multiplexing the sixth data stream into a third multiplexing frame, and converting the third multiplexing frame into a seventh data stream; The sixth data stream includes business data.
12. The communication method according to claim 11, characterized in that: The communication method further comprises: Acquire an eighth data stream transmitted by the media access control layer, wherein the eighth data stream includes control parameters of the optoelectronic conversion device; The eighth data stream is multiplexed into the third multiplexing frame.
13. The communication method according to claim 11, characterized in that: The converting the third multiplexed frame into the seventh data stream includes: encoding the third multiplexed frame according to a preset encoding method to convert the third multiplexed frame into the seventh data stream.
14. A communication method, characterized in that: Applied to communication devices, receiving a seventh data stream transmitted by the ONT through the electrical transmission medium; Generate a ninth data stream according to the seventh data stream; The ninth data stream is sent to an optoelectronic conversion device, and the optoelectronic conversion device is used to send an optical signal generated according to the ninth data stream to the OLT through an optical transmission medium.
15. The communication method according to claim 14, characterized in that: The step of generating a ninth data stream according to the seventh data stream comprises: multiplexing the seventh data stream into a fourth multiplexing frame, and converting the fourth multiplexing frame into a ninth data stream; The seventh data stream includes business data.
16. The communication method according to claim 14, characterized in that: The seventh data stream includes: control parameters of the photoelectric conversion device; The communication method further comprises: Acquire control parameters of the photoelectric conversion device from the seventh data stream; A tenth data stream is sent to the photoelectric conversion device, wherein the tenth data stream includes control parameters of the photoelectric conversion device.
17. The communication method according to claim 15, characterized in that: The converting the fourth multiplexed frame into a ninth data stream includes: encoding the fourth multiplexed frame according to a preset encoding method to convert the fourth multiplexed frame into the ninth data stream.
18. A communication device, characterized in that: The method comprises a processor and an interface circuit, wherein the processor is coupled to the interface circuit; The processor is used to execute a computer program or instruction stored in the memory, and control the interface circuit to execute the communication method according to any one of claims 1 to 5, or claims 14 to 17.
19. A communication device, characterized in that: The method comprises a processor and an interface circuit, wherein the processor is coupled to the interface circuit; The processor is used to execute the computer program or instructions stored in the memory, and control the interface circuit to execute the communication method according to any one of claims 6 to 13.
20. A communication network, characterized in that: include: An OLT, an ONT, and a first communication device, wherein the first communication device is arranged between the photoelectric conversion device and the ONT, the photoelectric conversion device is connected to the OLT via an optical transmission medium, the first communication device is used to connect to the ONT via an electrical transmission medium, and the first communication device includes the communication device according to claim 18; The ONT comprises a second communication device and a media access control layer, wherein the second communication device comprises the communication device according to claim 19.