A communication method, apparatus and storage medium

By employing a dual communication mode switching mechanism of optical access network and transmission network in the telephone, the problem of voice communication reliability caused by optical access network failure is solved, and stable communication is achieved in the event of a failure.

CN116582421BActive Publication Date: 2026-06-02CHINA UNITED NETWORK COMM GRP CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA UNITED NETWORK COMM GRP CO LTD
Filing Date
2023-06-09
Publication Date
2026-06-02

AI Technical Summary

Technical Problem

In the existing technology, the reliability of telephone voice communication services is low when the optical access network fails.

Method used

The system employs dual communication methods: an optical access network and a pre-configured transmission network. When the optical access network fails, it switches to the transmission network for voice communication data transmission. The system configures equipment parameters to establish a communication method based on the transmission network and uses both methods to transmit data under load balancing conditions.

Benefits of technology

It improves the reliability of voice communication services, ensuring normal communication even when the optical access network fails.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116582421B_ABST
    Figure CN116582421B_ABST
Patent Text Reader

Abstract

The application provides a communication method, device and storage medium, relates to the technical field of communication, and is used for solving the technical problem that the reliability of voice communication service of a telephone is low. The communication method comprises the following steps: receiving voice communication data sent by a wired communication device; when it is determined that a first communication mode is faulty, sending the voice communication data to a service convergence device through a second communication mode; among the first communication mode and the second communication mode, one is a communication mode based on an optical access network, and the other is a communication mode based on a pre-configured transmission network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a communication method, apparatus and storage medium. Background Technology

[0002] When a business needs to conduct fixed-line voice communication services, the operator connects the business's telephones through an optical access network, enabling the business's telephones to perform voice communication services.

[0003] Currently, traditional telephones use optical access networks to provide voice communication services. However, when the optical access network fails, the telephone cannot provide voice communication services, resulting in low reliability of the voice communication service. Summary of the Invention

[0004] This application provides a communication method, apparatus, and storage medium to solve the technical problem of low reliability of voice communication services in telephones in the prior art.

[0005] To achieve the above objectives, this application adopts the following technical solution:

[0006] In a first aspect, a communication method is provided, applied to an electronic device; the electronic device is communicatively connected to a wired communication device; the communication method includes: receiving voice communication data sent by the wired communication device; when it is determined that a first communication method has failed, sending voice communication data to a service aggregation device through a second communication method; wherein, the first communication method and the second communication method are, respectively, a communication method based on an optical access network and a communication method based on a pre-configured transmission network.

[0007] Optionally, it also includes: in response to a communication configuration operation, configuring device parameters of the electronic device to enable the electronic device to establish a communication method based on the transmission network with the service aggregation device; the device parameters include at least one of the following: device interface and data transmission rate.

[0008] Optionally, it also includes: when it is determined that the first communication method is not faulty and the amount of data received by the electronic device is greater than or equal to a preset threshold, based on load balancing conditions, sending voice communication data to the service aggregation device through the first communication method and the second communication method.

[0009] Optionally, it also includes: when it is determined that the first communication method is not faulty and the amount of data received by the electronic device is less than a preset threshold, sending voice communication data to the service aggregation device through the first communication method.

[0010] In a second aspect, a communication device is provided, comprising: a receiving unit and a transmitting unit; receiving voice communication data transmitted by a wired communication device; and when a failure is determined in a first communication method, transmitting voice communication data to a service aggregation device via a second communication method; wherein the first communication method and the second communication method are, respectively, a communication method based on an optical access network and a communication method based on a pre-configured transmission network.

[0011] Optionally, it may also include: a processing unit; the processing unit is configured to configure the device parameters of the electronic device in response to a communication configuration operation, so that the electronic device and the service aggregation device establish a communication method based on the transmission network; the device parameters include at least one of: device interface and data transmission rate.

[0012] Optionally, the sending unit is further configured to send voice communication data to the service aggregation device through the first communication method and the second communication method based on load balancing conditions when it is determined that the first communication method is not faulty and the data received by the electronic device is greater than or equal to a preset threshold.

[0013] Optionally, the sending unit is also used to send voice communication data to the service aggregation device through the first communication method when it is determined that the first communication method is not faulty and the amount of data received by the electronic device is less than a preset threshold.

