Data transmission method and device, wireless network terminal, equipment and storage medium

By adding a base station status type field to the Ethernet data packet and performing physical converged port transmission between the optical modem and the base station, the problem of poor data transmission efficiency between traditional optical modems and small base stations is solved, achieving the effects of simplified hardware interfaces and resource saving.

CN120881631APending Publication Date: 2025-10-31CHINA TELECOM CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510887943.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-27
Publication Date
2025-10-31

AI Technical Summary

Technical Problem

Traditional optical modems and small base stations use traditional Ethernet data transmission formats via gigabit ports, resulting in poor data transmission efficiency, increased complexity and cost of hardware board external interface design, and wasted PHY chip and PCB resources.

Method used

A custom base station status type field is added to the Ethernet data packet. The optical modem and the base station transmit data through a physical converged port. The optical modem parses the base station status and encapsulates the data packet when the base station status is normal and sends it to the network management system, simplifying the hardware interface design.

Benefits of technology

It improves data transmission efficiency, reduces hardware interface design costs and product size, and saves PHY layer chip resources and PCB trace area.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120881631A_ABST
    Figure CN120881631A_ABST
Patent Text Reader

Abstract

The invention provides a data transmission method and device, a wireless network terminal, equipment and a storage medium. The method comprises the following steps: sending an Ethernet data packet comprising a base station state type field to a base station in the wireless network terminal; receiving an Ethernet data packet sent by the base station; the received Ethernet data packet is analyzed, and a type field obtained through analysis is processed; when the type field is a base station state type field, detecting whether the base station state of the base station is normal or not based on base station state information on the base station state type field; when the base station state of the base station is detected to be normal, packaging the base station data, the base station state information and the local optical modem data in the received Ethernet data packet into the Ethernet data packet; and sending the packaged Ethernet data packet to a webmaster, so that the webmaster sends the Ethernet data packet to an optical network unit for optical fiber transmission, thereby improving the effectiveness of data transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication technology, and in particular to a data transmission method, apparatus, wireless network terminal, electronic device, and computer-readable storage medium. Background Technology

[0002] With the development of mobile internet, mobile data traffic is experiencing explosive growth. Most mobile data services are located inside buildings, i.e., indoor home environments. Therefore, in 5G construction, the focus is on the demand for indoor coverage to comprehensively improve indoor coverage.

[0003] Currently, indoor distribution systems and traditional optical modem networks are effective solutions for improving the mobile communication environment inside buildings using 5G. Indoor distribution systems mainly include integrated small cell systems, extended small cell systems, and frequency-shifting MIMO indoor distribution systems, deployed in indoor public areas. Ordinary optical modems are deployed in homes via fiber optic cables. Because indoor distribution systems are deployed in indoor public areas, and wireless signals penetrate multiple reinforced concrete walls, indoor coverage is poor. Furthermore, outdoor base stations can only provide shallow coverage indoors, resulting in poor call quality in indoor home environments.

[0004] Based on this, related technologies have proposed deploying signal transmitters within indoor home environments and using traditional Ethernet data transmission formats to enable data communication between traditional optical modems and integrated small base stations (referred to as small base stations) via gigabit Ethernet ports, thereby covering indoor environments and meeting users' wired and wireless internet access needs. However, this data communication via gigabit Ethernet ports requires passing through two physical layer PHY chips and also necessitates the deployment of printed circuit board (PCB) traces to meet the internal data communication and power supply requirements of the traditional optical modem and integrated small base station. This approach not only reduces the effectiveness of data transmission but also increases the complexity and cost of hardware PCB interface design, wasting PCB resources.

[0005] Therefore, how to effectively improve the internal data transmission of traditional optical modems and integrated small base stations with low cost, low resources, and low power consumption is a problem that needs to be solved. Summary of the Invention

[0006] This invention provides a data transmission method, apparatus, wireless network terminal, electronic device, and storage medium to at least solve the problems in related technologies where traditional optical modems and small base stations use traditional Ethernet data transmission formats via gigabit Ethernet ports for data communication. This requires two layers of port physical layer PHY chips and printed circuit board (PCB) traces, resulting in poor internal data transmission efficiency, increased complexity and cost of hardware card external interface design, and wasted PHY chip resources and PCB traces. The technical solution of this invention is as follows:

[0007] According to a first aspect of the present invention, a data transmission method is provided, the method being applied to an optical modem in a wireless network terminal, comprising:

[0008] Send an Ethernet data packet including a base station status type field to the base station in the wireless network terminal;

[0009] Receive Ethernet data packets sent by the base station;

[0010] The received Ethernet data packets are parsed, and the parsed type field is processed.

[0011] When the type field is a base station status type field, the base station status is checked to see if it is normal based on the base station status information in the base station status type field.

[0012] When the base station status is detected to be normal, the base station data, base station status information and local optical modem data in the received Ethernet data packet are encapsulated into an Ethernet data packet.

[0013] The encapsulated Ethernet data packet is sent to the network management system, so that the network management system sends the Ethernet data packet to the optical network unit for fiber optic transmission.

[0014] Optionally, the method further includes:

[0015] When the type field is not a base station status type field, the base station data and local optical modem data in the received Ethernet data packet are directly encapsulated into an Ethernet data packet.

[0016] The directly encapsulated Ethernet data packet is sent to the network management system.

[0017] Optionally, before sending an Ethernet packet including a base station status type field to the base station in the wireless network terminal, the method further includes:

[0018] The power supply information is sent to the base station in the wireless network terminal through the first physical convergence port, so as to control the base station to turn on the power and supply power to the base station.

[0019] Optionally, sending an Ethernet data packet including a base station status type field to the base station in the wireless network terminal includes:

[0020] The first physical converged port sends an Ethernet data packet, including a base station status type field, to the second physical converged port of the base station in the wireless network terminal. The first converged physical port and the second converged physical port are connected through a direct connection structure of a port hardware board.

[0021] Optionally, the first physical fusion port is obtained by fusing the first power supply interface, the first SGMII interface, and the first GPIO interface in the optical modem; the second physical fusion port is obtained by fusing the second power supply interface, the second SGMII interface, and the second GPIO interface in the base station.

[0022] Optionally, when the type field is a base station status type field, detecting whether the base station status is normal based on the base station status information in the base station status type field includes:

[0023] When the type field is a base station status type field, determine whether the reset status of the base station is normal;

[0024] If the base station is in a normal reset state, continue to determine whether the base station's alarm state is normal.

[0025] If the alarm status of the base station is normal, continue to determine whether the cell establishment status of the base station is normal;

[0026] When the cell establishment status of the base station is normal, it is determined that the base station status of the base station is normal.

[0027] Optionally, when the type field is a base station status type field, detecting whether the base station status is normal based on the base station status information further includes:

[0028] When the reset state of the base station is abnormal, the reset level is timed. When the first timed threshold is reached, the base station is controlled to reset and restart. When the second timed threshold is reached, the base station is controlled to restore factory settings.

[0029] When the alarm status of the base station is abnormal, send the alarm status abnormality information of the base station to the network management system;

[0030] When the cell establishment status of the base station is abnormal, the abnormal cell establishment status information of the base station is sent to the network management system.

[0031] According to a second aspect of the present invention, a data transmission method is provided, the method being applied to a base station in a wireless network terminal, comprising:

[0032] Receive Ethernet data packets, including a base station status type field, sent by the optical modem in the wireless network terminal;

[0033] The Ethernet data packets are parsed, and the obtained type field is processed.

[0034] When the type field is a base station status type field, the self-status is detected to obtain the self-status information;

[0035] The detected self-state information is filled into the base station state type field and encapsulated with the parsed base station data into an Ethernet data packet;

[0036] The encapsulated Ethernet data packet is sent to the optical modem.

[0037] Optionally, when the type field is a base station status type field, the self-status is detected to obtain self-status information, including:

[0038] When the type field is a base station status type field, check whether the self-reset status is normal;

[0039] When the system detects that its own reset status is normal, it checks its own alarm status and cell establishment status to obtain its own alarm status information and cell establishment information.

[0040] The system detects its own reset status information, alarm status information, and cell establishment status information as its own status information.

[0041] Optionally, before receiving the Ethernet data packet including the base station status type field sent by the optical modem in the wireless network terminal, the method further includes:

[0042] The power supply information sent by the optical modem in the wireless network terminal is received through the second physical fusion port;

[0043] Based on the power supply information, the power supply is controlled to turn on and supply power.

[0044] Optionally, receiving the Ethernet data packet including the base station status type field sent by the optical modem in the wireless network terminal includes:

[0045] The second physical fusion port receives Ethernet data packets, including a base station status type field, sent by the first physical fusion port of the optical modem in the wireless network terminal. The second physical fusion port and the first physical fusion port are connected by a preset port hardware board direct connection structure.

