Communication method, communication system and storage medium
A communication method and technology of a communication system, applied in the field of communication systems, storage media, and communication methods, capable of solving problems such as errors
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2020-04-14
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The present invention relates to the technical field of communication, in particular to a communication method, a communication system and a storage medium. Background technique
[0002] MDIO (Management Data Input / Output, management data input and output) communication is a common communication method between the CPU (central processing unit, central processing unit) and the slave device. The CPU and the slave device transmit data through the MDIO bus, and the CPU leads out A group of MDIO buses can mount up to 32 slave devices. When the number of slave devices continues to increase, the stability of the MDIO bus becomes very fragile. When a slave device goes down and the MDIO bus The level of the data line or clock line is pulled low. Since all slave devices share a set of MDIO buses, all devices on the MDIO bus will be down, and even the CPU will be locked, resulting in a system crash.
[0003] Therefore, the prior art still needs to be improved an...
Examples
Embodiment 1
[0033] see figure 1 , figure 1 It is a flow chart of Embodiment 1 of the communication method provided by the present invention. The communication method is applied to a communication system, and the communication system includes a CPU, a CPLD and at least one slave device.
[0034] from figure 1 It can be seen that in this embodiment, the communication method includes the steps of:
[0035] S100. The CPLD receives a communication signal sent by the CPU, and sequentially sends the communication signal to the slave device connected to the CPLD.
[0036] In the prior art, when the CPU performs MDIO communication with slave devices, the CPU communicates with all slave devices through a set of MDIO buses, such as figure 2 As shown, in the art, a group of MDIO buses includes mdio data lines and mdc clock lines, and since in the prior art, all slave devices mounted on an MDIO interface of the CPU share mdio data lines and mdc clock lines, When a slave device hangs up, if the le...
Embodiment 2
[0059] Based on the above embodiments, the present invention also provides a communication system, such as image 3 As shown, the communication system includes: a CPU, a CPLD and at least one slave device, the CPU is connected to the CPLD through a group of MDIO buses, and the CPLD is respectively connected to the slave devices through a group of MDIO buses connect;
[0060] The CPLD is used to receive the communication signal sent by the CPU, and sequentially send the communication signal to the slave device connected to the CPLD, specifically as described in Embodiment 1;
[0061] The CPLD is further configured to perform data forwarding between the CPU and the slave device according to the communication signal, as described in the first embodiment.
Embodiment 3
[0063] The present invention also provides a storage medium, the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the communication method described in the above-mentioned embodiments A step of.