[0014] Thirdly, a communication device is provided, including a memory and a processor; the memory is used to store computer-executed instructions, and the processor is connected to the memory via a bus; when the communication device is running, the processor executes the computer-executed instructions stored in the memory to cause the communication device to perform the communication method described in the first aspect.

[0015] The communication device may be a network device or a component of a network device, such as a chip system within the network device. The chip system supports the network device in implementing the functions involved in the first aspect and any of its possible implementations, such as acquiring, determining, and transmitting data and / or information involved in the aforementioned communication method. The chip system includes a chip, but may also include other discrete devices or circuit structures.

[0016] Fourthly, a computer-readable storage medium is provided, comprising computer-executable instructions that, when executed on a computer, cause the computer to perform the communication method described in the first aspect.

[0017] Fifthly, a computer program product is also provided, which includes computer instructions that, when executed on a communication device, cause the communication device to perform the communication method as described in the first aspect above.

[0018] It should be noted that the aforementioned computer instructions may be stored, in whole or in part, on a computer-readable storage medium. This computer-readable storage medium may be packaged together with the processor of the communication device, or it may be packaged separately from the processor of the communication device; this application does not limit this.

[0019] The descriptions of the second, third, fourth, and fifth aspects of this application can be referenced to the detailed description of the first aspect.

[0020] In the embodiments of this application, the names of the aforementioned communication devices do not limit the devices or functional modules themselves. In actual implementation, these devices or functional modules may appear under other names. For example, the receiving unit may also be called a receiving module, receiver, etc. As long as the functions of each device or functional module are similar to those of this application, they fall within the scope of the claims of this application and their equivalents.

[0021] The technical solution provided in this application brings at least the following beneficial effects:

[0022] Based on any of the above aspects, this application provides a communication method applied to an electronic device. The electronic device is communicatively connected to a wired communication device. The communication method includes: the electronic device can receive voice communication data sent by the wired communication device. When it is determined that a first communication method has failed, the electronic device can send voice communication data to a serving aggregation device through a second communication method. Wherein, of the first and second communication methods, one is a communication method based on an optical access network, and the other is a pre-configured communication method based on a transmission network.

[0023] As can be seen from the above, when one communication method fails, electronic devices can send voice communication data through another communication method, thereby making the voice communication service of wired communication devices more reliable.

[0024] The beneficial effects of the first, second, third, fourth, and fifth aspects of this application can all be referred to in the analysis of the above-mentioned beneficial effects, and will not be repeated here. Attached Figure Description

[0025] Figure 1 This application provides a schematic diagram of the structure of a telephone implementing voice communication services.

[0026] Figure 2 A schematic diagram of the structure of a communication system provided in this application embodiment. Figure 1 ;

[0027] Figure 3 A schematic diagram of the structure of a communication system provided in this application embodiment. Figure 2 ;

[0028] Figure 4 A schematic diagram of the hardware structure of a communication device provided in this application embodiment. Figure 1 ;

[0029] Figure 5 A schematic diagram of the hardware structure of a communication device provided in this application embodiment. Figure 2 ;

[0030] Figure 6 A flowchart illustrating a communication method provided in an embodiment of this application. Figure 1 ;

[0031] Figure 7 A flowchart illustrating a communication method provided in an embodiment of this application. Figure 2 ;

[0032] Figure 8 A flowchart illustrating a communication method provided in an embodiment of this application. Figure 3 ;

[0033] Figure 9 A flowchart illustrating a communication method provided in an embodiment of this application. Figure 4 ;

[0034] Figure 10 A flowchart illustrating a communication method provided in an embodiment of this application. Figure 5 ;

[0035] Figure 11 This is a schematic diagram of the structure of a communication device provided in an embodiment of this application. Detailed Implementation

[0036] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0037] It should be noted that in the embodiments of this application, the words "exemplary" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of the words "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0038] To facilitate a clear description of the technical solutions of the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish the same or similar items with essentially the same function and effect. Those skilled in the art can understand that the terms "first" and "second" are not intended to limit the quantity or execution order.

[0039] As described in the background section, when an enterprise needs to conduct fixed-line telephone voice communication services, the operator needs to connect the service aggregation equipment to the telephone through an optical access network so that the telephone can conduct voice communication services through the optical access network.

[0040] Figure 1 A schematic diagram is shown of a telephone implementing voice communication services through an optical access network, such as... Figure 1 As shown, telephone 101 can send voice communication data to PON device 102. After receiving the voice communication data, PON device 102 can send the voice communication data to optical line terminal (OLT) 104 through optical splitter 103, thereby enabling telephone 101 to perform voice communication services through OLT 104.