[0046] Sending the encapsulated Ethernet data packet to the optical modem includes: sending the filled Ethernet data packet to the physical fusion port of the optical modem through the second physical fusion port.

[0047] Optionally, the first physical fusion port is obtained by fusing the first power supply interface, the first SGMII interface, and the first GPIO interface in the optical modem; the second physical fusion port is obtained by fusing the second power supply interface, the second SGMII interface, and the second GPIO interface in the base station.

[0048] According to a third aspect of the present invention, a data transmission apparatus is provided, the apparatus being applied to an optical modem in a wireless network terminal, comprising:

[0049] The first sending module is used to send an Ethernet data packet including a base station status type field to the base station in the wireless network terminal;

[0050] A receiving module is used to receive Ethernet data packets sent by the base station;

[0051] The parsing module is used to parse the received Ethernet data packets and process the parsed type field;

[0052] The detection module is used to detect whether the base station status is normal based on the base station status information in the base station status type field when the type field parsed by the parsing module is a base station status type field.

[0053] The first encapsulation module is used to encapsulate the base station data, base station status information and local optical modem data in the received Ethernet data packet into an Ethernet data packet when the detection module detects that the base station status of the base station is normal.

[0054] The second sending module is used to send the encapsulated Ethernet data packet to the network management system in the wireless network terminal, so that the network management system sends the Ethernet data packet to the optical network unit for optical fiber transmission.

[0055] Optionally, the device further includes:

[0056] The second encapsulation module is used to directly encapsulate the base station data and local optical modem data in the received Ethernet data packet into an Ethernet data packet when the type field parsed by the parsing module is not a base station status type field.

[0057] The third sending module is used to send the directly encapsulated Ethernet data packets.

[0058] Optionally, the device further includes:

[0059] The fourth sending module is used to send power supply information to the base station in the wireless network terminal through the first physical convergence port before the first sending module sends the Ethernet data packet including the base station status type field to the base station in the wireless network terminal, so as to control the base station to turn on the power and supply power to the base station.

[0060] Optionally, the first sending module is specifically used to send an Ethernet data packet including a base station status type field to a second physical fusion port of the base station in the wireless network terminal through a first physical fusion port, wherein the first physical fusion port and the second physical fusion port are connected through a direct connection structure of a set port hardware board.

[0061] Optionally, the first physical fusion port of the first transmitting module is obtained by fusing the first power supply interface, the first SGMII interface and the first GPIO interface in the optical modem; and the second physical fusion port is obtained by fusing the second power supply interface, the second SGMII interface and the second GPIO interface in the base station.

[0062] Optionally, the detection module includes:

[0063] The first judgment module is used to determine whether the reset status of the base station is normal when the type field is a base station status type field;

[0064] The second judgment module is used to continue to judge whether the alarm status of the base station is normal when the reset status of the base station is normal.

[0065] The third judgment module is used to further judge whether the cell establishment status of the base station is normal when the alarm status of the base station is normal.

[0066] The determination module is used to determine that the base station status of the base station is normal when the cell establishment status of the base station is normal.

[0067] Optionally, the detection module further includes:

[0068] The timing module is used to time the reset level when the first judgment module determines that the reset state of the base station is abnormal;

[0069] The control module is used to control the base station to reset and restart when the timing module reaches a first timing threshold, and to control the base station to restore factory settings when the timing reaches a second timing threshold.

[0070] An alarm anomaly sending module is used to send alarm anomaly information of the base station to the network management system when the third judgment module determines that the alarm status of the base station is abnormal.

[0071] The cell establishment anomaly sending module is used to send cell establishment anomaly information of the base station to the network management system when the cell establishment status of the base station is abnormal.

[0072] According to a fourth aspect of the present invention, a data transmission apparatus is provided, the apparatus being applied to a base station in a wireless network terminal, comprising:

[0073] The first receiving module is used to receive Ethernet data packets, including a base station status type field, sent by the optical modem in the wireless network terminal.

[0074] The parsing module is used to parse the Ethernet data packets and process the type field obtained from the parsing.

[0075] The detection module is used to detect its own status and obtain its own status information when the type field obtained by the parsing module is a base station status type field.

[0076] An encapsulation module is used to fill the detected self-state information into the base station state type field and encapsulate it with the parsed base station data into an Ethernet data packet;

[0077] The sending module is used to send the padded Ethernet data packets to the optical modem.

[0078] Optionally, the detection module includes:

[0079] The reset detection module is used to detect whether its own reset status is normal when the type field obtained by the parsing module is a base station status type field.

[0080] The status information determination module is used to detect its own alarm status and cell establishment status when the reset detection module detects that its own reset status is normal, and obtain its own alarm status information and cell establishment information.

[0081] The base station status determination module is used to use its own reset status information, alarm status information, and cell establishment status information as its own status information.

[0082] Optionally, the device further includes:

[0083] The second receiving module is used to receive power supply information sent by the optical modem in the wireless network terminal through the second physical convergence port before the first receiving module receives the Ethernet data packet including the base station status type field sent by the optical modem in the wireless network terminal.

[0084] The control module is used to control the power supply to turn on and supply power based on the power supply information.

[0085] Optionally, the first receiving module is specifically used to receive Ethernet data packets including a base station status type field sent by the first physical fusion port of the optical modem in the wireless network terminal through the second physical fusion port, wherein the second physical fusion port and the first physical fusion port are connected through a preset port hardware board direct connection structure.

[0086] The sending module is specifically used to send the encapsulated Ethernet data packets to the optical modem through the second physical fusion port.

[0087] According to a fifth aspect of the present invention, a wireless network terminal is provided, comprising: an optical modem module, a base station module, a first physical fusion port, and a second physical fusion port, wherein the optical modem module is connected to the base station module through the first physical fusion port and the second physical fusion port, wherein...

[0088] The optical modem module is used to send power supply information and Ethernet data packets including a base station status type field to the second physical fusion port of the base station module through the first physical fusion port;

[0089] The base station module is configured to receive power supply information sent by the optical modem module through the second physical fusion port, and control the power supply to turn on based on the power supply information; parse the received Ethernet data packets and process the parsed type field; when the type field is a base station status type field, detect its own status and obtain its own status information; fill the detected own status information into the base station status type field, and encapsulate it with the parsed base station data into an Ethernet data packet; and send the encapsulated Ethernet data packet to the optical modem module through the second physical fusion port.

[0090] The optical modem module is further configured to receive Ethernet data packets sent by the base station module after power supply through the first physical fusion port; parse the received Ethernet data packets sent by the base station module and process the parsed type field; when the type field is a base station status type field, detect whether the base station status of the base station module is normal based on the base station status information on the base station status type field; and when the base station status of the base station module is detected to be normal, encapsulate the base station data, base station status information and local optical modem data in the received Ethernet data packets sent by the base station module into an Ethernet data packet; and send the encapsulated Ethernet data packet to the network management system in the wireless network terminal so that the network management system sends the Ethernet data packet to the optical network unit for fiber optic transmission.

[0091] Optionally, the first physical fusion port is obtained by fusing the first power supply interface, the first SGMII interface, and the first GPIO interface in the optical modem module; the second physical fusion port is obtained by fusing the second power supply interface, the second SGMII interface, and the second GPIO interface in the base station module.

[0092] According to a sixth aspect of the present invention, an electronic device is provided, comprising:

[0093] processor;

[0094] Memory used to store the processor's executable instructions;

[0095] The processor is configured to execute the instructions to implement the data transfer method described above.

[0096] According to a seventh aspect of the present invention, a computer-readable storage medium is provided, wherein when the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the data transmission method as described above.

[0097] According to an eighth aspect of the present invention, a computer program product is provided, comprising a computer program or instructions that, when executed by a processor of an electronic device, implement the data transmission method as described above.

[0098] The technical solutions provided by the embodiments of the present invention bring at least the following beneficial effects:

[0099] In this embodiment of the invention, an Ethernet data packet (i.e., a custom Ethernet data packet) including a base station status type field is sent to the base station. This involves adding a custom base station status type field to the existing Ethernet data packet protocol format. Furthermore, when an Ethernet data packet containing the base station status type field is received from the base station, the system checks whether the base station's status is normal. If the base station's status is normal, the system encapsulates the base station data, base station status information, and local optical modem data from the received Ethernet data packet into an Ethernet data packet and sends it to the network management system. In other words, this embodiment of the invention sends an Ethernet data packet including a custom base station status type field to the base station. The base station fills the detected base station status information into the base station status type field and encapsulates it along with other base station data into an Ethernet data packet, feeding it back to the optical modem. The optical modem parses the custom-encapsulated Ethernet data packet from the base station and detects and controls the base station status. This improves the efficiency of data transmission, simplifies the hardware interface, reduces interface design costs and product size, and saves PHY layer chip resources and PCB trace area.

[0100] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit the invention. Attached Figure Description

