[go: up one dir, main page]

WO2024066579A1 - 数据处理方法、装置、网络设备和通信系统 - Google Patents

数据处理方法、装置、网络设备和通信系统 Download PDF

Info

Publication number
WO2024066579A1
WO2024066579A1 PCT/CN2023/104018 CN2023104018W WO2024066579A1 WO 2024066579 A1 WO2024066579 A1 WO 2024066579A1 CN 2023104018 W CN2023104018 W CN 2023104018W WO 2024066579 A1 WO2024066579 A1 WO 2024066579A1
Authority
WO
WIPO (PCT)
Prior art keywords
ont
olt
data
transmission channel
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2023/104018
Other languages
English (en)
French (fr)
Inventor
陈亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of WO2024066579A1 publication Critical patent/WO2024066579A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems

Definitions

  • the present application relates to the field of optical communications, and in particular to a data processing method, device, network equipment and communication system.
  • NAS Network Attached Storage
  • ONT optical network terminal
  • cloud storage is used as a transfer medium, and when the device is replaced, the data will be transferred to the cloud first.
  • the cloud cannot sense when the ONT device is damaged, the timing of data transmission cannot be determined, resulting in low data storage reliability.
  • the present application provides a data processing method, an apparatus, a network device and a communication system, thereby improving the storage reliability of data.
  • a data processing method is provided, which is executed by an ONT, and the method includes: when the ONT meets a data backup trigger condition, establishing a transmission channel between the ONT and an optical line terminal (Optical Line Terminal, OLT); sending a first message to the OLT based on the transmission channel, the first message including a transfer flag and user data, and the transfer flag is used to instruct the OLT to store the user data of the ONT.
  • OLT optical Line Terminal
  • the ONT meets the data backup trigger condition, the user data of the ONT is backed up by the OLT, and the data transmission timing can be accurately determined.
  • the method provided by the present application can effectively improve the storage reliability of data by automatically transferring.
  • data transfer is realized within the OLT and ONT network, the storage security of data can be effectively improved.
  • a transmission channel between the ONT and the OLT is established, including: the data backup trigger condition is used to indicate an ONT failure, and the transmission channel between the ONT and the OLT is established, including: when the ONT senses its own failure, the transmission channel between the ONT and the OLT is established.
  • the transfer is started after the ONT senses its own failure, which can avoid missing data, determine the timing of data transmission, and ensure the storage reliability of data.
  • a transmission channel between the ONT and the OLT is established, including: the data backup trigger condition is used to indicate that when the ONT obtains the backup trigger indication, a transmission channel between the ONT and the OLT is established.
  • the ONT obtains the backup trigger indication, including: receiving the backup trigger indication triggered by the user or system administrator.
  • the ONT receives the backup trigger indication triggered by the user or system administrator when the user or system administrator detects the fault problem, so as to avoid the situation that the ONT may not detect its own fault in time.
  • the transfer is started, which can avoid missing data, determine the timing of data transmission, and ensure Data storage reliability.
  • the ONT obtains the backup trigger indication, including: receiving the backup trigger indication sent by the OLT when the OLT senses the ONT failure.
  • the OLT can sense the working status of the ONT, identify the failure of the ONT, and start the transfer at this time, which can avoid missing data, determine the timing of data transmission, and ensure the reliability of data storage.
  • a transmission channel between the ONT and the OLT is established, including: the OLT periodically caches user data of the ONT.
  • the OLT periodically caches user data to avoid user data loss caused by insufficient storage space of the ONT.
  • establishing a transmission channel between the ONT and the OLT includes: sending a second message to the OLT, where the second message includes a channel establishment identifier, and the channel establishment identifier is used to instruct the OLT to establish the transmission channel with the ONT.
  • sending a first message to the OLT based on a transmission channel includes: sending the first message to the OLT through the transmission channel based on the Optical Network Unit Management and Control Interface (OMCI) protocol, and the transfer identifier and user data are located in the message content Message Contents field of the first message.
  • the OMCI protocol can also be replaced by any one of the HiLink protocol, the Message Queuing Telemetry Transport (MQTT) protocol and the Network Configuration (NETCONF) protocol.
  • MQTT Message Queuing Telemetry Transport
  • NETCONF Network Configuration
  • the OMCI protocol has universality and backward compatibility, and it is easy to modify and expand it to realize functions. By expanding the message content field of the OMCI protocol, the data storage function between the OLT and the ONT is realized, and the reliability of data storage is guaranteed.
  • the method further includes: removing the transmission channel. Removing the channel for transmitting user data is conducive to releasing storage space resources.
  • a data processing method is provided, the method is executed by an OLT, and the method includes: receiving a first message sent by a first optical network terminal ONT, the first message including a first transfer identifier and user data, the first transfer identifier is used to indicate that the OLT stores the user data of the first ONT; based on a transmission channel between the OLT and the second ONT, sending a third message to the second ONT, the third message including a second transfer identifier and user data, the second transfer identifier is used to indicate that the second ONT stores the user data of the first ONT.
  • the OLT as the transfer medium, data backup of the first ONT and data recovery of the second ONT are realized, and the storage reliability of the data is ensured.
  • the method includes: after the OLT receives the channel establishment identifier sent by the second ONT, the OLT control function requests the OLT storage function to start establishing the data transmission channel.
  • a data processing device which includes various modules for executing the data processing method in the first aspect or any possible design of the first aspect, or various modules for executing the data processing method in the second aspect or any possible design of the second aspect.
  • a network device which includes at least one processor and a memory, wherein the memory is used to store a set of communication instructions; when the processor executes a set of communications as an execution device in the first aspect or any possible implementation of the first aspect, the operation steps of the data processing method in the first aspect or any possible implementation of the first aspect are executed; or, when the processor executes a set of communications as an execution device in the second aspect or any possible implementation of the second aspect, the operation steps of the data processing method in the second aspect or any possible implementation of the second aspect are executed.
  • a communication system comprising an ONT and an OLT, the ONT being used to execute the operation steps of the data processing method in the first aspect or any possible implementation of the first aspect, and the OLT being used to execute the second aspect or any possible implementation of the second aspect. Operation steps of a data processing method in a possible implementation.
  • FIG1 is a schematic diagram of an ONT-NAS scenario provided by the prior art
  • FIG2 is a schematic diagram of a cloud dump provided by the prior art
  • FIG3 is a schematic diagram of the structure of an optical communication system provided by the present application.
  • FIG4 is a flow chart of a data processing method provided by the present application.
  • FIG5 is a schematic diagram of establishing a transmission channel provided by the present application.
  • FIG6 is a schematic diagram of an extended OMCI protocol provided by the present application.
  • FIG7 is a schematic diagram of the structure of a data processing device provided by the present application.
  • FIG8 is a schematic diagram of the structure of a network device provided by the present application.
  • FIG1 is a schematic diagram of an ONT-NAS scenario provided by the prior art.
  • the PON network 100 includes an OLT 110 and an ONT 120.
  • ONT can provide secure and reliable localized NAS services to home broadband users to ensure the security of data information.
  • ONT can store user data of terminal devices 130 of different forms. Terminal devices 130 of different forms include user mobile phones, tablet computers, and laptops, etc. Users use these terminal devices for learning, entertainment, and work. However, when the ONT device is damaged, the stored data will be lost, causing data loss to the user.
  • FIG2 is a schematic diagram of a cloud dump provided by the prior art.
  • cloud storage is used as a dump medium.
  • ONT fails or is damaged, it needs to be replaced, and the user data stored in the old ONT is uploaded to the cloud for backup, and the new ONT downloads the user data from the cloud for storage.
  • the terminal device runs the ONT operation and maintenance application, 1 backs up user data to the old ONT, 2 the old ONT uploads user data to the cloud, 3 backs up user data to the new ONT, and 4 the new ONT downloads user data from the cloud.
  • the cloud cannot sense when devices such as ONTs are damaged, the timing of data transmission cannot be determined, resulting in low data storage reliability.
  • cloud storage outside the network also results in low data storage security.
  • Optical Network Terminal commonly known as optical modem, refers to a network device that transmits through optical fiber media and modulates and demodulates optical signals into other protocol signals.
  • Optical Line Terminal refers to the terminal equipment used to connect to the optical fiber trunk line.
  • Passive Optical Network refers to a network that contains passive devices such as optical splitters, but does not contain active electronic devices or electronic power supplies.
  • the Optical Network Unit Management and Control Interface (OMCI) protocol is a protocol for information exchange between OLT and ONT defined in the Gigabit Passive Optical Network standard. It is used for the management of ONT by OLT in the network, including configuration management, fault management, performance management and security management.
  • the present application provides a data processing method, that is, when ONT meets the data backup trigger condition, a transmission channel between OLT and ONT is established, and the user data of ONT is backed up by OLT, so that the data transmission timing can be accurately determined, and the automatic transfer can effectively improve the reliability of data transmission.
  • a data processing method that is, when ONT meets the data backup trigger condition, a transmission channel between OLT and ONT is established, and the user data of ONT is backed up by OLT, so that the data transmission timing can be accurately determined, and the automatic transfer can effectively improve the reliability of data transmission.
  • High data storage reliability since data transfer is realized within the OLT and ONT network, data storage security can be effectively improved.
  • FIG3 is a schematic diagram of the structure of an optical communication system provided by the present application.
  • the optical communication system 300 may be an entity of a PON.
  • the optical communication system 300 includes an ONT 320 and an OLT 330, wherein the ONT 320 is connected to the OLT 330 via an optical fiber, the OLT 330 is connected to a server 340, and the ONT 320 is connected to a terminal device 310.
  • PON is an optical access network that provides users with high bandwidth and full services.
  • the OLT is the core component of the PON, providing a fiber optic interface for a user-oriented passive optical network.
  • the OLT is connected to the upper network to complete the upstream access of the PON.
  • the upper network can be the Internet Protocol (IP) backbone network or the Public Switched Telephone Network (PSTN).
  • IP Internet Protocol
  • PSTN Public Switched Telephone Network
  • the other end of the OLT is connected to the user-end device through the Optical Distribution Network (ODN) to complete the downstream transmission of the PON and realize the control, management and ranging functions of the user-end device.
  • the user-end device can be an Optical Network Unit (ONU) or ONT.
  • ONU works with OLT to implement Ethernet Layer 2 and Layer 3 functions and provide voice, data and multimedia services for users. For example, ONU can select and receive data sent by OLT; respond to management commands issued by OLT and make corresponding adjustments; cache user Ethernet data and send it to the uplink in the sending window allocated by OLT; and other user management functions.
  • ONT can be part of ONU.
  • ONT can be directly located at the user end, while ONU is an optical network unit, and there may be other networks between the user and the user, such as Ethernet.
  • ONU can connect to various types of digital subscriber lines (DSL) or Ethernet access gateway devices, and the gateway device is then connected to the network terminal.
  • DSL digital subscriber lines
  • Ethernet access gateway devices For the convenience of description, in the embodiments of the present application, the user end devices are collectively referred to as ONTs.
  • OLT 330 can be deployed in laboratories, communities, streets, central control stations and other locations. One OLT 330 can connect to multiple ONT 320s in thousands of households.
  • the terminal device 310 can be a mobile terminal, a tablet computer, a laptop computer, or other device that can access the Internet.
  • the server 340 can be a physical device or a cloud device.
  • the terminal device 310 can access the server 340 through the ONT 320 and the OLT 330, and the data of the server 340 can be transmitted to the terminal device 310 through the OLT 330 and the ONT 320.
  • the OLT serves as a transfer medium for ONT data.
  • the first ONT represents an old ONT device with a fault, which usually has a fault or damage problem
  • the second ONT represents a new ONT device without a fault.
  • Figure 4 is a flow chart of a data processing method provided by the present application. As shown in Figure 4, the method may include the following steps.
  • Step 410 When the first ONT meets the data backup trigger condition, the first ONT establishes a first transmission channel with the OLT.
  • the trigger condition is used to indicate the start of the backup process of the user data of the first ONT.
  • the trigger condition includes the first ONT automatically sensing its own fault, the first ONT receiving the backup trigger indication, and the first ONT sending a periodic user data buffering request.
  • the transmission channel is used for data transmission between ONT and OLT.
  • the first ONT is an old ONT device with a fault
  • the second ONT is a new ONT device without a fault.
  • the first ONT transmits the stored user data to the OLT based on the first transmission channel to realize the backup of the user data
  • the OLT transmits the user data to the second ONT based on the second transmission channel to realize the recovery of the user data.
  • the trigger condition is met, the data transmission channel is established and the data transmission timing is determined, which can effectively improve the storage reliability of the data.
  • the first ONT when the first ONT senses its own fault, it can automatically trigger emergency caching and send a storage instruction to the OLT, so that the first ONT and the OLT establish a first transmission channel, so that the OLT can back up user data in the first ONT.
  • the first ONT receives a backup trigger indication, so that the first ONT establishes a first transmission channel with the OLT, so that the OLT backs up user data in the first ONT.
  • the first ONT receives a backup trigger indication triggered by a user. For example, if the ONT indicator light flashes frequently, the ONT restarts frequently, or the ONT stops working, the user can continuously press the switch button or indicator button on the ONT to trigger the backup indication, and the ONT obtains the backup trigger indication to trigger the data backup process.
  • the first ONT receives a backup trigger instruction triggered by a system administrator.
  • the operator's network operation and maintenance staff triggers the backup instruction through the OLT network management system.
  • the user activates the NAS package function, and the staff triggers the backup instruction through the OLT network management system.
  • the first ONT receives a backup trigger indication sent by the OLT when the OLT senses a fault.
  • the OLT can sense the working state of the ONT and identify faults such as frequent flashing of the indicator light, frequent restarts, and stopping of the ONT.
  • the OLT is not limited to being able to identify ONT failures.
  • the OLT can periodically cache user data of the first ONT; when the ONT storage space is full, the OLT can serve as a temporary extended storage space for the ONT.
  • FIG5 is a schematic diagram of establishing a transmission channel provided by the present application. As shown in FIG5, user data is stored in ONT 520, and OLT 510 is internally provided with OLT control module 511 and OLT storage module 512. Both include a main control, a PON board, and a computing board.
  • OLT control module 511 is used to control the establishment of a channel, the main control identifies the first ONT and the second ONT, and replaces the first ONT with the second ONT, OLT storage module 512 is used to store user data, the main control determines the location of the data stored in the storage module, the OLT control function requests the OLT storage function, and starts to establish a data transmission channel 500 so that the OLT stores the user data in the ONT, and the establishment of the transmission channel can be based on the application layer Hyper Text Transfer Protocol (HTTP), the transport layer Transmission Control Protocol (TCP), the transport layer User Datagram Protocol (UDP), the network layer Internet Protocol (IP), and the data link layer Virtual Local Area Network (VLAN).
  • HTTP Hyper Text Transfer Protocol
  • TCP transport layer Transmission Control Protocol
  • UDP transport layer User Datagram Protocol
  • IP Internet Protocol
  • VLAN Virtual Local Area Network
  • the first ONT sends a second message to the OLT, where the second message includes a channel establishment identifier, and the channel establishment identifier is used to instruct the OLT to establish a first transmission channel with the first ONT.
  • Step 420 The first ONT sends a first transfer identifier and user data to the OLT based on the first transmission channel.
  • the first ONT sends a first message to the OLT based on the first transmission channel.
  • the first message includes a first transfer identifier and user data, and the first transfer identifier is used to instruct the OLT to store the user data of the first ONT.
  • the first ONT may send the first message to the OLT based on the first transmission channel according to the OMCI protocol.
  • the OMCI protocol includes the header (ATM/GEM Header) field, the transaction correlation identifier (Transaction Correlation Identifier) field, the message type (Message Type) field, the device identifier (Device Identifier) field, the message identifier (Message Identifier) field, the message content (Message Contents) field and the trailer (OMCI Trailer) field.
  • the header field occupies 5 bytes
  • the transaction correlation identifier field occupies 2 bytes
  • the message type field occupies 1 byte
  • the device identifier field occupies 1 byte
  • the message identifier field occupies 4 bytes
  • the message content field occupies 32 bytes
  • the trailer field occupies 8 bytes.
  • FIG. 6 is a schematic diagram of an extended OMCI protocol provided by the present application.
  • the extended message content field includes a managed entity name field, a managed entity class value field, and a managed entity class value field.
  • the OMCI protocol is composed of a managed entity identifier field, a transmission channel protocol type field, and a data range field. Among them, the managed entity name field occupies 2 bytes, the managed entity class value field occupies 2 bytes, the managed entity identifier field occupies 2 bytes, the transmission channel protocol type field occupies 1 byte, and the data range field occupies 4 bytes.
  • the OMCI protocol is universal and backward compatible, and it is easy to modify and expand it to realize functions. By expanding the message content field of the OMCI protocol, the data storage function between OLT and ONT is realized, ensuring the reliability of data storage.
  • the management entity class value can be a number (0xXXXX), for example, number 100, and the management entity name is OLT cooperates with ONT to realize user data transfer.
  • the management entity class value corresponds to the management entity name, and the number can represent the implemented function.
  • the management entity identifier is used for the collaborative configuration of user data transfer between OLT and ONT. Different identifiers can represent various actions to implement the functional process.
  • the management entity identifier takes a value of 1, which is used to indicate a fault identifier, indicating that the ONT needs to apply for a data backup cache after a fault occurs.
  • the management entity identifier has a value of 2, which is used to indicate a request identifier, indicating that the ONT requests the OLT to cooperate with the user data transfer.
  • the management entity identifier has a value of 3, which is used to indicate the channel establishment identifier, indicating that the OLT creates a transmission channel for user data.
  • the management entity identifier has a value of 4, which is used to indicate a data backup identifier, indicating that the old ONT requests the OLT to allocate storage space to store backup user data.
  • the management entity identifier has a value of 5, which is used to indicate a data recovery identifier, indicating that the new ONT receives the user data transferred by the OLT.
  • the management entity identifier has a value of 6, which is used to indicate the channel removal flag, indicating that after the user data transfer is completed, the transmission channel is removed to release storage space resources.
  • the first ONT transmits user data to the OLT using identifier 4 data backup identifier in the management entity identifier field.
  • the transmission channel protocol type can be HTTP, TCP, UDP, IP, VLAN, etc.
  • the data range is usually 4 bytes. If the size of the transmitted data is within this range, a single packet can be used for transmission; if the size of the transmitted data exceeds this range, it can be transmitted in multiple packets.
  • the present application does not limit the protocol for transmitting user data between the ONT and the OLT.
  • the OMCI protocol can also be replaced by any one of the protocols such as the HiLink protocol, the message queue telemetry transmission protocol, and the network configuration protocol.
  • Step 430 The OLT receives, based on the first transmission channel, a first transfer identifier and user data sent by the first ONT.
  • the OLT receives a first message sent by the first ONT.
  • the first message includes a first transfer identifier and user data.
  • the OLT receives the first message, parses the first message to obtain the first transfer identifier, and stores the user data according to the first transfer identifier.
  • the user data is stored in a memory or a hard disk.
  • the OLT first allocates storage resource space to store the user data in the backup first ONT.
  • the second ONT when the first ONT fails or is damaged, registers with the OLT, so that the OLT can identify the second ONT, and the second ONT replaces the first ONT to transfer user data.
  • the serial number (SN) of the ONT device is stored inside the OLT, and the serial number serves as the unique identifier of the ONT.
  • the OLT can read the serial number of the ONT, and the serial number of the second ONT device is different from the serial number of the first ONT device.
  • the OLT transmits the user data to the second ONT and executes step 440.
  • Step 440 The OLT establishes a second transmission channel with the second ONT.
  • the OLT sends a fourth message to the second ONT.
  • the fourth message includes a channel establishment identifier.
  • the channel establishment identifier may be located in the message content field. For example, the channel establishment identifier indicated by the management entity identifier value being 3.
  • the channel establishment identifier is used to indicate The OLT establishes a second transmission channel with the second ONT.
  • Step 450 The OLT sends a second transfer identifier and user data to the second ONT based on the second transmission channel.
  • the OLT sends a third message to the second ONT based on the second transmission channel with the second ONT, the third message including the second transfer identifier and the user data, the second transfer identifier being used to instruct the second ONT to store the user data of the first ONT.
  • the user data is transferred to the second ONT based on the second transmission channel to ensure that the user data is not lost, determine the timing of data transmission, and ensure the reliability of data storage.
  • the second transfer identifier may be located in the message content field of the extended OMCI protocol.
  • the OLT transmits user data to the second ONT and uses the identifier 5 in the management entity identifier field to restore the data identifier.
  • the OLT or ONT includes hardware structures and/or software modules corresponding to the execution of each function. It should be easily appreciated by those skilled in the art that, in combination with the units and method steps of each example described in the embodiments disclosed in this application, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application scenario and design constraints of the technical solution.
  • the data processing method provided according to the present embodiment is described in detail above in conjunction with FIG. 1 to FIG. 6 .
  • the data processing device provided according to the present embodiment will be described below in conjunction with FIG. 7 .
  • Fig. 7 is a schematic diagram of the structure of a possible data processing device provided by this embodiment. These data processing devices can be used to implement the functions of the OLT or ONT in the above method embodiments, and thus can also achieve the beneficial effects possessed by the above method embodiments.
  • the data processing device 700 includes a communication module 710 , a decision module 720 and a storage module 730 .
  • the communication module 710 is used to establish a transmission channel between the first ONT and the OLT when the first ONT meets the data backup trigger condition; for example, the communication module 710 is used to execute step 410 in FIG. 4 .
  • the communication module 710 is further used to send a first message to the OLT based on the transmission channel, the first message including a transfer identifier and user data, the transfer identifier is used to instruct the OLT to store the user data of the first ONT.
  • the communication module 710 is used to execute step 420 in FIG.
  • the decision module 720 is used to determine whether the first ONT triggers data backup.
  • the first ONT may trigger a data backup indication when it senses a fault, or may receive a data backup indication sent by the communication module 710.
  • the storage module 730 is used to store user data.
  • the communication module 710 is used to receive a first message sent by the first ONT, the first message includes a transfer identifier and user data, and the transfer identifier is used to indicate that the OLT stores the user data of the first ONT; for example, the communication module 710 is used to execute step 430 in Figure 4.
  • the communication module 710 is also used to send a third message to the second ONT based on the transmission channel between the OLT and the second ONT, the third message including a transfer identifier and user data, and the transfer identifier is used to indicate that the second ONT stores the user data of the first ONT.
  • the communication module 710 is used to execute steps 440 and 450 in Figure 4.
  • the decision module 720 is configured to replace the first ONT with a second ONT, and the user data is stored in the second ONT.
  • the storage module 730 is used to store user data.
  • the data processing device 700 of the embodiment of the present application can be implemented by a DPU.
  • the data processing device 700 according to the embodiment of the present application can correspond to executing the method described in the embodiment of the present application, and the above and other operations and/or functions of each unit in the data processing device 700 are respectively for implementing the corresponding processes of each method in Figure 4, which will not be repeated here for the sake of brevity.
  • Fig. 8 is a schematic diagram of the structure of a network device 800 provided in this embodiment.
  • the network device may be an OLT or an ONT.
  • the network device 800 includes a processor 810, a bus 820, a memory 830, a memory unit 850 (also referred to as a main memory unit), and a communication interface 840.
  • the processor 810, the memory 830, the memory unit 850, and the communication interface 840 are connected via the bus 820.
  • the processor 810 may be a CPU, and the processor 810 may also be other general-purpose processors, DSPs, ASICs, FPGAs or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general-purpose processor may be a microprocessor or any conventional processor, etc.
  • the communication interface 840 is used to implement communication between the network device 800 and an external device or component. In this embodiment, the communication interface 840 is used to perform data exchange with other devices.
  • the bus 820 may include a path for transmitting information between the above components (such as the processor 810, the memory unit 850, and the memory 830).
  • the bus 820 may also include a power bus, a control bus, and a status signal bus.
  • various buses are labeled as bus 820 in the figure.
  • the bus 820 may be a Peripheral Component Interconnect Express (PCIe) bus, an extended industry standard architecture (EISA) bus, a unified bus (Ubus or UB), a compute express link (CXL), a cache coherent interconnect for accelerators (CCIX), etc.
  • PCIe Peripheral Component Interconnect Express
  • EISA extended industry standard architecture
  • Ubus or UB unified bus
  • CXL compute express link
  • CIX cache coherent interconnect for accelerators
  • the network device 800 may include multiple processors.
  • the processor may be a multi-core (multi-CPU) processor.
  • the processor here may refer to one or more devices, circuits, and/or computing units for processing data (e.g., computer program instructions).
  • data e.g., computer program instructions.
  • the processor 810 When the processor 810 is used to implement the function of the first ONT, it transmits user data to the OLT to implement data backup; when it is used to implement the function of the OLT, it stores user data as a transfer medium; when it is used to implement the function of the second ONT, it receives user data transmitted by the OLT to implement data recovery.
  • FIG8 only takes the example of a network device 800 including one processor 810 and one memory 830.
  • the processor 810 and the memory 830 are respectively used to indicate a type of device or equipment.
  • the number of each type of device or equipment can be determined according to business requirements.
  • the memory unit 850 may correspond to the storage medium used for data processing in the above method embodiment.
  • the memory unit 850 may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories.
  • the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory.
  • the volatile memory may be a random access memory (RAM), which is used as an external cache.
  • RAM random access memory
  • DRAM dynamic random access memory
  • SDRAM synchronous DRAM
  • double data rate synchronous dynamic random access memory double data rate SDRAM, DDR SDRAM
  • enhanced SDRAM enhanced synchronous dynamic random access memory
  • SLDRAM synchronous link dynamic random access memory
  • direct rambus RAM direct rambus RAM, DR RAM
  • the memory 830 is used to store user data and may be a solid state drive or a mechanical hard drive.
  • the network device 800 may be a DPU.
  • the network device 800 according to this embodiment may correspond to the data processing device 700 in this embodiment, and may correspond to executing the corresponding subject in FIG. 4 , and the above and other operations and/or functions of each module in the data processing device 700 are respectively to implement the corresponding process in FIG. 4 , which will not be described in detail for the sake of brevity.
  • the method steps in this embodiment can be implemented by hardware or by a processor executing software instructions.
  • the software instructions can be composed of corresponding software modules, which can be stored in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, mobile hard disks, CD-ROMs, or any other form of storage medium known in the art.
  • An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium.
  • the storage medium can also be a component of the processor.
  • the processor and the storage medium can be located in an ASIC.
  • the ASIC can be located in a computing device.
  • the processor and the storage medium can also exist as discrete components in a network device or a terminal device.
  • the present application also provides a communication system, which includes an OLT and an ONT.
  • the computer program product includes one or more computer programs or instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device or other programmable device.
  • the computer program or instruction may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer program or instruction may be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired or wireless means.
  • the computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server, data center, etc. that integrates one or more available media.
  • the available medium may be a magnetic medium, for example, a floppy disk, a hard disk, a tape; it may also be an optical medium, for example, a digital video disc (DVD); it may also be a semiconductor medium, for example, a solid state drive (SSD).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