[0041] Currently, telephones use optical access networks to provide voice communication services. However, when the optical access network fails, the telephone cannot provide voice communication services, resulting in low reliability of the voice communication service.

[0042] To address the aforementioned problems, this application provides a communication method applied to an electronic device. The electronic device is communicatively connected to a wired communication device. The communication method includes: the electronic device can receive voice communication data sent by the wired communication device. When a failure is determined in the first communication method, the electronic device can send voice communication data to a serving aggregation device through a second communication method. The first and second communication methods are, respectively, an optical access network-based communication method and a pre-configured transmission network-based communication method.

[0043] As can be seen from the above, when one communication method fails, electronic devices can send voice communication data through another communication method, thereby making the voice communication service of wired communication devices more reliable.

[0044] This communication method is applicable to communication systems. Figure 2 One structure of the communication system is shown. For example... Figure 2 As shown, the communication system includes: wired communication equipment 201, electronic equipment 202, and service aggregation equipment 203.

[0045] The wired communication device 201 and the electronic device 202 are connected in communication. The electronic device 202 is also connected in communication with the service aggregation device 203.

[0046] Optionally, the wired communication device 201 can be a digital telephone, an Internet Protocol (IP) telephone, a traditional telephone, etc., and this application embodiment does not limit it.

[0047] Optionally, electronic device 202 may be a device that integrates routing switching device and MSTP device, and may also include routing switching device and Multi Service Transport Platform (MSTP) device. This application embodiment does not limit this.

[0048] The routing switching device can be a switch, router, etc., and has functions such as Spanning Tree Protocol (STP) and link aggregation. When the routing switching device detects a timeout for the loss of available data packets, it determines that the communication method transmitting voice communication data has failed.

[0049] MSTP devices have switching capabilities. Unlike data communication switches, the first MSTP device 304 and the second MSTP device 307 have synchronous transmission protocols, enabling Layer 2 data pass-through. They also have photoelectric conversion capabilities and can access the transmission network via optical fiber to provide voice communication services to wired communication equipment. MSTP devices integrate multiple independent devices, such as traditional Synchronous Digital Hierarchy (SDH) multiplexers, Digital Cross Connectors (DXCs), Wavelength Division Multiplexing (WDM) terminals, Layer 2 network switches, and IP edge routers, into a single network device for unified control and management.

[0050] Optionally, the transmission network can be an MSTP transmission network, an optical transmission network, a dense wavelength division multiplexing (DWDM) transmission network, or an SDH transmission network. This application does not limit the specific network to any particular type.

[0051] Optionally, the service aggregation device 203 can be equipment in the operator's data center.

[0052] In this application, wired communication device 201 is used to send voice communication data to electronic device 202. Subsequently, electronic device 202 sends voice communication data to service aggregation device 203 via a first communication method and / or a second communication method. In this case, service aggregation device 203 sends the received voice communication data to electronic device 202. Electronic device 202 sends voice communication data to other wired communication devices 201, enabling wired communication devices 201 to perform voice communication services.

[0053] In one feasible approach, when the routing switching device and the MSTP device are not integrated into a single device... Figure 3 Another structure of this communication system is shown. (Combined with...) Figure 2 ,like Figure 3 As shown, the communication system includes: a telephone 301 (i.e., the wired communication device 201 in this application), a first passive optical network (PON) device 302 (also known as a large optical modem), a routing switching device 303, a first MSTP device 304, a single-port optical transceiver 305 (also known as a small optical modem), a first optical splitter 306, a second MSTP device 307, a second PON device 308, a second optical splitter 309, and an optical line terminal (OLT) 310 (the second MSTP device 307, the second PON device 308, the second optical splitter 309, and the OLT 310 are the service aggregation device 203 in this application).

[0054] In this system, telephone 301 is connected to the downlink port of the first PON device 302 via a telephone line. The downlink port of the first PON device 302 is connected to the routing switch device 303 via a network cable. The routing switch device 303 is connected to the first MSTP device 304 via a network cable. The first MSTP device 304 is connected to the second MSTP device 307 via a transmission network. The second MSTP device 307 is connected to the second PON device 308 via a network cable. The second PON device 308 is connected to the second optical splitter 309 via an optical fiber cable. The second optical splitter 309 is connected to the OLT 310 via an optical fiber cable.