[0101] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present invention and, together with the description, serve to explain the principles of the invention. They do not constitute an undue limitation of the invention. To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0102] Figure 1 This is a flowchart of a data transmission method provided in an embodiment of the present invention.

[0103] Figure 2 This is a physical schematic diagram of a physical fusion port provided in an embodiment of the present invention.

[0104] Figure 3 This is a schematic diagram of the inter-board wiring used in a physical fusion port for communication between an optical modem and a base station, as provided in an embodiment of the present invention.

[0105] Figure 4 This is another flowchart of a data transmission method provided in an embodiment of the present invention.

[0106] Figure 5 This is an application diagram of a data transmission method provided in an embodiment of the present invention.

[0107] Figure 6 This is a schematic diagram illustrating another application of a data transmission method provided in an embodiment of the present invention.

[0108] Figure 7 This is a block diagram of a data transmission device provided in an embodiment of the present invention.

[0109] Figure 8 This is another block diagram of a data transmission device provided in an embodiment of the present invention.

[0110] Figure 9 This is a block diagram of a wireless network terminal provided in an embodiment of the present invention.

[0111] Figure 10 This is an application schematic diagram of a wireless network terminal provided in an embodiment of the present invention.

[0112] Figure 10A This is a schematic diagram of the internal module connections of a wireless network terminal provided in an embodiment of the present invention.

[0113] Figure 11 This is a block diagram of an electronic device provided in an embodiment of the present invention.

[0114] Figure 12 This is a block diagram of a device for data transmission provided in an embodiment of the present invention. Detailed Implementation

[0115] To enable those skilled in the art to better understand the technical solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings.

[0116] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this invention. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the invention as detailed in the appended claims.

[0117] Explanation of technical terms:

[0118] MIMO (Multiple-Input Multiple-Output): Multiple-input multiple-output antenna system.

[0119] LTE (Long Time Evolution): 4G Long Term Evolution technology.

[0120] NR (New Radio): 5G new wireless access technology.

[0121] PON (Passive Optical Network): Passive optical network.

[0122] ONU (Optical Network Unit): An optical network unit is one of the terminal devices used in optical fiber communication networks.

[0123] LAN (Local Area Network): Local area network.

[0124] WAN (Wide Area Network): Wide Area Network.

[0125] PHY (Physical): Port physical layer.

[0126] MAC (Media Access Control): Media access control.

[0127] SGMII (Serial Gigabit Media Independent Interface): Serial interface.

[0128] GPIO (General Purpose Input / Output): General purpose input / output interface.

[0129] A PicoSite, or simply Pico base station, is a small wireless communication base station.

[0130] PCB (Printed Circuit Board) is a type of printed circuit board.

[0131] Based on the understanding of the above technical terms, please also refer to the following embodiments.

[0132] Please see Figure 1 This is a flowchart of a data transmission method provided in an embodiment of the present invention. The method is applied to an optical modem in a wireless network terminal, such as... Figure 1 As shown, the method includes the following steps:

[0133] Step 101: Send an Ethernet data packet including a base station status type field to the base station in the wireless network terminal.

[0134] Step 102: Receive the Ethernet data packets sent by the base station.

[0135] Step 103: Parse the received Ethernet data packet and process the parsed type field.

[0136] Step 104: When the type field is a base station status type field, detect whether the base station status is normal based on the base station status information on the base station status type field.

[0137] Step 105: When it is detected that the base station status of the base station is normal, the base station data, base station status information and local optical modem data in the received Ethernet data packet are encapsulated into an Ethernet data packet.

[0138] Step 106: Send the encapsulated Ethernet data packet to the network management system in the wireless network terminal, so that the network management system sends the Ethernet data packet to the optical network unit for fiber optic transmission.

[0139] The data transmission method described in this invention can be applied to terminals, etc., without limitation. The terminal implementation device can be an optical modem, base station device, wireless network terminal, wireless optical modem, wireless modem, or other electronic device, without limitation.

[0140] In this embodiment of the invention, a custom Ethernet transmission protocol is proposed based on the existing Ethernet data transmission format. A new base station status type field is defined to fill in the base station status information and send the custom Ethernet data packet to the base station. This allows the base station to encapsulate its base station data (such as gateway, network management, web information, etc.) and base station status information into Ethernet data packets and transmit them to the optical modem, improving the efficiency of data transmission. Meanwhile, the optical modem saves PHY layer chip resources and PCB trace area by parsing the custom-encapsulated Ethernet data packets sent from the base station and detecting the base station status, thereby simplifying the product form of the wireless network terminal and reducing the product size.

[0141] The following is combined Figure 1 The specific implementation steps of a data transmission method provided in the embodiments of the present invention will be described in detail.

[0142] In step 101, an Ethernet data packet including a base station status type field is sent to the base station in the wireless network terminal.

[0143] In this embodiment, based on the standard Ethernet transmission protocol, the format of the Ethernet data packet is customized. Specifically, in addition to the message types that include Ethernet data packets, a new base station status type field is defined. This field can include: base station alarm status, base station cell establishment status, and base station reset status. Subsequently, the optical modem (or optical modem module, hereinafter the same) in the wireless network terminal sends the Ethernet data packet including the base station status type field to the base station (or base station module, hereinafter the same) in the wireless network terminal. This allows the base station to detect its own status upon receiving the Ethernet data packet and encapsulate the detected base station alarm information, base station cell establishment status, and base station reset status into the corresponding data format fields of the customized Ethernet data packet. In other words, the base station alarm information, base station cell establishment status, and base station reset status are filled into the base station status type field and transmitted to the optical modem.

[0144] In other words, in this embodiment of the invention, based on the standard Ethernet transmission protocol, a custom Ethernet message method is adopted. That is, in addition to the existing message types, a new base station status type field is defined, mainly including base station alarm status, base station cell establishment status, and base station reset status, which is identified and processed by the CPU in the optical modem module. Specifically, on the base station side, the base station module encapsulates the base station alarm information, cell establishment status, base station reset status, etc., into the data format field of the Ethernet data packet, and fills the corresponding base station status type field. Then, it is transmitted to the optical modem module through the internal interface between the optical modem module and the base station module. On the optical modem side, the main processing unit CPU of the optical modem module is responsible for parsing the Ethernet data packets from the base station and then performing corresponding processing. The preamble in the Ethernet data packet is a fixed value, and the destination address and source address are filled according to the board addresses of the base station and its communication equipment. It should be noted that the type field is filled according to the custom base station status type field of this invention and other standard Ethernet higher-layer protocol types that need to be transmitted. The Frame Check Sequence (FCS) is filled according to the actually calculated FCS value, as shown in Table 1, which represents the custom Ethernet data protocol of this embodiment of the invention. Table 1 is only an example. In practical applications, other fields may also be included, such as numeric fields, to fill in the transmitted data. This embodiment does not impose any restrictions.

[0145] Table 1

[0146]

[0147]

[0148] In step 102, Ethernet data packets sent by the base station are received.

[0149] In this step, the optical modem receives Ethernet data packets sent by the base station. It should be noted that the received Ethernet data packets may or may not include a base station status type field. If a base station status type field is included, it will be filled with: base station alarm status, base station cell establishment status, and base station reset status.

[0150] In step 103, the received Ethernet data packet is parsed, and the parsed type field is processed.

[0151] In this step, the optical modem parses the received Ethernet data packets, that is, it decapsulates the Ethernet data packets to obtain the corresponding parsing results, and processes the type field obtained in the parsing results.

[0152] The processing involves determining whether the type field obtained from the parsing result includes a base station status type field. If it does, step 104 is executed; otherwise, the existing process is followed. Specifically, if the type field is determined to be a non-base station status type field, the base station data and local optical modem data in the received Ethernet data packet are directly encapsulated into an Ethernet data packet, and the directly encapsulated Ethernet data packet is sent to the network management system. The specific encapsulation and transmission processes are well-known technologies in the field and will not be elaborated here.

[0153] In step 104, when the type field is a base station status type field, the base station status of the base station is checked to see if it is normal based on the base station status information on the base station status type field.

[0154] In this step, when the type field is the base station status type field, the optical modem determines whether the reset status of the base station is normal; if the base station reset status is abnormal (i.e., the reset status is abnormal), the reset level is timed, and when the first timed threshold (e.g., 2 seconds) is reached, the base station is controlled to reset and restart, and when the second timed threshold (e.g., 5 seconds) is reached, the base station is controlled to restore factory settings.

[0155] If the base station's reset status is normal, then the system continues to determine whether the base station's alarm status is normal; if the base station's alarm status is abnormal, then the system sends the base station's alarm status abnormality information to the network management system; if the base station's alarm status is normal, then the system continues to determine whether the base station's cell establishment status is normal.