公开了数据处理方法、装置、网络设备和通信系统,涉及光通信领域。方法包括:当第一光网络终端ONT满足数据备份触发条件时,建立第一ONT与光线路终端OLT的传输通道;第一ONT基于传输通道向OLT发送用户数据,OLT作为转存媒介存储用户数据。使得第二ONT从OLT获取用户数据。如此,在ONT满足数据备份触发条件时利用OLT备份ONT的用户数据,可以准确地确定数据传输时机,相对于云存储的方法,本申请提供的方法通过自动转存可以有效地提高数据的存储可靠性。另外,本申请提供的方法是在OLT和ONT网络内部实现数据转存,可以有效地提高数据的存储安全性。

Description

数据处理方法、装置、网络设备和通信系统
本申请要求于2022年9月26日提交中国国家知识产权局、申请号为202211175149.4、申请名称为“数据处理方法、装置、网络设备和通信系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及光通信领域,尤其涉及一种数据处理方法、装置、网络设备和通信系统。
背景技术
网络附属存储(Network Attached Storage,NAS)是一种用于数据备份的存储方案,通常光网络终端(Optical Network Terminal,ONT)可以向家庭宽带用户提供NAS服务,保证数据信息的安全性。但是,ONT设备损坏时会导致存储数据丢失。通常,使用云存储作为转存媒介,更换设备时,会先把数据传输到云端。然而,由于云端无法感知ONT设备何时损坏,数据传输时机无法确定,导致数据的存储可靠性较低。
发明内容
本申请提供了数据处理方法、装置、网络设备和通信系统,由此提高数据的存储可靠性。
第一方面,提供了一种数据处理方法,方法由ONT执行,方法包括:当ONT满足数据备份触发条件时,建立ONT与光线路终端(Optical Line Terminal,OLT)的传输通道;基于传输通道向OLT发送第一报文,第一报文包括转存标识和用户数据,转存标识用于指示OLT存储ONT的用户数据。
如此,在ONT满足数据备份触发条件时利用OLT备份ONT的用户数据,可以准确地确定数据传输时机,相对于云存储的方法,本申请提供的方法通过自动转存可以有效地提高数据的存储可靠性。另外,由于在OLT和ONT网络内部实现数据转存,可以有效地提高数据的存储安全性。
结合第一方面,在一种可能的实现方式中,当ONT满足数据备份触发条件时,建立ONT与OLT的传输通道,包括:数据备份触发条件用于指示ONT故障,建立ONT与OLT的传输通道,包括:当ONT感知自身故障时,建立ONT与OLT的传输通道。如此,在ONT感知自身故障后就启动转存,能够避免遗漏数据,确定了数据传输的时机,保证数据的存储可靠性。
结合第一方面,在另一种可能的实现方式中,当ONT满足数据备份触发条件时,建立ONT与OLT的传输通道,包括:数据备份触发条件用于指示ONT获取到备份触发指示时,建立ONT与OLT的传输通道。
例如,ONT获取备份触发指示,包括:接收用户或系统管理员触发的备份触发指示。如此,ONT接收用户或系统管理员察觉到故障问题时触发的备份触发指示,避免ONT可能感知自身故障不及时的情况,此时启动转存,能够避免遗漏数据,确定了数据传输的时机,保证 数据的存储可靠性。
又如,ONT获取备份触发指示,包括:接收OLT感知ONT故障时发送的备份触发指示。如此,OLT能够感知ONT的工作状态,识别ONT出现故障问题,此时启动转存,能够避免遗漏数据,确定了数据传输的时机,保证数据的存储可靠性。
结合第一方面,在另一种可能的实现方式中,当ONT满足数据备份触发条件时,建立ONT与OLT的传输通道,包括:OLT周期性缓存ONT的用户数据。如此,ONT在正常工作情况下,OLT定期缓存用户数据能够避免由于ONT存储空间不足时导致的用户数据损失。
结合第一方面,在另一种可能的实现方式中,建立ONT与OLT的传输通道,包括:向OLT发送第二报文,第二报文包括通道建立标识,通道建立标识用于指示OLT与ONT建立传输通道。
结合第一方面,在另一种可能的实现方式中,基于传输通道向OLT发送第一报文,包括:基于光网络单元管理控制接口(Optical Network Unit Management and Control Interface,OMCI)协议通过传输通道向OLT发送第一报文,转存标识和用户数据位于第一报文的消息内容Message Contents字段。其中,OMCI协议还可以替换为HiLink协议、消息队列遥测传输(Message Queuing Telemetry Transport,MQTT)协议和网络配置(Network Configuration,NETCONF)协议中任意一个。OMCI协议具有通用性和向下兼容性,容易对其改动扩展以实现功能。通过对OMCI协议的消息内容字段进行扩展,实现OLT协同ONT之间的数据存储功能,保证数据的存储可靠性。
结合第一方面,在另一种可能的实现方式中,方法还包括:拆除传输通道。对传输用户数据的通道进行拆除,有利于释放存储空间资源。
第二方面,提供了一种数据处理方法,方法由OLT执行,方法包括:接收第一光网络终端ONT发送的第一报文,第一报文包括第一转存标识和用户数据,第一转存标识用于指示OLT存储第一ONT的用户数据;基于OLT与第二ONT的传输通道,向第二ONT发送第三报文,第三报文包括第二转存标识和用户数据,第二转存标识用于指示第二ONT存储第一ONT的用户数据。如此,以OLT为转存媒介,实现对第一ONT的数据备份和第二ONT的数据恢复,保证数据的存储可靠性。
结合第二方面,在一种可能的实现方式中,基于OLT与第二ONT的传输通道,向第二ONT发送第三报文之前,方法包括:OLT接收到第二ONT发送的通道建立标识后,OLT控制功能请求OLT存储功能,启动建立数据的传输通道。
第三方面,提供了一种数据处理装置,所述装置包括用于执行第一方面或第一方面任一种可能设计中的数据处理方法的各个模块,或者执行第二方面或第二方面任一种可能设计中的数据处理方法的各个模块。
第四方面,提供一种网络设备,该网络设备包括至少一个处理器和存储器,存储器用于存储一组通信指令;当处理器作为第一方面或第一方面任一种可能实现方式中的执行设备执行一组通信时,执行第一方面或第一方面任一种可能实现方式中的数据处理方法的操作步骤;或者,当处理器作为第二方面或第二方面任一种可能实现方式中的执行设备执行一组通信时,执行第二方面或第二方面任一种可能实现方式中的数据处理方法的操作步骤。
第五方面,提供一种通信系统,该系统包括ONT和OLT,ONT用于执行第一方面或第一方面任一种可能实现方式中的数据处理方法的操作步骤,OLT用于执行第二方面或第二方面任 一种可能实现方式中的数据处理方法的操作步骤。
本申请在上述各方面提供的实现方式的基础上,还可以进行进一步组合以提供更多实现方式。
附图说明
图1为现有技术提供的一种ONT-NAS场景的示意图;
图2为现有技术提供的一种云转储的示意图;
图3为本申请提供的一种光通信系统的结构示意图;
图4为本申请提供的一种数据处理方法的流程示意图;
图5为本申请提供的一种建立传输通道的示意图;
图6为本申请提供的一种扩展OMCI协议的示意图;
图7为本申请提供的一种数据处理装置的结构示意图;
图8为本申请提供的一种网络设备的结构示意图。
具体实施方式
网络附属存储(Network Attached Storage,NAS),指连接在网络上,具备资料存储功能的装置。NAS可作为一种用于数据备份的存储方案。例如,图1为现有技术提供的一种ONT-NAS场景的示意图。如图1所示,PON网络100包含OLT 110和ONT 120。ONT可以向家庭宽带用户提供安全可信的本地化NAS服务,保证数据信息的安全性。ONT可以存储不同形态的终端设备130的用户数据。不同形态的终端设备130包括用户手机、平板电脑以及笔记本电脑等,用户使用这些终端设备进行学习、娱乐和工作。但是,ONT设备损坏时会导致存储数据丢失,给用户造成数据损失。
又如,图2为现有技术提供的一种云转储的示意图。如图2所示,使用云存储作为转存媒介。ONT出现故障或损坏问题时,需要进行更换,旧ONT存储的用户数据上传至云端进行备份,新ONT从云端下载用户数据进行存储。终端设备运行ONT运维应用,①将用户数据备份至旧ONT,②旧ONT向云端上传用户数据,③将用户数据备份至新ONT,④新ONT从云端下载用户数据。但是,由于云端无法感知ONT等设备何时损坏,数据传输时机无法确定,导致数据的存储可靠性较低。另外,在网络外部进行云存储导致数据的存储安全性也较低。
光网络终端(Optical Network Terminal,ONT),俗称光猫,指通过光纤介质进行传输,将光信号调制解调为其他协议信号的网络设备。
光线路终端(Optical Line Terminal,OLT),指用于连接光纤干线的终端设备。
无源光纤网络(Passive Optical Network,PON),指包含光分路器(splitter)等无源器件的网络,不含有源电子器件及电子电源。
光网络单元管理控制接口(Optical Network Unit Management and Control Interface,OMCI)协议,是千兆比特无源光网络标准中定义的一种OLT与ONT之间信息交互的协议,用于在网络中OLT对ONT的管理,包括配置管理、故障管理、性能管理和安全管理等。
为了解决ONT设备损坏时,备份ONT设备的用户数据的存储可靠性较低的问题,本申请提供了一种数据处理方法,即在ONT满足数据备份触发条件时,建立OLT与ONT的传输通道,利用OLT备份ONT的用户数据,可以准确地确定数据传输时机,通过自动转存可以有效地提 高数据的存储可靠性。另外,由于在OLT和ONT网络内部实现数据转存,可以有效地提高数据的存储安全性。
下面结合附图详细介绍本申请提供的数据处理方法。图3为本申请提供的一种光通信系统的结构示意图。如图3所示,光通信系统300可以是一个PON的实体。光通信系统300包括ONT 320和OLT 330,ONT 320与OLT 330通过光纤连接,OLT 330与服务器340连接,ONT320与终端设备310连接。PON是一种为用户提供高带宽和全业务的光接入网。其中,OLT是PON的核心部件,提供面向用户的无源光网络的光纤接口。
OLT的一端向上连接上层网络,完成PON的上行接入。上层网络可以是互联网协议(Internet Protocol,IP)骨干网或公共交换电话网络(Public Switched Telephone Network,PSTN)。OLT的另一端通过光分配网络(Optical Distribution Network,ODN)向下连接用户端设备,完成PON的下行传输,实现对用户端设备的控制、管理和测距等功能。用户端设备可以是光网络单元(Optical Network Unit,ONU)或ONT。
用户端设备的一端向上通过ODN连接OLT,用户端设备的另一端向下连接其他终端设备,例如,电脑,固定电话等。ONU与OLT配合使用,实现以太网二层和三层功能,为用户提供语音、数据和多媒体业务。例如,ONU可以实现选择接收OLT发送的数据;响应OLT发出的管理命令,并作相应的调整;对用户的以太网数据进行缓存,并在OLT分配的发送窗口中向上行链路发送;其他用户管理功能。
需要说明的是,ONT可以属于ONU的一部分。ONT和ONU的区别在于ONT可以直接位于用户端,而ONU是光网络单元,与用户间还可能有其它的网络,比如以太网。ONU可以连接各种类型的数字用户线路(Digital Subscriber Line,DSL)或者以太网接入口的网关设备,网关设备再连接到网络终端。为了描述方便,在本申请实施例中,用户端设备统一称为ONT。
OLT 330可以部署在实验室、小区、街道、中心控制站等位置,一个OLT 330可以连接多个千家万户的ONT 320。
终端设备310可以是手机终端、平板电脑、笔记本电脑等能够接入互联网的设备。服务器340可以是一个物理设备或云端设备。终端设备310能够通过ONT 320和OLT 330访问服务器340,服务器340的数据可以通过OLT 330和ONT 320传输给终端设备310。本申请中,OLT作为ONT数据的转存媒介。例如,第一OLT出现损坏或故障时,先备份第一ONT中存储的用户数据,再将此数据恢复至第二ONT,实现用户数据的转存。其中,第一ONT表示存在故障的旧ONT设备,通常有故障或损坏问题,第二ONT表示无故障的新ONT设备。
接下来,结合图4至图6,对本申请提供的数据处理方法进行详细说明。图4为本申请提供的一种数据处理方法流程图。如图4所示,该方法可以包括以下步骤。
步骤410、当第一ONT满足数据备份触发条件时,第一ONT建立与OLT的第一传输通道。
触发条件用于指示启动第一ONT的用户数据的备份流程。例如,触发条件包括第一ONT自动感知自身故障、第一ONT接收备份触发指示以及第一ONT发送周期性缓存用户数据请求。
传输通道用于ONT与OLT进行数据传输。例如,第一ONT是一个存在故障的旧ONT设备,第二ONT是一个无故障的新ONT设备。第一ONT基于第一传输通道向OLT传输存储的用户数据实现对用户数据的备份,OLT基于第二传输通道向第二ONT传输用户数据实现对用户数据的恢复。从而,保证用户数据不受损失。在满足触发条件时建立数据的传输通道,确定数据传输时机,可以有效地提高数据的存储可靠性。
在一种示例中,当第一ONT感知自身故障时,可以自动触发紧急缓存,向OLT发送存储指令,使得第一ONT与OLT建立第一传输通道,以便实现OLT对第一ONT中用户数据的备份。
在另一种示例中,第一ONT接收备份触发指示,使得第一ONT与OLT建立第一传输通道,以便实现OLT对第一ONT中用户数据的备份。
例如,第一ONT接收用户触发的备份触发指示。比如出现ONT指示灯频繁闪烁、ONT频繁重启以及ONT停止工作等问题,用户可以连续按压置于ONT上的开关按钮或指示灯按钮触发备份指示,则ONT获取备份触发指示,触发数据备份流程。
又如,第一ONT接收系统管理员触发的备份触发指示。运营商网络运维工作人员通过OLT网络管理系统触发备份指示。或者用户开通NAS套餐功能,工作人员通过OLT网络管理系统触发备份指示。
再如,第一ONT接收OLT感知其故障时发送的备份触发指示。OLT能够感知ONT的工作状态,识别ONT出现指示灯频繁闪烁、频繁重启以及停止工作等故障。
在另一种示例中,OLT不限于能够识别ONT故障,第一ONT发送周期性缓存用户数据请求时,OLT可以周期性缓存第一ONT的用户数据;当ONT存储空间已满时,OLT可以作为ONT临时扩展的存储空间。
图5为本申请提供的一种建立传输通道的示意图。如图5所示,ONT 520中存储用户数据,OLT 510内部设置有OLT控制模块511和OLT存储模块512。二者都包括主控、PON板以及计算板。OLT控制模块511用于控制建立通道,主控识别第一ONT和第二ONT,使第二ONT替换第一ONT,OLT存储模块512用于存储用户数据,主控决定数据存放在存储模块的位置,OLT控制功能请求OLT存储功能,启动建立数据的传输通道500,以便OLT存储ONT中的用户数据,建立传输通道可以基于应用层超文本传输协议(Hyper Text Transfer Protocol,HTTP)、传输层传输控制协议(Transmission Control Protocol,TCP)、传输层用户数据报协议(User Datagram Protocol,UDP)、网络层网际互联协议(Internet Protocol,IP)、数据链路层虚拟局域网协议(Virtual Local Area Network,VLAN)。
第一ONT向OLT发送第二报文,第二报文包括通道建立标识,通道建立标识用于指示OLT与第一ONT建立第一传输通道。
步骤420、第一ONT基于第一传输通道向OLT发送第一转存标识和用户数据。
第一ONT基于第一传输通道向OLT发送第一报文。第一报文包括第一转存标识和用户数据,第一转存标识用于指示OLT存储第一ONT的用户数据。
在一些实施例中,第一ONT可以依据OMCI协议基于第一传输通道向OLT发送第一报文。
OMCI协议包括报头(ATM/GEM Header)字段、事务相关标识符(Transaction Correlation Identifier)字段、消息类型(Message Type)字段、设备标识符(Device Identifier)字段、消息标识符(Message Identifier)字段、消息内容(Message Contents)字段以及报尾(OMCI Trailer)字段。其中,报头字段占5字节,事务相关标识符字段占2字节,消息类型字段占1字节,设备标识符字段占1字节,消息标识符字段占4字节,消息内容字段占32字节,报尾字段占8字节。
本申请实施例对OMCI协议的消息内容字段进行扩展,第一转存标识可以位于此字段,图6为本申请提供的一种扩展OMCI协议的示意图。如图6所示,扩展后消息内容字段包括管理实体名(Managed Entity Name)字段、管理实体类值(Managed Entity Class Value)字段、管 理实体标识符(Managed Entity Identifier)字段、传输通道协议类型(Transmission Channel Protocol Type)字段以及数据范围(Data Range)字段等组成。其中,管理实体名字段占2字节,管理实体类值字段占2字节,管理实体标识符字段占2字节,传输通道协议类型字段占1字节,数据范围字段占4字节。OMCI协议具有通用性和向下兼容性,容易对其改动扩展以实现功能。通过对OMCI协议的消息内容字段进行扩展,实现OLT协同ONT之间的数据存储功能,保证数据的存储可靠性。
以下说明扩展OMCI协议后消息内容字段内各个字段的功能。
管理实体类值可以为一个编号(0xXXXX),例如编号100,管理实体名为OLT协同ONT实现用户数据转存。管理实体类值与管理实体名为对应关系,编号可以代表实现的功能。
管理实体标识符用于OLT与ONT实现用户数据转存的协同配置,不同标识符可以代表实现功能过程的各个动作。
管理实体标识符取值为1,用于指示故障标识,表示ONT出现故障后需申请数据备份缓存。
管理实体标识符取值为2,用于指示请求标识,表示ONT请求OLT协同用户数据转存。
管理实体标识符取值为3,用于指示通道建立标识,表示OLT创建用户数据的传输通道。
管理实体标识符取值为4,用于指示数据备份标识,表示旧ONT请求OLT分配存储空间以存储备份用户数据。
管理实体标识符取值为5,用于指示数据恢复标识,表示新ONT接收OLT转存的用户数据。
管理实体标识符取值为6,用于指示通道拆除标识,表示完成用户数据转存后,拆除传输通道以释放存储空间资源。
本申请实施例中,第一ONT向OLT传输用户数据,使用管理实体标识符字段中的标识符4数据备份标识。
传输通道协议类型可以为HTTP、TCP、UDP、IP以及VLAN等协议。数据范围通常为4字节,如果传输的数据大小在此范围内,则单包即可实现传输;如果传输的数据大小超过这个范围,则可以分多个包传输。
可选地,本申请不限定ONT与OLT传输用户数据的协议。例如,OMCI协议也可以替换为HiLink协议、消息队列遥测传输协议和网络配置协议等协议中任意一个。
步骤430、OLT基于第一传输通道接收第一ONT发送的第一转存标识和用户数据。
OLT接收第一ONT发送的第一报文。第一报文包括第一转存标识和用户数据。OLT接收第一报文,解析第一报文得到第一转存标识,根据第一转存标识存储用户数据。例如,存到内存或硬盘。在一些实施例中,OLT先分配存储资源空间,以存储备份第一ONT中的用户数据。
在一些实施例中,第一ONT出现故障或损坏问题时,第二ONT注册到OLT,注册以便OLT识别第二ONT,第二ONT替换第一ONT实现用户数据转存。在OLT内部存储有ONT设备的序列号(Serial Number,SN),序列号作为ONT的唯一标识。当第二ONT设备接入OLT时,OLT能够读取ONT的序列号,第二ONT设备的序列号与第一ONT设备的序列号不同。OLT将用户数据传输给第二ONT,执行步骤440。
步骤440、OLT建立与第二ONT的第二传输通道。
OLT向第二ONT发送第四报文,第四报文包括通道建立标识,通道建立标识可以位于消息内容字段,例如,管理实体标识符取值为3指示的通道建立标识。通道建立标识用于指示 OLT与第二ONT建立第二传输通道。
步骤450、OLT基于第二传输通道,向第二ONT发送第二转存标识和用户数据。
OLT基于与第二ONT的第二传输通道,向第二ONT发送第三报文,第三报文包括第二转存标识和用户数据,第二转存标识用于指示第二ONT存储第一ONT的用户数据。基于第二传输通道将用户数据传输至第二ONT实现用户数据转存,保证用户数据不受损失,确定数据传输的时机,保证数据的存储可靠性。
第二转存标识可以位于扩展OMCI协议的消息内容字段,OLT向第二ONT传输用户数据,使用管理实体标识符字段中的标识符5数据恢复标识。
可以理解的是,为了实现上述实施例中的功能,OLT或ONT包括了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本申请中所公开的实施例描述的各示例的单元及方法步骤,本申请能够以硬件或硬件和计算机软件相结合的形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用场景和设计约束条件。
上文中结合图1至图6,详细描述了根据本实施例所提供的数据处理方法,下面将结合图7,描述根据本实施例所提供的数据处理装置。
图7为本实施例提供的可能的数据处理装置的结构示意图。这些数据处理装置可以用于实现上述方法实施例中OLT或ONT的功能,因此也能实现上述方法实施例所具备的有益效果。
如图7所示,数据处理装置700包括通信模块710、决策模块720和存储模块730。
数据处理装置700用于实现ONT的功能时,通信模块710用于当第一ONT满足数据备份触发条件时,建立第一ONT与OLT的传输通道;例如,通信模块710用于执行图4中步骤410。
通信模块710还用于基于传输通道向OLT发送第一报文,第一报文包括转存标识和用户数据,转存标识用于指示OLT存储第一ONT的用户数据。例如,通信模块710用于执行图4中步骤420。
决策模块720,用于判断第一ONT是否触发数据备份。可以是第一ONT感知自身故障时触发数据备份指示,也可以是接收通信模块710发送的触发数据备份指示。
存储模块730,用于存储用户数据。
数据处理装置700用于实现OLT的功能时,通信模块710用于接收第一ONT发送的第一报文,第一报文包括转存标识和用户数据,转存标识用于指示OLT存储第一ONT的用户数据;例如,通信模块710用于执行图4中步骤430。
通信模块710还用于基于OLT与第二ONT的传输通道,向第二ONT发送第三报文,第三报文包括转存标识和用户数据,转存标识用于指示第二ONT存储第一ONT的用户数据。例如,通信模块710用于执行图4中步骤440和步骤450。
决策模块720,用于将第一ONT替换为第二ONT,用户数据存储在第二ONT中。
存储模块730,用于存储用户数据。
应理解的是,本申请实施例的数据处理装置700可以通过DPU实现。根据本申请实施例的数据处理装置700可对应于执行本申请实施例中描述的方法,并且数据处理装置700中的各个单元的上述和其它操作和/或功能分别为了实现图4中的各个方法的相应流程,为了简洁,在此不再赘述。
图8为本实施例提供的一种网络设备800的结构示意图。网络设备可以是OLT或ONT。 如图8所示,网络设备800包括处理器810、总线820、存储器830、内存单元850(也可以称为主存(main memory)单元)和通信接口840。处理器810、存储器830、内存单元850和通信接口840通过总线820相连。
应理解,在本实施例中,处理器810可以是CPU,该处理器810还可以是其他通用处理器、DSP、ASIC、FPGA或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者是任何常规的处理器等。
通信接口840用于实现网络设备800与外部设备或器件的通信。在本实施例中,通信接口840用于与其他设备进行数据交互。
总线820可以包括一通路,用于在上述组件(如处理器810、内存单元850和存储器830)之间传送信息。总线820除包括数据总线之外,还可以包括电源总线、控制总线和状态信号总线等。但是为了清楚说明起见,在图中将各种总线都标为总线820。总线820可以是快捷外围部件互连标准(Peripheral Component Interconnect Express,PCIe)总线,或扩展工业标准结构(extended industry standard architecture,EISA)总线、统一总线(unified bus,Ubus或UB)、计算机快速链接(compute express link,CXL)、缓存一致互联协议(cache coherent interconnect for accelerators,CCIX)等。
作为一个示例,网络设备800可以包括多个处理器。处理器可以是一个多核(multi-CPU)处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的计算单元。处理器810用于实现第一ONT的功能时,将用户数据传输给OLT以实现数据备份;用于实现OLT的功能时,作为转存媒介存储用户数据;用于实现第二ONT的功能时,接收OLT传输的用户数据以实现数据恢复。
值得说明的是,图8中仅以网络设备800包括1个处理器810和1个存储器830为例,此处,处理器810和存储器830分别用于指示一类器件或设备,具体实施例中,可以根据业务需求确定每种类型的器件或设备的数量。
内存单元850可以对应上述方法实施例中用于数据处理的存储介质。内存单元850可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data date SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。
存储器830用于存储用户数据,可以是固态硬盘或机械硬盘。
应理解,上述网络设备800可以是一个DPU。根据本实施例的网络设备800可对应于本实施例中的数据处理装置700,并可以对应于执行根据图4中的相应主体,并且数据处理装置700中的各个模块的上述和其它操作和/或功能分别为了实现图4中的相应流程,为了简洁,在此不再赘述。
本实施例中的方法步骤可以通过硬件的方式来实现,也可以由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于随机存取存储器(random access memory,RAM)、闪存、只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)、寄存器、硬盘、移动硬盘、CD-ROM或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于计算设备中。当然,处理器和存储介质也可以作为分立组件存在于网络设备或终端设备中。
本申请还提供一种通信系统,该系统包括OLT和ONT。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机程序或指令。在计算机上加载和执行所述计算机程序或指令时,全部或部分地执行本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、网络设备、用户设备或者其它可编程装置。所述计算机程序或指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机程序或指令可以从一个网站站点、计算机、服务器或数据中心通过有线或无线方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是集成一个或多个可用介质的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,例如,软盘、硬盘、磁带;也可以是光介质,例如,数字视频光盘(digital video disc,DVD);还可以是半导体介质,例如,固态硬盘(solid state drive,SSD)。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。