[0055] The routing switch device 303 can also communicate with the single-port optical transceiver 305 via a network cable. The single-port optical transceiver 305 communicates with the first optical splitter 306 via a network cable. The first optical splitter 306 communicates with the OLT310 via an optical fiber cable.

[0056] It should be noted that the OLT310 is connected to the IP Multimedia Subsystem (IMS) via fiber optic cable. The IMS is used to provide voice communication services to telephone 301.

[0057] Optionally, the physical devices of the first PON device 302 and the second PON device 308 can be optical network units (ONUs) capable of transmitting voice communication data.

[0058] The first PON device 302 and the second PON device 308 are also known as integrated access devices. They can be used in optical access networks, have more ports and stronger functions, possess certain Layer 2 switching capabilities, and support protocols such as Session Initiation Protocol (SIP). They can provide multiple ports, including telephone, Ethernet, and optical ports. The physical devices of the first PON device 302 and the second PON device 308 can be Optical Network Units (ONUs) capable of transmitting communication data. Their port count can be 16, 32, 64, etc.

[0059] The SIP protocol can create, modify, and release sessions of one or more participants, providing complete session creation and session modification services for a variety of instant messaging services.

[0060] A first MSTP device 304 can communicate with one or more first PON devices 302. A second MSTP device 307 can communicate with one or more second PON devices 308.

[0061] Optionally, the first beam splitter 306 and the second beam splitter 309 can perform splitting and multiplexing functions. The output ports of the first beam splitter 306 and the second beam splitter 309 can be 2, 4, 8, 16, 32, etc., corresponding to model numbers of 1:2, 1:4, 1:8, 1:16, 1:32, etc.

[0062] Optionally, the uplink optical port of the OLT310 can be connected to the IMS via optical fiber, and the downlink optical port of the OLT310 (1 Gigabyte (G) or 10 G) can be connected to the first optical splitter 306 and the second optical splitter 309 via optical fiber.

[0063] Optionally, the communication system also includes a monitoring client 312. The monitoring client 312 is connected to the operator's network management center 311. The operator's network management center collects the device operation information of each device in the communication system periodically through the network management protocol and sends the device operation information to the monitoring client 312 in order to maintain each device in the communication system.

[0064] Optionally, when a device malfunctions, the monitoring client 312 can obtain the operating information of the malfunctioning device through the operator's network management center 311, and can output alarm information via SMS, voice, vibration, etc., so that the operator's maintenance personnel can handle the malfunctioning device.

[0065] Optionally, the physical device of the monitoring client 312 can be a server, a terminal, or other types of electronic devices, and this application embodiment does not limit this.

[0066] Optionally, the aforementioned terminal may be a device that provides voice and / or data connectivity to a user, a handheld device with wireless connectivity, or other processing device connected to a wireless modem. The terminal may communicate with one or more core networks via a radio access network (RAN). The terminal may be a mobile terminal, such as a mobile phone (or "cellular" phone) and a computer with a mobile terminal, or a portable, pocket-sized, handheld, computer-embedded, or vehicle-mounted mobile device that exchanges voice and / or data with the radio access network, such as a mobile phone, tablet computer, laptop computer, netbook, or personal digital assistant (PDA).

[0067] Optionally, the aforementioned server can be a server in a server cluster (composed of multiple servers), a chip in the server, a system-on-a-chip in the server, or a virtual machine (VM) deployed on a physical machine. This application embodiment does not limit this.

[0068] like Figure 4 The diagram shown is a hardware structure schematic of a communication device provided in an embodiment of this application. The communication device includes a processor 21, a memory 22, a communication interface 23, and a bus 24. The processor 21, the memory 22, and the communication interface 23 are connected via the bus 24.

[0069] Processor 21 is the control center of the communication device. It can be a single processor or a collective term for multiple processing elements. For example, processor 21 can be a general-purpose central processing unit (CPU) or other general-purpose processors. Among them, the general-purpose processor can be a microprocessor or any conventional processor.

[0070] As one embodiment, processor 21 may include one or more CPUs, for example Figure 4CPU 0 and CPU 1 are shown in the diagram.

[0071] The memory 22 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but is not limited thereto.

[0072] In one possible implementation, the memory 22 can exist independently of the processor 21. The memory 22 can be connected to the processor 21 via a bus 24 and is used to store instructions or program code. When the processor 21 calls and executes the instructions or program code stored in the memory 22, it can implement the communication method provided in the following embodiments of this application.