[0156] If the cell establishment status of the base station is normal, it is determined that the base station status is normal; if the cell establishment status of the base station is abnormal, the abnormal cell establishment status information of the base station is sent to the network management system.

[0157] In this embodiment, the method for determining whether the base station's reset state, alarm state, and cell establishment state are normal is to compare the detected reset state, alarm state, and cell establishment state with the parsed reset state, alarm state, and cell establishment state to determine whether the corresponding reset state, alarm state, and cell establishment state are normal. The specific comparison process is well known to those skilled in the art and will not be described in detail here.

[0158] In step 105, when it is detected that the base station status of the base station is normal, the base station data, base station status information and local optical modem data in the received Ethernet data packet are encapsulated into an Ethernet data packet.

[0159] In this step, when the optical modem detects that the base station status is normal, it encapsulates the parsed base station data, base station status information, and local optical modem data into Ethernet data packets according to a custom Ethernet data format.

[0160] Base station data may include gateway, network management, and web page data, while base station status information may include reset status, alarm status, and cell establishment status. Optical modem data may include user broadband account and password information, wireless network information, set-top box service data, and telephone voice data.

[0161] In step 106, the encapsulated Ethernet data packet is sent to the network management system so that the network management system can send the Ethernet data packet to the optical network unit for fiber optic transmission.

[0162] In this step, the optical modem sends the encapsulated Ethernet data packet to the network management system, so that the network management system can process the Ethernet data packet and send the processed Ethernet data packet to the optical network unit for fiber optic transmission.

[0163] In this embodiment of the invention, an Ethernet data packet (i.e., a custom Ethernet data packet) including a base station status type field is sent to the base station. This involves adding a custom base station status type field to the existing Ethernet data packet protocol format. Furthermore, when an Ethernet data packet containing the base station status type field is received from the base station, the system checks whether the base station's status is normal. If the base station's status is normal, the system encapsulates the base station data, base station status information, and local optical modem data from the received Ethernet data packet into an Ethernet data packet and sends it to the network management system. In other words, this embodiment of the invention sends an Ethernet data packet including a custom base station status type field to the base station. The base station fills the detected base station status information into the base station status type field and encapsulates it along with other base station data into an Ethernet data packet, feeding it back to the optical modem. The optical modem parses the custom-encapsulated Ethernet data packet from the base station and detects and controls the base station status. This simplifies the hardware interface, reduces interface design costs and product size, and saves PHY layer chip resources and PCB trace area.

[0164] Optionally, in another embodiment, based on the above embodiment, the step of sending an Ethernet data packet including a base station status type field to the base station in the wireless network terminal includes: sending an Ethernet data packet including a base station status type field to a second physical fusion port of the base station in the wireless network terminal through a first physical fusion port, wherein the first fusion physical port and the second fusion physical port are connected through a direct connection structure of a set port (e.g., 16-pin) hardware board. The first physical fusion port is obtained by fusing the first power supply interface, the first SGMII interface, and the first GPIO interface in the optical modem; the second physical fusion port is obtained by fusing the second power supply interface, the second SGMII interface, and the second GPIO interface in the base station. It should be noted that the first physical fusion port and the second physical fusion port can be collectively referred to as the physical fusion port used to connect the optical modem and the base station in the wireless network terminal.

[0165] In other words, in this embodiment of the invention, a physical converged port is adopted based on the connection method between the optical modem module and the base station module in the wireless network terminal. This physical converged port integrates the hardware interfaces of the power supply interface, SGMII interface and GPIO interface.

[0166] This invention proposes a deep integration of an optical modem module and a base station module (such as an integrated small base station) to create a fixed-mobile integrated terminal, meeting users' indoor wired and wireless internet access needs. Based on this, the base station module needs to utilize the PON broadband transmission resources of the optical modem module for data transmission. Addressing the internal communication issue between the base station module and the optical modem module, this invention employs the SGMII interface and proposes a hardware interface integration method that combines the SGMII interface and the GPIO interface. The specific implementation includes:

[0167] In this embodiment of the invention, the hardware boards of the base station module (i.e., integrated small base station) and the optical modem module respectively integrate power supply interfaces, SGMII interfaces, and GPIO interfaces. The hardware boards output a unified physical converged port, such as... Figure 2 and Figure 3 As shown, Figure 2 This is a schematic diagram of a physical fusion port provided in an embodiment of the present invention. Figure 3 This is a schematic diagram of the inter-board wiring used in a physical convergence port for communication between an optical modem and a base station, as provided in an embodiment of the present invention.

[0168] like Figure 2As shown, the physical fusion port can adopt a direct connection structure of preset interface between boards (such as a direct connection structure of 16-core connecting cable between boards) to realize short-distance communication between the integrated small base station and the optical modem module. Of course, in specific applications, other preset interface connection structures can also be used, and this embodiment does not impose any restrictions.

[0169] like Figure 3 As shown in Table 2, the definition of the physical fusion port between the optical modem module (as the master device) and the base station module (as the slave device) is as follows. It should be noted that in actual applications, adaptive adjustments can be made as needed, and this embodiment does not impose any restrictions.

[0170] Table 2

[0171]

[0172] As shown in Table 2, in this embodiment of the invention, based on the physical fusion port, the optical modem module and the base station module utilize the SGMII interface to provide two pairs of differential signal lines (i.e., 5, 6, 9, 10) as data lines, directly transmitting internal data between the optical modem and the integrated small base station at the MAC layer. Specifically, lines 5 and 6 serve as the optical modem's data transmission lines (TXP, TXN) and the base station's receiving lines (RXP, RXN), encapsulating base station status information (such as base station alarm status, base station cell establishment status, and base station reset status) and other information such as gateway, network management, and web page data into Ethernet data packets and sending them to the base station. Lines 9 and 10 serve as the optical modem's data reception lines (RXP, RXN) and the base station's transmission lines (TXP, TXN), receiving Ethernet data packets from the base station, including gateway, network management, and web page data, as well as base station status information. GPIO interfaces (13-16) are used by the optical modem module to display, control, and process the base station status of the base station module. Direct inter-board connections (1-4, 7, 8, 11, 12) are used as power supply indicators from the optical modem module to the base station module.

[0173] In this embodiment of the invention, Ethernet data packets (i.e., custom Ethernet data packets) including a base station status type field are sent to the base station through a physical converged port. Specifically, a custom base station status type field is added to the original Ethernet data packet protocol format. When an Ethernet data packet containing the base station status type field is received from the base station, the base station's status is checked for normality. If the base station's status is detected to be normal, the base station data, base station status information, and local optical modem data from the received Ethernet data packet are encapsulated into an Ethernet data packet for transmission. In other words, this embodiment of the invention uses an integrated physical converged port for the transmission of custom Ethernet data packets. The optical modem parses the custom-encapsulated Ethernet data packets from the base station and controls the base station status, simplifying the hardware interface, reducing interface design costs and product size, and saving PHY layer chip resources and PCB trace area.

[0174] In this embodiment of the invention, in a scenario where optical modems and base stations are deeply integrated, a direct MAC layer communication method using the SGMII interface is defined. An interface fusion method integrating the SGMII interface and GPIO is proposed. The two pairs of differential lines of the SGMII interface are used as data lines to directly transmit data between the optical modem and the base station at the MAC layer, saving the resources of two PHY layer chips and network transformers, and improving the reliability and stability of network communication between the optical modem and the base station.

[0175] This invention embodiment uses a 16-pin hardware board direct connection structure as an example to output a unified physical fusion interface. Through this unified physical fusion interface, a master-slave device interaction interface control design is adopted. The communication between the optical modem module and the base station module is realized by utilizing the CPU control of the optical modem and the base station, simplifying hardware board routing, saving PCB resources, streamlining product form, reducing product size, and lowering costs.

[0176] Optionally, in another embodiment, based on the above embodiment, before sending the Ethernet data packet including the base station status type field to the base station in the wireless network terminal, the method may further include: sending power supply information to the base station in the wireless network terminal through a first physical convergence port, so as to control the base station to turn on the power and supply power to the base station.

[0177] In other words, in this embodiment, the optical modem sends power supply information to the base station in the wireless network terminal through the first physical fusion port, so as to control the base station to turn on its power supply based on the received power supply information and provide power to the base station. This realizes the optical modem's power supply control over the base station.

[0178] Please also see Figure 4This is another flowchart of a data transmission method provided by an embodiment of the present invention. The method is applied to a base station in a wireless network terminal and includes:

[0179] Step 401: Receive an Ethernet data packet, including a base station status type field, sent by the optical modem in the wireless network terminal.

[0180] In this step, when the base station receives the Ethernet data packet sent by the optical modem, optionally, the base station can receive the Ethernet data packet including the base station status type field sent by the first physical fusion port of the optical modem in the wireless network terminal through the second physical fusion port. The second physical fusion port and the first physical fusion port are connected through a preset port hardware board direct connection structure. The hardware board direct connection structure is as described above and will not be repeated here.