Claims (18)

  1. 一种数据处理方法,其特征在于,所述方法由光网络终端ONT执行,所述方法包括:
    当所述ONT满足数据备份触发条件时,建立所述ONT与光线路终端OLT的传输通道;
    基于所述传输通道向所述OLT发送第一报文,所述第一报文包括转存标识和用户数据,所述转存标识用于指示所述OLT存储所述ONT的用户数据。
  2. 根据权利要求1所述的方法,其特征在于,所述数据备份触发条件用于指示所述ONT故障,建立所述ONT与OLT的传输通道,包括:
    当所述ONT感知自身故障时,建立所述ONT与OLT的传输通道。
  3. 根据权利要求1所述的方法,其特征在于,当所述ONT满足数据备份触发条件时,建立所述ONT与OLT的传输通道,包括:
    所述数据备份触发条件用于指示所述ONT获取到备份触发指示时,建立所述ONT与OLT的传输通道。
  4. 根据权利要求3所述的方法,其特征在于,所述ONT获取备份触发指示,包括:
    接收用户或系统管理员触发的备份触发指示。
  5. 根据权利要求3所述的方法,其特征在于,所述ONT获取备份触发指示,包括:
    接收所述OLT感知所述ONT故障时发送的所述备份触发指示。
  6. 根据权利要求1-5中任一项所述的方法,其特征在于,建立所述ONT与OLT的传输通道,包括:
    向所述OLT发送第二报文,所述第二报文包括通道建立标识,所述通道建立标识用于指示所述OLT与所述ONT建立所述传输通道。
  7. 根据权利要求1-6中任一项所述的方法,其特征在于,基于所述传输通道向所述OLT发送第一报文,包括:
    基于光网络单元管理控制接口OMCI协议通过所述传输通道向所述OLT发送所述第一报文,所述转存标识和所述用户数据位于所述第一报文的消息内容字段。
  8. 一种数据处理方法,其特征在于,所述方法由光线路终端OLT执行,所述方法包括:
    接收第一光网络终端ONT发送的第一报文,所述第一报文包括第一转存标识和用户数据,所述第一转存标识用于指示所述OLT存储所述第一ONT的用户数据;
    基于所述OLT与第二光网络终端ONT的传输通道,向所述第二ONT发送第三报文,所述第三报文包括第二转存标识和用户数据,所述第二转存标识用于指示所述第二ONT存储所述第一ONT的用户数据。
  9. 一种数据处理装置,其特征在于,所述装置用于实现光网络终端ONT的功能,包括:
    决策模块,用于确定所述ONT满足数据备份触发条件;
    通信模块,用于当所述ONT满足数据备份触发条件时,建立所述ONT与光线路终端OLT的传输通道;
    所述通信模块,还用于基于所述传输通道向所述OLT发送第一报文,所述第一报文包括转存标识和用户数据,所述转存标识用于指示所述OLT存储所述ONT的用户数据。
  10. 根据权利要求9所述的装置,其特征在于,
    所述决策模块,具体用于确定所述数据备份触发条件用于指示所述ONT故障;
    所述通信模块建立所述ONT与光线路终端OLT的传输通道时,具体用于:
    当所述ONT感知自身故障时,建立所述ONT与OLT的传输通道。
  11. 根据权利要求9所述的装置,其特征在于,
    所述决策模块,具体用于确定所述数据备份触发条件用于指示所述ONT获取到备份触发指示;
    所述通信模块建立所述ONT与OLT的传输通道时,具体用于:
    当所述数据备份触发条件用于指示所述ONT获取到备份触发指示时,建立所述ONT与OLT的传输通道。
  12. 根据权利要求11所述的装置,其特征在于,
    所述决策模块,具体用于确定所述数据备份触发条件用于指示接收用户或系统管理员触发的备份触发指示。
  13. 根据权利要求11所述的装置,其特征在于,
    所述决策模块,具体用于确定所述数据备份触发条件用于指示接收所述OLT感知所述ONT故障时发送的所述备份触发指示。
  14. 根据权利要求9-13中任一项所述的装置,其特征在于,所述通信模块建立所述ONT与OLT的传输通道时,具体用于:
    向所述OLT发送第二报文,所述第二报文包括通道建立标识,所述通道建立标识用于指示所述OLT与所述ONT建立所述传输通道。
  15. 根据权利要求9-14中任一项所述的装置,其特征在于,所述通信模块基于所述传输通道向所述OLT发送第一报文时,具体用于:
    基于OMCI协议通过所述传输通道向所述OLT发送所述第一报文,所述转存标识和所述用户数据位于所述第一报文的消息内容字段。
  16. 一种数据处理装置,其特征在于,所述装置用于实现光线路终端OLT的功能,包括:
    通信模块,用于接收第一光网络终端ONT发送的第一报文,所述第一报文包括第一转存标识和用户数据,所述第一转存标识用于指示所述OLT存储所述第一ONT的用户数据;
    所述通信模块,还用于基于所述OLT与第二光网络终端ONT的传输通道,向所述第二ONT发送第三报文,所述第三报文包括第二转存标识和用户数据,所述第二转存标识用于指示所述第二ONT存储所述第一ONT的用户数据。
  17. 一种网络设备,其特征在于,所述网络设备包括存储器和处理器,所述存储器用于存储一组通信指令;当所述处理器执行所述一组通信指令时,执行上述权利要求1-7中任一项所述的方法的操作步骤,或者执行上述权利要求8所述的方法的操作步骤。
  18. 一种通信系统,其特征在于,所述通信系统包括光网络终端ONT和光线路终端OLT,所述ONT执行上述权利要求1-7中任一项所述的方法的操作步骤,所述光线路终端OLT用于执行上述权利要求8所述的方法的操作步骤。