[0073] In this embodiment, the software programs stored in the memory 22 differ for the electronic device 202, resulting in different functions implemented by the electronic device 202. The functions performed by each device will be described in conjunction with the following flowchart.

[0074] In another possible implementation, the memory 22 can also be integrated with the processor 21.

[0075] Communication interface 23 is used for connecting the communication device to other devices via a communication network, which may be Ethernet, wireless access network, wireless local area network (WLAN), etc. Communication interface 23 may include a receiving unit for receiving data and a sending unit for sending data.

[0076] Bus 24 can be an industry standard architecture (ISA) bus, a peripheral component interconnect (PCI) bus, or an extended industry standard architecture (EISA) bus, etc. This bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 4The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0077] Figure 5 Another hardware structure of the communication device in an embodiment of this application is shown. For example... Figure 5 As shown, the communication device may include a processor 31 and a communication interface 32. The processor 31 is coupled to the communication interface 32.

[0078] The functions of processor 31 can be referred to in the description of processor 21 above. In addition, processor 31 also has a storage function, and can perform the functions of memory 22 mentioned above.

[0079] The communication interface 32 is used to provide data to the processor 31. The communication interface 32 can be an internal interface of the communication device or an external interface of the communication device (equivalent to communication interface 23).

[0080] It should be pointed out that, Figure 4 (or Figure 5 The structure shown in the diagram does not constitute a limitation on the communication device, except... Figure 4 (or Figure 5 In addition to the components shown in the diagram, the communication device may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0081] The communication method provided in the embodiments of this application will be described in detail below with reference to the accompanying drawings.

[0082] The communication method provided in the embodiments of this application is applied to Figure 2 Electronic device 202 in the communication system shown. For example... Figure 6 As shown, the communication method provided in this application embodiment includes:

[0083] S601. The electronic device receives voice communication data sent by the wired communication device.

[0084] Among them, electronic devices are connected to wired communication devices.

[0085] Specifically, when a wired communication device enables voice communication, it can send voice communication data. Then, an electronic device can receive the voice communication data sent by the wired communication device through the communication connection between the electronic device and the wired communication device.

[0086] S602. When it is determined that the first communication method has failed, the electronic device sends voice communication data to the service aggregation device through the second communication method.

[0087] Among the first and second communication methods, one is a communication method based on an optical access network, and the other is a communication method based on a pre-configured transmission network.

[0088] Specifically, after receiving voice communication data from a wired communication device, the electronic device can send voice communication data to the serving aggregation device via the optical access network and / or the transmission network. In this case, since one of the first communication methods is based on the optical access network and the other on a pre-configured transmission network, when the first communication method fails, the electronic device can send voice communication data to the serving aggregation device via the second communication method. That is, when the optical access network fails, the electronic device sends voice communication data to the serving aggregation device via the transmission network. Or, when the transmission network fails, the electronic device sends voice communication data to the serving aggregation device via the optical access network.

[0089] Optionally, when the electronic device determines that the first communication method has failed, the operator's network management center can obtain the failure information of the first communication method through the electronic device. Then, the monitoring client obtains the failure information of the first communication method from the operator's network management center, and subsequently, the monitoring client can output a prompt message to remind the operator's maintenance personnel to handle the failure of the first communication method.

[0090] In some embodiments, combined with Figure 6 ,like Figure 7 As shown, the communication method provided in this application embodiment further includes:

[0091] S701. When it is determined that the first communication method is not faulty and the amount of data received by the electronic device is greater than or equal to a preset threshold, based on the load balancing condition, the electronic device sends voice communication data to the service aggregation device through the first communication method and the second communication method.

[0092] Among them, the data received by the electronic device refers to the amount of voice communication data received by the electronic device from the wired communication device.

[0093] Optionally, since the first communication method can be either the optical access network or the transmission network, when the first communication method is not faulty, neither the optical access network nor the transmission network is faulty. In this case, the electronic device can send voice communication data to the serving aggregation device via the first communication method and / or the second communication method.

[0094] Optionally, when the amount of data received by the electronic device is greater than or equal to a preset threshold, and the electronic device sends voice communication data to the serving aggregation device through the first communication method, the electronic device can determine that the transmission pressure of the first communication method (i.e., the optical access network or transmission network) for transmitting voice communication data is relatively high. Therefore, based on load balancing conditions, the electronic device can send voice communication data to the serving aggregation device through both the first and second communication methods. In this way, the electronic device can simultaneously send voice communication data through both the first and second communication methods to reduce the transmission pressure of the optical access network and the transmission network for transmitting voice communication data.

[0095] In some embodiments, combined with Figure 7 ,like Figure 8 As shown, the communication method provided in this application embodiment further includes:

[0096] S801. When it is determined that the first communication method is not faulty and the amount of data received by the electronic device is less than a preset threshold, the electronic device sends voice communication data to the service aggregation device through the first communication method.

[0097] Optionally, when the electronic device determines that the first communication method is not faulty, then neither the optical access network nor the transmission network has failed. In this case, when the electronic device determines that the amount of data received is less than a preset threshold, the electronic device determines that the transmission pressure when transmitting voice communication data using the first communication method is relatively low. The electronic device can then send voice communication data to the serving aggregation device through the first communication method; that is, the electronic device can send voice communication data to the serving aggregation device through either the optical access network or the transmission network.

[0098] It should be noted that when the electronic device is a routing switcher, operator maintenance personnel can execute routing redundancy backup commands on the routing switcher to enable it to perform the following operations: The routing switcher sets the transmission network as the primary route and the optical access network as the backup route. The routing switcher transmits voice communication data through the primary route; when the transmission network fails, the backup route is used. Alternatively, the routing switcher sets the optical access network as the primary route and the transmission network as the backup route. The routing switcher transmits voice communication data through the primary route; when the transmission network fails, the backup route is used. Alternatively, the routing switcher sets the priority of the optical access network and the transmission network to a first preset value and the cost values ​​of the optical access network and the transmission network to a second preset value; in this case, the routing switcher uses both the optical access network and the transmission network to transmit voice communication data.

[0099] In some embodiments, combined with Figure 8 ,like Figure 9 As shown, the communication method provided in this application embodiment further includes:

[0100] S901. In response to a communication configuration operation, the electronic device configures its device parameters to enable the electronic device to establish a communication method with the service aggregation device based on the transmission network.

[0101] The device parameters include at least one of the following: device interface and data transmission rate.

[0102] Specifically, in order for wired communication devices to send voice communication data to service aggregation devices via the transmission network, electronic devices can respond to communication configuration operations and configure device parameters such as device interfaces and data transmission rates, so that electronic devices and service aggregation devices can establish a communication method based on the transmission network.

[0103] Optionally, after the electronic equipment and service aggregation equipment establish a communication method based on the transmission network, the monitoring client detects the optical access network and transmission network through the operator's network management center. When a fault is detected in either communication method, the monitoring client outputs a prompt message to prompt the operator's maintenance personnel to handle the fault. When no fault is detected in the optical access network and transmission network, the monitoring client outputs a prompt message to prompt the user to conduct voice communication.

[0104] When electronic devices transmit voice communication data via the first communication method, the monitoring client can detect whether the first communication method or the second communication method has failed through the operator's network management center. When the first communication method fails but the second communication method does not fail, the electronic devices transmit voice communication data via the second communication method.

[0105] For example, assuming the electronic equipment is a user-side MSTP device, the service aggregation equipment includes an operator-side MSTP device, an operator-side PON device, an operator-side optical splitter, and an operator-side OLT. Operator maintenance personnel can perform communication configuration operations on both the user-side and operator-side MSTP devices, configuring device parameters such as interface settings and data transmission rates. In this way, the user-side and operator-side MSTP devices can establish a transmission network-based communication method between the user side and the operator's equipment room side.

[0106] In some embodiments, the above description mainly focuses on the various steps of the communication method provided in this application. The complete flow of the communication method provided in this application is described below in conjunction with the above embodiments. For example... Figure 10 As shown, the communication method provided in this application embodiment specifically includes:

[0107] S1001. In response to a communication configuration operation, the electronic device configures its device parameters to enable the electronic device to establish a communication method with the service aggregation device based on the transmission network.

[0108] Combination Figure 9 The electronic device responds to the communication configuration operation and configures the device parameters of the electronic device so that the electronic device and the service aggregation device can establish a communication method based on the transmission network. For the relevant description, please refer to the relevant description of S901, which will not be repeated here.

[0109] S1002. The electronic device responds to the configuration operation of the routing redundancy backup command, configures the routing redundancy backup command so that the electronic device can send voice communication data through the optical access network and / or the transmission network.

[0110] Combination Figure 8 The electronic device responds to the configuration operation of the routing redundancy backup command, configuring the routing redundancy backup command so that the electronic device can send voice communication data through the optical access network and / or the transmission network. For relevant descriptions, please refer to the relevant descriptions in S801, which will not be repeated here.

[0111] S1003. Electronic equipment determines whether there are faults in the optical access network and transmission network through the operator's network management center.

[0112] Combination Figure 9 For details on how electronic devices determine whether there are faults in the optical access network and optical transmission network through the operator's network management center, please refer to the relevant description in S901, which will not be repeated here.

[0113] S1004. When there are no faults in the optical access network and transmission network, the electronic equipment transmits voice communication data through the first communication method.

[0114] Combination Figure 7 , Figure 8 When there are no faults in the optical access network and transmission network, the relevant description of the electronic equipment transmitting voice communication data through the first communication method can be found in the relevant descriptions of S701 and S801, and will not be repeated here.

[0115] S1005, or, the electronic device transmits voice communication data through a first communication method and a second communication method.

[0116] Combination Figure 7 , Figure 8 For a description of how electronic devices transmit voice communication data through the first and second communication methods, please refer to the relevant descriptions in S701 and S801, which will not be repeated here.

[0117] S1006. Electronic devices use the operator's network management center to detect whether the communication method used to transmit voice communication data is malfunctioning.

[0118] Combination Figure 7 For details on whether electronic devices are malfunctioning in the communication method used to transmit voice communication data by detecting faults through the operator's network management center, please refer to the relevant description in S701, which will not be repeated here.

[0119] S1007. When the first communication method is not faulty, the electronic device transmits voice communication data through the first communication method.

[0120] Combination Figure 8 , Figure 9 When the first communication method fails, the relevant description of the electronic device transmitting voice communication data through the first communication method can be found in the relevant descriptions of S801 and S901, and will not be repeated here.

[0121] S1008. When the first communication method fails, the electronic device transmits voice communication data through the second communication method.

[0122] Combination Figure 6 When the first communication method fails, the electronic device transmits voice communication data through the second communication method. For details on this, please refer to the relevant descriptions in S601 and S602, which will not be repeated here.

[0123] The foregoing mainly describes the solutions provided by the embodiments of this application from a methodological perspective. To achieve the above functions, it includes corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0124] This application embodiment can divide the communication device into functional modules according to the above method example. For example, each function can be divided into its own functional module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. Optionally, the module division in this application embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.