[0181] Specifically, the first physical fusion port is obtained by fusing the first power supply interface, the first SGMII interface, and the first GPIO interface in the optical modem; the second physical fusion port is obtained by fusing the second power supply interface, the second SGMII interface, and the second GPIO interface in the base station. It should be noted that the first and second physical fusion ports can be collectively referred to as physical fusion ports used to connect the optical modem and the base station in the wireless network terminal.

[0182] In this embodiment of the invention, in a scenario where optical modems and base stations are deeply integrated, a direct MAC layer communication method using the SGMII interface is defined. An interface fusion method integrating the SGMII interface and GPIO is proposed. The two pairs of differential lines of the SGMII interface are used as data lines to directly transmit data between the optical modem and the base station at the MAC layer, saving the resources of two PHY layer chips and network transformers, and improving the reliability and stability of network communication between the optical modem and the base station.

[0183] Step 402: Parse the Ethernet data packet and process the obtained type field.

[0184] In this step, the base station parses the received Ethernet data packets, that is, it decapsulates the received Ethernet data packets to obtain the corresponding parsing results, and processes the type field obtained from the parsing results.

[0185] The processing procedure involves determining whether the type field obtained from the parsing result includes the base station status type field. If it does, step 403 is executed; otherwise, the base station is handed over to the local system for corresponding processing according to the type field. The specific processing procedure is well-known to those skilled in the art and will not be elaborated here.

[0186] Step 403: When the type field is a base station status type field, detect its own status and obtain its own status information.

[0187] In this step, when the type field is the base station status type field, the base station determines whether its own reset status is normal; that is, it determines whether its own reset level (i.e., the base station reset level) is high. If it is high, it means that the base station reset status is normal; if it is low, it means that the base station reset status is abnormal. When the base station reset status is abnormal, the reset level is timed. When the timed result reaches the first timed threshold (e.g., 2 seconds), the base station resets and restarts. When the timed result reaches the second timed threshold (e.g., 5 seconds), the base station restores its factory settings.

[0188] When the base station determines that its own reset state is normal, it detects its own alarm state and cell establishment state to obtain its own (i.e., base station) alarm state information and cell establishment information; and combines the detected reset state information, alarm state information and cell establishment state information as its own state information (i.e., base station state information).

[0189] Step 404: Fill the detected self-state information into the base station state type field, and encapsulate the self-state information and base station data into an Ethernet data packet.

[0190] In this step, the base station fills its own status information (such as reset status information, alarm status information, and cell establishment status information) into the base station status type field of the Ethernet data packet, and then encapsulates the self-status information and base station data (such as the base station's gateway, network management, and web data) into an Ethernet data packet. The specific encapsulation method is well known to those skilled in the art and will not be described in detail here.

[0191] Step 405: Send the encapsulated Ethernet data packet to the optical modem.

[0192] In this step, the base station can send the encapsulated Ethernet data packets to the optical modem through the second physical fusion port.

[0193] In this embodiment, when the base station receives a custom Ethernet data packet sent by the optical modem, it checks whether its reset status is normal based on the base station status type field obtained by parsing the Ethernet data packet. If the reset status is normal, the base station checks the alarm status and cell establishment status of the base station to obtain the base station alarm status information and cell establishment status information. After filling the base station alarm status information, cell establishment status, and reset status into the base station status type field, the base station data packet is encapsulated with the base station data and transmitted to the optical modem through the internal port.

[0194] In this embodiment of the invention, a custom Ethernet transmission protocol is proposed based on the existing Ethernet data transmission format. A new base station status type field is defined to include the status information of the base station. Then, when the base station receives an Ethernet data packet (i.e., a custom Ethernet data packet) containing the base station status type field sent by the optical modem, and the type field obtained by parsing the Ethernet data packet is the base station status type field, the base station detects its own status and obtains its own status information (i.e., base station status information). The base station status information and base station data are then encapsulated into an Ethernet data packet and transmitted to the optical modem through the port between the optical modem and the base station, thereby improving the efficiency of data transmission.

[0195] Optionally, in another embodiment, based on the above embodiment, before receiving the Ethernet data packet including the base station status type field sent by the optical modem in the wireless network terminal, the method may further include: receiving power supply information sent by the optical modem in the wireless network terminal through the second physical convergence port; and controlling the power supply to turn on based on the power supply information.

[0196] In this embodiment of the invention, when the base station receives power supply information sent by the optical modem, it controls the power supply to turn on.

[0197] Please also see Figure 5 This is an application diagram illustrating a data transmission method provided by an embodiment of the present invention. In this embodiment, the optical modem module acts as the master device, and the base station module acts as the slave device. The optical modem module includes, for example, an ONU protocol stack, routing / switching, the optical modem's CPU, a power supply unit, a physical fusion interface (i.e., the first physical fusion interface), and base station status, gateway, network management, and web page data parsed by the optical modem's CPU. The base station module includes, for example, a base station power supply, a base station (CPU), and a physical fusion interface (i.e., the second physical fusion interface). The physical fusion interface in the optical modem module and the physical fusion interface in the base station module are connected via a 16-pin connector. In other words, this embodiment of the present invention uses the CPU interaction process between the optical modem module and the base station module as an example to illustrate that the two modules achieve internal communication through a unified physical fusion interface, specifically including:

[0198] 1) The optical modem module sends power supply information and custom Ethernet data packets to the base station module through the physical converged interface;

[0199] In this step, the optical modem module receives data transmitted through the optical fiber. This data is then sequentially input to the optical modem's CPU via the ONU protocol stack and routing / switching. The optical modem's CPU controls the power supply unit to send power supply information, base station control information (such as commands to turn on the base station power), and Ethernet data packets including base station status fields to the physical convergence interface of the base station module through the physical convergence interface.

[0200] 2) The base station module receives power supply information, base station control information and Ethernet data packets including base station status fields sent by the optical modem module through the physical fusion interface.

[0201] 3) The base station module determines whether the power supply line is valid based on the power supply information. If it is valid, then proceed to step 4); otherwise, it shuts down and ends the operation.

[0202] In this step, after receiving the power supply information, the base station module controls the base station power supply to turn on the power supply. The specific turning-on process includes: the base station power supply determines whether the base station power supply line is valid. If it is valid, the power supply is turned on; if it is invalid, the base station power supply is turned off, and the process ends.

[0203] 4) The base station's CPU parses the received Ethernet data packet and determines whether the parsed type field is a base station status type. If the type field is a base station status type, proceed to step 5); otherwise, if the type field is another type field, proceed to step 8).

[0204] 5) The base station's CPU detects the base station's reset status, i.e., it detects whether the reset level is low. If it is low, then execute 6); if it is high, then execute 7).

[0205] 6) When the reset level is low, the counter is controlled to count. When the counter count reaches 2 seconds (this is an example in this embodiment, but it is not limited to this in actual application), the base station is reset and restarted. When the counter count reaches 5 seconds, the base station is restored to factory settings and returns to the base station's CPU to continue to detect the base station reset status.

[0206] 7) When the reset level is high, the base station CPU parses the Ethernet data packets to obtain data for local processing. Local processing involves detecting the base station's own alarm status and cell establishment status, etc., to obtain the detected base station alarm status information and base station cell establishment status information. In this embodiment, the detected base station reset status information, base station alarm status information, and base station cell establishment status information are collectively referred to as base station status information.

[0207] 8) The base station performs local response processing according to other types of fields obtained by parsing Ethernet packets to obtain base station data; the specific local response processing process is well known to those skilled in the art and will not be described in detail here.

[0208] 9) The base station module encapsulates the base station status information obtained in 7) and the base station data obtained in 8) into Ethernet data packets; and sends the encapsulated Ethernet data packets to the optical modem module through the physical fusion interface, thus ending the local distribution process.

[0209] In this embodiment, the optical modem module and the base station module communicate through a physical fusion interface. The physical fusion interface integrates the SGMII interface and GPIO jointly designed interface fusion method. It uses two pairs of differential lines of the SGMII interface as data lines to directly transmit data between the optical modem and the base station at the MAC layer, saving the resources of two PHY layer chips and network transformers, and improving the reliability and stability of network communication between the optical modem and the base station.

[0210] The physical fusion interface of the optical modem module and the physical fusion interface of the base station module are directly connected using a 16-pin hardware board direct connection structure, outputting a unified physical fusion interface. Communication between the optical modem module and the base station module is achieved through CPU control of the optical modem and base station, simplifying hardware board routing, saving PCB resources, streamlining product form, reducing product size, and lowering costs.