PCT/CN2023/104018 2022-09-26 2023-06-29 数据处理方法、装置、网络设备和通信系统 Ceased WO2024066579A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211175149.4A CN117768525A (zh) 2022-09-26 2022-09-26 数据处理方法、装置、网络设备和通信系统
CN202211175149.4 2022-09-26

Publications (1)

Publication Number Publication Date
WO2024066579A1 true WO2024066579A1 (zh) 2024-04-04

Family

ID=90320722

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/104018 Ceased WO2024066579A1 (zh) 2022-09-26 2023-06-29 数据处理方法、装置、网络设备和通信系统

Country Status (2)

Country Link
CN (1) CN117768525A (zh)
WO (1) WO2024066579A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101431702A (zh) * 2008-12-18 2009-05-13 北京邮电大学 一种相邻onu互相保护的方法
EP2184875A1 (en) * 2008-11-07 2010-05-12 Nokia Siemens Networks OY Method and device for data processing in an UDWDM network and communication system comprising such device
CN101977144A (zh) * 2010-10-20 2011-02-16 中兴通讯股份有限公司 基于负荷分担方式的数据链路保护方法和系统
CN102377479A (zh) * 2010-08-11 2012-03-14 华为技术有限公司 数据同步方法及系统、光网络单元
WO2016106520A1 (zh) * 2014-12-29 2016-07-07 华为技术有限公司 一种在光网络中传输信息的方法、终端及系统
CN106537826A (zh) * 2014-07-15 2017-03-22 华为技术有限公司 无源光网络的通信方法、装置以及系统

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2184875A1 (en) * 2008-11-07 2010-05-12 Nokia Siemens Networks OY Method and device for data processing in an UDWDM network and communication system comprising such device
CN101431702A (zh) * 2008-12-18 2009-05-13 北京邮电大学 一种相邻onu互相保护的方法
CN102377479A (zh) * 2010-08-11 2012-03-14 华为技术有限公司 数据同步方法及系统、光网络单元
CN101977144A (zh) * 2010-10-20 2011-02-16 中兴通讯股份有限公司 基于负荷分担方式的数据链路保护方法和系统
CN106537826A (zh) * 2014-07-15 2017-03-22 华为技术有限公司 无源光网络的通信方法、装置以及系统
WO2016106520A1 (zh) * 2014-12-29 2016-07-07 华为技术有限公司 一种在光网络中传输信息的方法、终端及系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
CHEN RONG-GUANG, YAN XIAO-FENG, LI JUAN: "Research of Mine-used GEPON System and Its Implementation", INDUSTRY AND MINE AUTOMATION, vol. 5, no. 5, 10 October 2008 (2008-10-10), pages 44 - 47, XP009553859, ISSN: 1671-251X *