[0125] like Figure 11The diagram shown is a structural schematic of a communication device provided in an embodiment of this application. This communication device can be used to perform... Figures 6-9 The communication method shown in any one of them. Figure 11 The communication device shown includes: a receiving unit 1101 and a transmitting unit 1102;

[0126] The receiving unit 1101 is used to receive voice communication data sent by a wired communication device. For example, in conjunction with... Figure 6 The receiving unit 1101 is used to execute S601.

[0127] The transmitting unit 1102 is used to send voice communication data to the serving aggregation device via a second communication method when a failure is determined in the first communication method; of the first and second communication methods, one is a communication method based on an optical access network, and the other is a communication method based on a pre-configured transmission network. For example, combined with Figure 6 The sending unit 1102 is used to execute S602.

[0128] Optionally, the sending unit 1102 is further configured to, when it is determined that the first communication method is not faulty and the data received by the electronic device is greater than or equal to a preset threshold, send voice communication data to the service aggregation device through the first communication method and the second communication method based on load balancing conditions. For example, in combination with Figure 7 The sending unit 1102 is used to execute S701.

[0129] Optionally, the sending unit 1102 is further configured to send voice communication data to the service aggregation device via the first communication method when it is determined that the first communication method is not faulty and the data reception volume of the electronic device is less than a preset threshold. For example, in combination with Figure 8 The sending unit 1102 is used to execute S801.