[0211] Please also see Figure 6 This is a schematic diagram illustrating another application example of a data transmission method provided by an embodiment of the present invention. In this embodiment, the optical modem module is still used as the master and the base station module is used as the slave. In this embodiment, the optical modem module includes: an ONU protocol stack, a network management system, the optical modem's CPU, and a power supply unit. The base station module includes: a power supply unit (i.e., a base station power supply) and the base station's CPU. The optical modem module and the base station module are connected via a 16-wire physical converged interface, specifically including:

[0212] 1) After receiving the Ethernet data packet containing the base station status type field sent by the optical modem module through the 16-wire direct-connect physical converged interface, the base station CPU begins to detect the base station's reset status, alarm status, and base station cell establishment status, and obtains the corresponding reset status, alarm status, and base station cell establishment status.

[0213] 2) The base station CPU encapsulates the base station's alarm status information, reset status information, cell establishment status information, and other information such as the base station's network management and web page data (collectively referred to as base station data) according to a custom Ethernet protocol format and adds them to the corresponding custom type fields. That is, the base station's alarm status information, reset status information, and cell establishment status information are added to the base station status type field, and the base station's network management, web page data, and other information are added to other type fields.

[0214] 3) The base station CPU sends Ethernet data packets to the optical modem module through the 16-wire direct-connect physical converged interface to report the base station status and base station data.

[0215] 4) The optical modem CPU receives Ethernet data packets from the base station, parses the Ethernet data packets, and determines whether the type field obtained from the parsing is the base station status type field. If it is the base station status type field, proceed to step 5; otherwise, proceed to step 11.

[0216] 5) The optical modem CPU checks whether the reset status is normal, that is, whether the RST level has timed out. If it has timed out, execute 6) and 7). If it is normal, execute 8).

[0217] 6) After the timeout, the control base station performs a reset RST detection, that is, the optical modem CPU controls the base station to check whether its own reset RST status is normal (i.e., check whether the RST level is high). If the RST status is abnormal (i.e., the reset level is low), the counter starts to start timing and executes 7); otherwise, if the RST status is normal (i.e., the reset level is high), execute 12).

[0218] 7): When the base station detects that the reset level is low, determine whether the timer has reached the set time. If the timer reaches 2 seconds, the base station is reset and restarted. If the timer reaches 5 seconds, the base station is restored to factory settings and the process ends.

[0219] 8) When the reset level is high, the optical modem CPU detects the base station alarm status. If the alarm status is normal, then execute 9); if the alarm status is abnormal, send an alarm status abnormality message to the network management system.

[0220] 9) The optical modem CPU detects the base station cell establishment status. If it is normal, it executes 10). If it is abnormal, it sends an abnormal base station cell establishment status information to the network management system.

[0221] 10) When the base station cell establishment status is normal, the base station data and detected base station status information in the parsed Ethernet data will be encapsulated into Ethernet data packets and reported to the network management system for processing, so that the network management system can process the data and report it to the ONU protocol stack for transmission.

[0222] 11) The optical modem CPU will parse the base station data in the Ethernet packet sent by the base station and encapsulate it with the local optical modem data into an Ethernet data packet, and send it to the network management and ONU protocol stack for processing and transmission. The optical modem test and report process ends.

[0223] 12) When the base station detects the reset level as high, the base station encapsulates the gateway, network management, and web page data with local data into a data packet and sends it to the optical modem module.

[0224] It should be noted that, for the sake of simplicity, the method embodiments are all described as a series of actions. However, those skilled in the art should understand that this disclosure is not limited to the described order of actions, because according to the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions involved are not necessarily essential to the present invention.

[0225] Please also see Figure 7 This is a block diagram of a data transmission device provided in an embodiment of the present invention. The device is applied to an optical modem in a wireless network terminal and includes: a first transmitting module 701, a receiving module 702, a parsing module 703, a detection module 704, a first encapsulation module 705, and a second transmitting module 706, wherein...

[0226] The first sending module 701 is used to send an Ethernet data packet including a base station status type field to the base station in the wireless network terminal;

[0227] The receiving module 702 is used to receive Ethernet data packets sent by the base station;

[0228] The parsing module 703 is used to parse the received Ethernet data packets and process the parsed type field;

[0229] The detection module 704 is used to detect whether the base station status is normal based on the base station status information in the base station status type field when the type field parsed by the parsing module is a base station status type field.

[0230] The first encapsulation module 705 is used to encapsulate the base station data, base station status information and local optical modem data in the received Ethernet data packet into an Ethernet data packet when the detection module detects that the base station status of the base station is normal.

[0231] The second sending module 706 is used to send the encapsulated Ethernet data packet to the network management system in the wireless network terminal, so that the network management system sends the Ethernet data packet to the optical network unit for optical fiber transmission.

[0232] Optionally, in another embodiment, based on the above embodiments, the apparatus further includes:

[0233] The second encapsulation module is used to directly encapsulate the base station data and local optical modem data in the received Ethernet data packet into an Ethernet data packet when the type field parsed by the parsing module is not a base station status type field.

[0234] The third sending module is used to send the directly encapsulated Ethernet data packets.

[0235] Optionally, in another embodiment, based on the above embodiments, the apparatus further includes:

[0236] The fourth sending module is used to send power supply information to the base station in the wireless network terminal through the first physical convergence port before the first sending module sends the Ethernet data packet including the base station status type field to the base station in the wireless network terminal, so as to control the base station to turn on the power and supply power to the base station.

[0237] Optionally, in another embodiment, based on the above embodiment, the first sending module is specifically used to send an Ethernet data packet including a base station status type field to a second physical fusion port of the base station in the wireless network terminal through a first physical fusion port, wherein the first physical fusion port and the second physical fusion port are connected through a direct connection structure of a set port hardware board.

[0238] Optionally, in another embodiment, based on the above embodiment, the first physical fusion port of the first transmitting module is obtained by fusing the first power supply interface, the first SGMII interface and the first GPIO interface in the optical modem; and the second physical fusion port is obtained by fusing the second power supply interface, the second SGMII interface and the second GPIO interface in the base station.

[0239] Optionally, in another embodiment, based on the above embodiments, the detection module includes:

[0240] The first judgment module is used to determine whether the reset status of the base station is normal when the type field is a base station status type field;

[0241] The second judgment module is used to continue to judge whether the alarm status of the base station is normal when the reset status of the base station is normal.

[0242] The third judgment module is used to further judge whether the cell establishment status of the base station is normal when the alarm status of the base station is normal.

[0243] The determination module is used to determine that the base station status of the base station is normal when the cell establishment status of the base station is normal.

[0244] Optionally, in another embodiment, based on the above embodiments, the detection module further includes:

[0245] The timing module is used to time the reset level when the first judgment module determines that the reset state of the base station is abnormal;

[0246] The control module is used to control the base station to reset and restart when the timing module reaches a first timing threshold, and to control the base station to restore factory settings when the timing reaches a second timing threshold.

[0247] An alarm anomaly sending module is used to send alarm anomaly information of the base station to the network management system when the third judgment module determines that the alarm status of the base station is abnormal.

[0248] The cell establishment anomaly sending module is used to send cell establishment anomaly information of the base station to the network management system when the cell establishment status of the base station is abnormal.

[0249] Please also see Figure 8 This is another block diagram of a data transmission device provided in an embodiment of the present invention. The device is applied to a base station in a wireless network terminal and includes: a first receiving module 801, a parsing module 802, a detection module 803, an encapsulation module 804, and a sending module 805, wherein...

[0250] The first receiving module 801 is used to receive Ethernet data packets including a base station status type field sent by the optical modem in the wireless network terminal;

[0251] The parsing module 802 is used to parse the Ethernet data packets and process the parsed type field;

[0252] The detection module 803 is used to detect its own status and obtain its own status information when the type field obtained by the parsing module is a base station status type field.

[0253] The encapsulation module 804 is used to fill the detected self-state information into the base station state type field and encapsulate it with the parsed base station data into an Ethernet data packet.

[0254] The sending module 805 is used to send the padded Ethernet data packets to the optical modem.

[0255] Optionally, in another embodiment, based on the above embodiments, the detection module includes:

[0256] The reset detection module is used to detect whether its own reset status is normal when the type field obtained by the parsing module is a base station status type field.

[0257] The status information determination module is used to detect its own alarm status and cell establishment status when the reset detection module detects that its own reset status is normal, and obtain its own alarm status information and cell establishment information.

[0258] The base station status determination module is used to use its own reset status information, alarm status information, and cell establishment status information as its own status information.

[0259] Optionally, in another embodiment, based on the above embodiments, the apparatus further includes:

[0260] The second receiving module is used to receive power supply information sent by the optical modem in the wireless network terminal through the second physical convergence port before the first receiving module receives the Ethernet data packet including the base station status type field sent by the optical modem in the wireless network terminal.

[0261] The control module is used to control the power supply to turn on and supply power based on the power supply information.