Also Published As

Publication number Publication date
CN117768525A (zh) 2024-03-26

Similar Documents

Publication Publication Date Title
CN100385862C (zh) 一种对光网络单元onu进行版本升级的方法
CN103003802B (zh) 对通信路径上的系统进行监控的方法、系统及装置
CN110830283B (zh) 故障检测方法、装置、设备和系统
WO2009117946A1 (zh) 调度服务器的主备实现方法及调度服务器
CN108833149A (zh) 一种快递柜网络可用性监控与自愈的方法及系统
CN101686144A (zh) 一种处理数据的方法、系统和节点设备
KR100792280B1 (ko) 클러스터 동작을 유지하는 동안 다중-디바이스 클러스터의리부팅 방법
CN105553809A (zh) 一种stun隧道管理方法及装置
CN112969244B (zh) 一种会话恢复方法及其装置
WO2021244262A1 (zh) 一种报文处理方法、设备及系统
WO2024066579A1 (zh) 数据处理方法、装置、网络设备和通信系统
CN101640941B (zh) 连接资源释放处理方法和装置
CN111694516A (zh) 一种分布式块存储系统的版本在线升级方法及终端
CN112905357B (zh) 一种数据读取方法、系统、电子设备及存储介质
CN109039680B (zh) 一种切换主宽带网络网关bng和备bng的方法、系统和bng
CN102685247B (zh) 业务套件的信息收集方法、节点服务器及数据存储系统
CN115277375B (zh) 一种主备服务器的切换方法、系统、设备及存储介质
CN100474815C (zh) 调整链路容量的方法
CN110784365A (zh) 变电站的站控层、实体装置的备用装置及其自动上线方法
JP5535757B2 (ja) クライアント装置、及びプログラム
CN116584078A (zh) 用于移动通信系统的方法和设备
CN104022893B (zh) 一种多子代理snmp重定向的配置管理方法
CN118450161B (zh) 一种直播视频数据存储服务的管理方法及系统
US20250274383A1 (en) Network disconnection recovery in an access device
CN118714049B (zh) 海量ip探活的方法、装置、电子设备和存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23869827

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 11202501961W

Country of ref document: SG

WWP Wipo information: published in national office

Ref document number: 11202501961W

Country of ref document: SG

122 Ep: pct application non-entry in european phase

Ref document number: 23869827

Country of ref document: EP

Kind code of ref document: A1