[0130] Optionally, it may also include: a processing unit 1103;

[0131] Processing unit 1103 is configured, in response to a communication configuration operation, to configure device parameters of the electronic device to enable the electronic device and the service aggregation device to establish a communication method based on the transmission network; the device parameters include at least one of: device interface and data transmission rate. For example, combined with Figure 9 The processing unit 1103 is used to execute S901.

[0132] This application also provides a computer-readable storage medium, which includes computer-executable instructions. When the computer-executable instructions are run on a computer, the computer performs the communication method provided in the above embodiments.

[0133] This application also provides a computer program that can be directly loaded into a memory and contains software code. After being loaded and executed by a computer, the computer program can implement the communication method provided in the above embodiments.

[0134] Those skilled in the art will recognize that, in one or more of the examples above, the functions described in this application can be implemented using hardware, software, firmware, or any combination thereof. When implemented in software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or code on a computer-readable medium. Computer-readable media include computer-readable storage media and communication media, wherein communication media include any medium that facilitates the transmission of a computer program from one place to another. Storage media can be any available medium accessible to a general-purpose or special-purpose computer.

[0135] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0136] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and other division methods may exist in actual implementation. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the shown or discussed mutual couplings, direct couplings, or communication connections may be through some interfaces; indirect couplings or communication connections between devices or units may be electrical, mechanical, or other forms. Units described as separate components may or may not be physically separate; components shown as units may be one physical unit or multiple physical units, i.e., they may be located in one place or distributed in multiple different places. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0137] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.