[0262] Optionally, in another embodiment, based on the above embodiment, the first receiving module is specifically used to receive Ethernet data packets including a base station status type field sent by the first physical fusion port of the optical modem in the wireless network terminal through the second physical fusion port, wherein the second physical fusion port and the first physical fusion port are connected through a preset port hardware board direct connection structure.

[0263] The sending module is specifically used to send the encapsulated Ethernet data packets to the optical modem through the second physical fusion port.

[0264] Please also see Figure 9 The block diagram of a wireless network terminal provided in this embodiment of the invention includes: an optical modem module 901, a base station module 902, a first physical fusion port 903, and a second physical fusion port 904. The first physical fusion port 903 and the second physical fusion port 904 are connected via a direct connection structure of a port hardware board (e.g., a 16-wire hardware board direct connection structure). The optical modem module 901 is connected to the base station module 902 via the first physical fusion port 903 and the second physical fusion port 904.

[0265] The optical modem module 901 is used to send power supply information and Ethernet data packets including a base station status type field to the second physical fusion port 902 of the base station module through the first physical fusion port 901.

[0266] The base station module 902 is configured to receive power supply information sent by the optical modem module through the second physical fusion port 904, and control the power supply to turn on based on the power supply information; parse the received Ethernet data packets, and process the parsed type field; when the type field is a base station status type field, detect its own status and obtain its own status information; fill the detected own status information into the base station status type field, and encapsulate it with the parsed base station data into an Ethernet data packet; and send the encapsulated Ethernet data packet to the optical modem module 901 through the second physical fusion port.

[0267] The optical modem module 901 is further configured to receive Ethernet data packets sent by the base station module after power supply through the first physical fusion port 903; parse the received Ethernet data packets sent by the base station module and process the parsed type field; when the type field is a base station status type field, detect whether the base station status of the base station module is normal based on the base station status information on the base station status type field; and when the base station status of the base station module is detected to be normal, encapsulate the base station data, base station status information and local optical modem data in the received Ethernet data packets sent by the base station module into an Ethernet data packet; and send the encapsulated Ethernet data packet to the network management system in the wireless network terminal so that the network management system sends the Ethernet data packet to the optical network unit for fiber optic transmission.

[0268] Optionally, in another embodiment, based on the above embodiment, the first physical fusion port is obtained by fusing the first power supply interface, the first SGMII interface and the first GPIO interface in the optical modem module; the second physical fusion port is obtained by fusing the second power supply interface, the second SGMII interface and the second GPIO interface in the base station module.

[0269] Please also see Figure 10This invention provides an application schematic diagram of a wireless network terminal. In this embodiment, the wireless network terminal takes a wireless modem as an example. The wireless modem includes an optical modem module and a base station module, with the optical modem module acting as the master and the base station module as the slave. The optical modem module includes a power supply unit, an optical modem main processing unit (CPU), GPIO interfaces, and an SGMII interface, as well as a unified physical interface for external output obtained by integrating the GPIO interfaces and SGMII interfaces in the optical modem module and the power supply interface of the power supply unit (not shown in the figure). The base station module includes a base station power supply, a base station main processing unit (CPU), GPIO interfaces, and an SGMII interface, as well as a unified physical interface for external output obtained by integrating the GPIO interfaces and SGMII interfaces in the base station module and the power supply interface of the base station power supply (not shown in the figure). The unified physical interface for external output in the optical modem module and the unified physical interface for external output in the base station module are connected via a 16-wire connection, but this is not the only possibility in specific applications.

[0270] As shown in the figure, the optical modem module sends power supply information to the base station module through the power supply unit, that is, controls the base station power supply of the base station module to supply power to the base station.

[0271] The optical modem CPU in the optical modem module sends an Ethernet data packet containing a base station status type field to the base station through the physical converged port. When the base station CPU in the base station module receives the Ethernet data packet containing the base station status type field, it parses the Ethernet data packet and processes the parsed type field. If the type field is a base station status type field, the base station CPU detects its own reset status (i.e., reset level). If the reset status is normal, it performs local processing. Specifically, it fills the detected self-status information (reset status information, alarm status information, and cell establishment status information) into the base station status type field and encapsulates it with the parsed base station data into an Ethernet data packet, which is then sent to the optical modem. The specific process is detailed above and will not be repeated here.

[0272] When the base station CPU receives Ethernet data packets sent by the base station module through the physical fusion port, it parses the received Ethernet data packets and processes the parsed type field. When the type field is a base station status type field, it checks whether the base station status is normal based on the base station status information in the base station status type field. When the base station status is detected to be normal, it encapsulates the base station data, base station status information, and local optical modem data in the received Ethernet data packets into an Ethernet data packet. The encapsulated Ethernet data packet is then sent to the network management system so that the network management system can send the Ethernet data packet to the optical network unit for fiber optic transmission.

[0273] In other words, the optical modem's CPU parses the received Ethernet packets and determines whether the parsed type field is a base station status type field. If so, it performs local processing. Specifically, based on the base station status information in the base station status type field, it detects the base station status (i.e., whether the base station's reset status, alarm status, and cell establishment status are normal). The specific detection process is detailed above and will not be repeated here. Afterward, the detected base station status information, the parsed base station data, and the local optical modem data are encapsulated into an Ethernet packet and sent to the network management system through the physical converged port. If not, the parsed base station data and the local optical modem data are directly encapsulated into an Ethernet packet and sent to the network management system through the physical converged port. The specific sending process is not shown in the diagram.

[0274] In this embodiment of the invention, the power supply unit and base station power supply interfaces, SGMII interface and GPIO interface are integrated on the hardware board of the integrated small base station and the optical modem, respectively. The board outputs a unified physical fusion port. Taking the direct connection structure of the 16-core inter-board connection cable as an example, the physical fusion port realizes short-distance inter-board communication between the integrated small base station and the optical modem. The specific meaning of the 16-line connection of each interface in the physical fusion port is detailed above and will not be repeated here.

[0275] Please also see Figure 10A This is a schematic diagram of the internal module connections of a wireless network terminal according to an embodiment of the present invention. In this embodiment, the wireless network terminal takes a wireless modem as an example and integrates the interface of the optical network unit (ONU) and the integrated small base station. Figure 10AAs shown, in the deep integration of traditional optical modems and integrated small base stations, a custom Ethernet message method is proposed. This involves defining a new base station status type field based on existing message types, primarily including base station alarm status, base station cell establishment status, and base station reset status, which is identified and processed by the CPU of the optical modem module. Furthermore, in this embodiment, the physical fusion port uses a 16-pin hardware board direct connection structure as an example. This physical fusion port integrates the SGMII interface and the GPIO interface, outputting a unified physical fusion port. Specifically, the optical modem is the master module, and the base station is the slave module. The transmitting end of the CPU of the optical network unit (ONU) is connected to the receiving end of the CPU of the integrated small base station, and the receiving end of the CPU of the ONU is connected to the transmitting end of the CPU of the integrated small base station. The two pairs of differential signal lines provided by the SGMII interface are used as data lines to directly transmit data between the optical modem and the integrated small base station at the MAC layer. GPIO is used as the power supply line, status line and reset line from the master end to the slave end. External indicator lights can be connected, or it can be used as a reserved connection. This saves PHY layer chip resources and network transformers, saves PCB area, simplifies the product form and reduces the product size. It realizes low-cost, low-power, and low-resource internal communication between the optical modem module and the base station module inside the wireless modem product casing. At the same time, the direct connection at the MAC layer increases the reliability and stability of network communication between the optical modem and the base station.

[0276] Optionally, embodiments of the present invention also provide an electronic device, comprising:

[0277] processor;

[0278] Memory used to store the processor's executable instructions;

[0279] The processor is configured to execute the instructions to implement the data transfer method described above.

[0280] Optionally, embodiments of the present invention also provide a computer-readable storage medium that, when the instructions in the computer-readable storage medium are executed by a processor of an electronic device, enables the electronic device to perform the data transmission method as described above.

[0281] Optionally, embodiments of the present invention also provide a computer program product, including a computer program or instructions, which, when executed by a processor of an electronic device, implement the data transmission method described above.

[0282] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0283] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0284] Figure 11 This is a frame of an electronic device 1100 provided in an embodiment of the present invention. Figure 11 As shown in the figure, it includes a processor 1101, a communication interface 102, a memory 1103, and a communication bus 1104. The processor 1101, the communication interface 1102, and the memory 1103 communicate with each other through the communication bus 1104.

[0285] Memory 11503 is used to store the processor-executable instructions;

[0286] The processor 1101, when executing executable instructions on the memory 1103, implements the method described above.

[0287] In this embodiment, the communication bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is used to represent it in the figure, but this does not mean that there is only one bus or one type of bus.

[0288] The communication interface is used for communication between the aforementioned electronic devices and other devices.

[0289] The memory may include random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.

[0290] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0291] In another embodiment of the present invention, a computer-readable storage medium is also provided, which, when executed by a processor of an electronic device, enables the electronic device to perform the data transmission method described above. For example, the computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, or optical data storage device, etc.

[0292] In another embodiment of the present invention, a computer program product is also provided, including a computer program or instructions, which, when executed by a processor of an electronic device, implement the data transmission method described above.

[0293] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially 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, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk (SSD)).

[0294] Figure 12 This is a block diagram of a data transmission apparatus 1200 provided in an embodiment of the present invention. For example, apparatus 1200 can be provided as a wireless network terminal. (Refer to...) Figure 12 The apparatus 1200 includes a processing component 1222, which further includes one or more processors, and memory resources represented by memory 1232 for storing instructions, such as application programs, that can be executed by the processing component 1222. The application programs stored in memory 1232 may include one or more modules, each corresponding to a set of instructions. Furthermore, the processing component 1222 is configured to execute instructions to perform the methods described above.

[0295] Device 1200 may also include a power supply component 1226 configured to perform power management of device 1200, a wired or wireless network interface 1250 configured to connect device 1200 to a network, and an input / output (I / O) interface 1258. Device 1200 can operate on an operating system stored in memory 12932, such as Windows Server™, MacOS X™, Unix™, Linux™, FreeBSD™, or similar.

[0296] Other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of the invention are indicated by the following claims.

[0297] It should be understood that the present invention is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.

Claims

1. A data transmission method, characterized in that, The method is applied to the optical modem in a wireless network terminal, including: Send an Ethernet data packet including a base station status type field to the base station in the wireless network terminal; Receive Ethernet data packets sent by the base station; The received Ethernet data packets are parsed, and the parsed type field is processed. When the type field is a base station status type field, the base station status is checked to see if it is normal based on the base station status information in the base station status type field. When the base station status is detected to be normal, the base station data, base station status information and local optical modem data in the received Ethernet data packet are encapsulated into an Ethernet data packet. The encapsulated Ethernet data packet is sent to the network management system, so that the network management system sends the Ethernet data packet to the optical network unit for fiber optic transmission.

2. The data transmission method according to claim 1, characterized in that, Before sending an Ethernet packet including a base station status type field to the base station in the wireless network terminal, the method further includes: The power supply information is sent to the base station in the wireless network terminal through the first physical convergence port, so as to control the base station to turn on the power and supply power to the base station.

3. The data transmission method according to claim 1, characterized in that, Sending an Ethernet data packet including a base station status type field to the base station in the wireless network terminal includes: The first physical converged port sends an Ethernet data packet, including a base station status type field, to the second physical converged port of the base station in the wireless network terminal. The first converged physical port and the second converged physical port are connected through a direct connection structure of a port hardware board.

4. The data transmission method according to claim 3, characterized in that, The first physical fusion port is obtained by fusing the first power supply interface, the first SGMII interface and the first GPIO interface in the optical modem; The second physical fusion port is obtained by fusing the second power supply interface, the second SGMII interface and the second GPIO interface in the base station.

5. The data transmission method according to claim 1, characterized in that, When the type field is a base station status type field, detecting whether the base station status is normal based on the base station status information in the base station status type field includes: When the type field is a base station status type field, determine whether the reset status of the base station is normal; If the base station is in a normal reset state, continue to determine whether the base station's alarm state is normal. If the alarm status of the base station is normal, continue to determine whether the cell establishment status of the base station is normal; When the cell establishment status of the base station is normal, it is determined that the base station status of the base station is normal.

6. The data transmission method according to claim 5, characterized in that, When the type field is a base station status type field, the step of detecting whether the base station status is normal based on the base station status information further includes: When the reset state of the base station is abnormal, the reset level is timed. When the first timed threshold is reached, the base station is controlled to reset and restart. When the second timed threshold is reached, the base station is controlled to restore factory settings. When the alarm status of the base station is abnormal, send the alarm status abnormality information of the base station to the network management system; When the cell establishment status of the base station is abnormal, the abnormal cell establishment status information of the base station is sent to the network management system.

7. A data transmission method, characterized in that, The method is applied to a base station in a wireless network terminal, including: Receive Ethernet data packets, including a base station status type field, sent by the optical modem in the wireless network terminal; The Ethernet data packets are parsed, and the obtained type field is processed. When the type field is a base station status type field, the self-status is detected to obtain the self-status information; The detected self-state information is filled into the base station state type field and encapsulated with the parsed base station data into an Ethernet data packet; The encapsulated Ethernet data packet is sent to the optical modem.

8. The data transmission method according to claim 7, characterized in that, When the type field is a base station status type field, the self-status is detected to obtain self-status information, including: When the type field is a base station status type field, check whether the self-reset status is normal; When the system detects that its own reset status is normal, it checks its own alarm status and cell establishment status to obtain its own alarm status information and cell establishment information. The system detects its own reset status information, alarm status information, and cell establishment status information as its own status information.

9. The data transmission method according to claim 7 or 8, characterized in that, Before receiving the Ethernet data packet including the base station status type field sent by the optical modem in the wireless network terminal, the method further includes: The power supply information sent by the optical modem in the wireless network terminal is received through the second physical fusion port; Based on the power supply information, the power supply is controlled to turn on and supply power.

10. The data transmission method according to claim 7, characterized in that, The receiving of Ethernet data packets, including a base station status type field, sent by the optical modem in the wireless network terminal includes: The second physical fusion port receives Ethernet data packets, including a base station status type field, sent by the first physical fusion port of the optical modem in the wireless network terminal. The second physical fusion port and the first physical fusion port are connected by a preset port hardware board direct connection structure. Sending the encapsulated Ethernet data packet to the optical modem includes: sending the filled Ethernet data packet to the physical fusion port of the optical modem through the second physical fusion port.

11. A data transmission device, characterized in that, The device is used in an optical modem in a wireless network terminal and includes: The first sending module is used to send an Ethernet data packet including a base station status type field to the base station in the wireless network terminal; A receiving module is used to receive Ethernet data packets sent by the base station; The parsing module is used to parse the received Ethernet data packets and process the parsed type field; The detection module is used to detect whether the base station status is normal based on the base station status information in the base station status type field when the type field parsed by the parsing module is a base station status type field. The first encapsulation module is used to encapsulate the base station data, base station status information and local optical modem data in the received Ethernet data packet into an Ethernet data packet when the detection module detects that the base station status of the base station is normal. The second sending module is used to send the encapsulated Ethernet data packet to the network management system in the wireless network terminal, so that the network management system sends the Ethernet data packet to the optical network unit for optical fiber transmission.

12. A data transmission device, characterized in that, The device is used in a base station of a wireless network terminal and includes: The first receiving module is used to receive Ethernet data packets, including a base station status type field, sent by the optical modem in the wireless network terminal. The parsing module is used to parse the Ethernet data packets and process the type field obtained from the parsing. The detection module is used to detect its own status and obtain its own status information when the type field obtained by the parsing module is a base station status type field. An encapsulation module is used to fill the detected self-state information into the base station state type field and encapsulate it with the parsed base station data into an Ethernet data packet; The sending module is used to send the padded Ethernet data packets to the optical modem.

13. A wireless network terminal, characterized in that, include: The system includes an optical modem module, a base station module, a first physical fusion port, and a second physical fusion port. The first and second physical fusion ports are directly connected via a configured port hardware board. The optical modem module is connected to the base station module through the first and second physical fusion ports. The optical modem module is used to send power supply information and Ethernet data packets including a base station status type field to the second physical fusion port of the base station module through the first physical fusion port; The base station module is configured to receive power supply information sent by the optical modem module through the second physical fusion port, and control the power supply to turn on based on the power supply information; parse the received Ethernet data packets and process the parsed type field; when the type field is a base station status type field, detect its own status and obtain its own status information; fill the detected own status information into the base station status type field, and encapsulate it with the parsed base station data into an Ethernet data packet; and send the encapsulated Ethernet data packet to the optical modem module through the second physical fusion port. The optical modem module is further configured to receive Ethernet data packets sent by the base station module after power supply through the first physical fusion port; parse the received Ethernet data packets sent by the base station module and process the parsed type field; when the type field is a base station status type field, detect whether the base station status of the base station module is normal based on the base station status information on the base station status type field; and when the base station status of the base station module is detected to be normal, encapsulate the base station data, base station status information and local optical modem data in the received Ethernet data packets sent by the base station module into an Ethernet data packet; and send the encapsulated Ethernet data packet to the network management system in the wireless network terminal so that the network management system sends the Ethernet data packet to the optical network unit for fiber optic transmission.

14. An electronic device, characterized in that, include: processor; Memory used to store the processor's executable instructions; The processor is configured to execute the instructions to implement the data transmission method as described in any one of claims 1 to 10.

15. A computer-readable storage medium, characterized in that, When the instructions in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device is enabled to perform the data transmission method as described in any one of claims 1 to 10.