[0138] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A communication method, characterized in that, Applied to electronic devices; the electronic devices are communicatively connected to wired communication equipment; the electronic devices are user-side multi-service transport platform (MSTP) devices; the communication method includes: Receive voice communication data sent by the wired communication device; When a failure is detected in the first communication method, the voice communication data is sent to the service aggregation device through the second communication method; of the first and second communication methods, one is a communication method based on the optical access network, and the other is a communication method based on a pre-configured transmission network. The service aggregation equipment includes MSTP equipment on the operator side; the transmission network is established based on communication configuration operations performed on the MSTP equipment on the user side and the MSTP equipment on the operator side.

2. The communication method according to claim 1, characterized in that, Also includes: In response to the communication configuration operation, the device parameters of the electronic device are configured so that the electronic device and the service aggregation device establish a communication method based on the transmission network; The device parameters include at least one of the following: device interface and data transmission rate.

3. The communication method according to claim 2, characterized in that, Also includes: When it is determined that the first communication method is not faulty and the amount of data received by the electronic device is greater than or equal to a preset threshold, the voice communication data is sent to the service aggregation device through the first communication method and the second communication method based on the load balancing condition.

4. The communication method according to claim 2, characterized in that, Also includes: When it is determined that the first communication method is not faulty and the amount of data received by the electronic device is less than a preset threshold, the voice communication data is sent to the service aggregation device through the first communication method.

5. A communication device, characterized in that, Applied to electronic devices; the electronic devices are communicatively connected to wired communication equipment; the electronic devices are user-side MSTP devices; the communication device includes: a receiving unit and a transmitting unit; The receiving unit is used to receive voice communication data sent by the wired communication device; The sending unit is used to send the voice communication data to the service aggregation device through the second communication method when it is determined that the first communication method has failed; of the first communication method and the second communication method, one is a communication method based on the optical access network and the other is a communication method based on a pre-configured transmission network. The service aggregation equipment includes MSTP equipment on the operator side; the transmission network is established based on communication configuration operations performed on the MSTP equipment on the user side and the MSTP equipment on the operator side.

6. The communication device according to claim 5, characterized in that, Also includes: Processing unit; The processing unit is configured to configure the device parameters of the electronic device in response to the communication configuration operation, so that the electronic device and the service aggregation device establish a communication method based on the transmission network. The device parameters include at least one of the following: device interface and data transmission rate.

7. The communication device according to claim 6, characterized in that, The sending unit is further configured to, when it is determined that the first communication method is not faulty and the amount of data received by the electronic device is greater than or equal to a preset threshold, send the voice communication data to the service aggregation device through the first communication method and the second communication method based on load balancing conditions.

8. The communication device according to claim 6, characterized in that, The sending unit is further configured to send the voice communication data to the service aggregation device through the first communication method when it is determined that the first communication method is not faulty and the data received by the electronic device is less than a preset threshold.

9. A communication device, characterized in that, It includes a memory and a processor; the memory is used to store computer execution instructions, and the processor is connected to the memory via a bus; when the communication device is running, the processor executes the computer execution instructions stored in the memory to cause the communication device to perform the communication method as described in any one of claims 1-4.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes computer-executable instructions that, when executed on a computer, cause the computer to perform the communication method as described in any one of claims 1-4.