WO2021121287A1 - 通信模块间通信方法、装置、计算机设备和可读存储介质 - Google Patents

通信模块间通信方法、装置、计算机设备和可读存储介质 Download PDF

Info

Publication number
WO2021121287A1
WO2021121287A1 PCT/CN2020/136921 CN2020136921W WO2021121287A1 WO 2021121287 A1 WO2021121287 A1 WO 2021121287A1 CN 2020136921 W CN2020136921 W CN 2020136921W WO 2021121287 A1 WO2021121287 A1 WO 2021121287A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication
communication module
data
module
modules
Prior art date
Application number
PCT/CN2020/136921
Other languages
English (en)
French (fr)
Inventor
肖静娴
陈炳锐
付俊涛
方彬浩
Original Assignee
京信网络系统股份有限公司
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 京信网络系统股份有限公司 filed Critical 京信网络系统股份有限公司
Publication of WO2021121287A1 publication Critical patent/WO2021121287A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances

Definitions

  • the present invention relates to the field of mobile communication technology, in particular to a communication method, device, computer equipment and readable storage medium between communication modules.
  • Communication equipment is a device that transmits communication data. Some communication equipment is equipped with multiple communication modules, and multiple communication modules can communicate with each other; for example, as a communication device, a repeater station can be set up to cover different Frequency band communication module.
  • the network frequency of the operator is distributed in various frequency bands, and the same operator may need to have a repeater that supports one, two, or even three frequency bands in different coverage areas for base station signal transfer, and the repeater is set with the corresponding frequency band Of multiple communication modules.
  • the communication modules of different frequency bands in the repeater mainly communicate through serial communication.
  • an embodiment of the present application provides a communication method between communication modules, which is applied to a first communication module of a plurality of communication modules included in a communication device, and serial communication is adopted between the plurality of communication modules.
  • a communication module is any one of the plurality of communication modules, and the method includes:
  • the encapsulated data is sent to the second communication module of the plurality of communication modules through the serial port of the first communication module, and the first communication module and the second communication module are in the same network segment.
  • a virtual network device is provided in the first communication module, and the acquiring communication data includes:
  • the encapsulating the communication data according to the encapsulation format of Ethernet data to obtain the encapsulated data includes:
  • the sending the encapsulated data to the second communication module of the plurality of communication modules through the serial port of the first communication module includes:
  • the encapsulated data is read from the sending buffer, and the encapsulated data is sent to the second communication module of the plurality of communication modules through the serial port of the first communication module.
  • the method further includes:
  • the target data is obtained by encapsulating according to the encapsulation format of Ethernet data
  • the decapsulating the target data to obtain the decapsulated data includes:
  • the target data is read from the receiving buffer, and header information and trailer information included in the target data are removed to obtain decapsulated data.
  • a virtual network device is provided in the first communication module, and the method further includes:
  • the decapsulated data is transferred to the application layer through the virtual network device.
  • the method further includes:
  • the IP address of the virtual network device included in the first communication module is set, and the network segment of the IP address is the same as the network segment corresponding to the second communication module, so
  • the communication mode includes master mode or slave mode.
  • the setting the IP address of the virtual network device included in the first communication module based on the current communication mode of the first communication module includes:
  • the current communication mode of the first communication module is the host mode
  • a virtual network bridge is created and the IP address of the virtual network bridge is set; the virtual network bridge is used for the virtual network device and the first communication The module's external connection network port connection;
  • the IP address of the virtual network bridge is set to the IP address of the virtual network device.
  • the method further includes:
  • the IP address of the virtual bridge is set to the IP address of the externally connected network port, so that the external commissioning module can pass the IP address of the externally connected network port to be the same as the IP address of the virtual bridge
  • Each communication module of the network segment is commissioned.
  • the setting the IP address of the virtual network device included in the first communication module based on the current communication mode of the first communication module includes:
  • the current communication mode of the first communication module is the slave mode, acquiring the IP network segment corresponding to the communication module whose current communication mode is the master mode;
  • the IP address of the virtual network device is set, and the network segment of the IP address of the virtual network device is consistent with the obtained IP network segment.
  • the method further includes:
  • the current communication mode of the first communication module is the master mode or the slave mode.
  • an embodiment of the present application provides a communication device between communication modules, which is provided in a first communication module among a plurality of communication modules included in a communication device, and serial communication is adopted between the plurality of communication modules.
  • the communication module is any one of the multiple communication modules, and the device includes:
  • the encapsulation module is used to encapsulate the communication data according to the encapsulation format of Ethernet data to obtain the encapsulated data;
  • the sending module is configured to send the encapsulated data to the second communication module of the plurality of communication modules through the serial port of the first communication module, where the first communication module and the second communication module are located The same network segment.
  • an embodiment of the present application provides a computer device that includes multiple communication modules, each of the communication modules includes a memory and a processor, the memory stores a computer program, and the processor executes the computer program when the computer program is executed. The steps of the method as described in the first aspect above.
  • an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.
  • the multiple communication modules included in the communication device of the present application adopt serial port communication, and the first communication module of the multiple communication modules obtains communication data; the communication data is encapsulated according to the encapsulation format of Ethernet data, and the encapsulation is obtained.
  • the data; the encapsulated data is sent to the second communication module of the plurality of communication modules through the serial port of the first communication module, and the first communication module and the second communication module are on the same network Section; Therefore, the data transmitted between the first communication module and the second communication module is encapsulated according to the encapsulation format of Ethernet data, which avoids the transmission between the first communication module and the second communication module in the traditional technology It is serial data. Since serial data has no start and end characters, a complete serial data packet may be sent multiple times during serial transmission, which causes the problem of slow transmission rate. This application improves the communication rate between the first communication module and the second communication module.
  • FIG. 1 is an application environment diagram of a communication method between communication modules provided by an embodiment
  • FIG. 2 is a schematic flowchart of a communication method between communication modules provided by an embodiment
  • FIG. 3 is a schematic flowchart of a communication method between communication modules provided by an embodiment
  • FIG. 4 is a schematic diagram of detailed steps of step S300 in an embodiment
  • FIG. 5 is a schematic flowchart of a communication method between communication modules provided by an embodiment
  • FIG. 6 is a schematic diagram of detailed steps of step S420 in an embodiment
  • FIG. 7 is a schematic flowchart of a communication method between communication modules provided by an embodiment
  • FIG. 8 is a schematic flowchart of a communication method between communication modules provided by an embodiment
  • FIG. 9 is a schematic diagram of detailed steps of step S500 in an embodiment
  • FIG. 10 is a schematic diagram of detailed steps of step S500 in an embodiment
  • Fig. 11 is a structural block diagram of a communication device between communication modules provided by an embodiment.
  • the communication method between communication modules provided in this application can be applied to the application environment as shown in FIG. 1.
  • the communication device includes multiple communication modules, and serial communication is adopted between the multiple communication modules.
  • This application provides The communication method between communication modules is specifically applied to a first communication module, and the first communication module is any one of a plurality of communication modules included in a communication device.
  • the communication device can be a repeater.
  • the communication method, device, computer equipment, and readable storage medium between communication modules provided by the embodiments of the present application are intended to solve the problem that the communication rate is Slow technical issues.
  • the technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems will be described in detail through the embodiments and the accompanying drawings.
  • the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
  • the execution subject may be a communication device between communication modules, and the communication device between communication modules may be implemented as the first communication through software, hardware, or a combination of software and hardware. Part or all of the module.
  • the execution subject is the first communication module as an example for description.
  • FIG. 2 shows a flowchart of a communication method between communication modules provided by an embodiment of the present application.
  • the communication method between communication modules in this embodiment may include the following steps:
  • Step S100 Obtain communication data.
  • the communication data acquired by the first communication module is the serial port data sent by the application layer.
  • the first communication module after obtaining the serial port data sent by the application layer, the first communication module directly sends the serial port data to the second communication module through the serial port. Since the serial port data does not have the start and end characters, during the serial port transmission, the serial port data may be split and sent to the second communication module multiple times, thereby causing a slow transmission rate between the first communication module and the second communication module.
  • step S200 the communication data is encapsulated according to the encapsulation format of the Ethernet data to obtain the encapsulated data.
  • the first communication module obtains the communication data and encapsulates the communication data according to the encapsulation format of the Ethernet data. Specifically, the communication data is encapsulated according to the Ethernet frame format, and the corresponding header information is added to the communication data. And the end of the packet information to get the encapsulated data.
  • Ethernet frame formats There are multiple Ethernet frame formats.
  • the header information and the packet trailer information added to the communication data are different depending on the selected Ethernet frame format.
  • common Ethernet frame formats include Ethernet II and IEEE 802.3 formats.
  • Ethernet II contains a Type field.
  • the Type field describes the type of data packet following the Ethernet header. For example, when Type is 0x8000, it is an IP protocol packet. , When the Type is 8060, it is an ARP protocol packet; and in the IEEE 802.3 format, this position is the length field.
  • This embodiment does not specifically limit the encapsulation format adopted by the first communication module.
  • step S300 the encapsulated data is sent to the second communication module of the plurality of communication modules through the serial port of the first communication module.
  • the first communication module and the second communication module are in the same network segment to ensure that the second communication module can recognize the encapsulated data sent by the first communication module.
  • the first communication module encapsulates the communication data according to the encapsulation format of the Ethernet data. After obtaining the encapsulated data, the encapsulated data is sent to the communication device through the serial port of the first communication module.
  • the second communication module in the module Therefore, the encapsulated data transmitted between the first communication module and the second communication module is Ethernet data.
  • the serial port is transmitted, it will be based on the packet header information and packet tail information of the encapsulated data. To send a complete packet.
  • the multiple communication modules included in the communication device adopt serial communication, and the connection structure between the communication modules is relatively simple, which avoids the use of Ethernet connection between multiple communication modules to cause more communication lines and network port volume.
  • the problem is relatively large, which affects the miniaturization of equipment.
  • the multiple communication modules included in the communication device adopt serial port communication, and the first communication module of the multiple communication modules obtains communication data; the communication data is encapsulated according to the encapsulation format of Ethernet data to obtain the encapsulated data;
  • the encapsulated data is sent to the second communication module of the multiple communication modules through the serial port of the first communication module, and the first communication module and the second communication module are in the same network segment; therefore, the first communication module and the second communication module in this embodiment
  • the data transmitted between the two communication modules is encapsulated according to the encapsulation format of the Ethernet data, which avoids that in the traditional technology, the serial data is transmitted between the first communication module and the second communication module, because the serial data does not start and end When the serial port is transmitting, a complete serial port data packet may be sent multiple times, which causes the problem of slow transmission rate.
  • This embodiment improves the communication rate between the first communication module and the second communication module.
  • Fig. 3 is a schematic flowchart of a communication method between communication modules provided by another embodiment.
  • a virtual network device is provided in the first communication module of this embodiment, and step S100 of this embodiment includes:
  • step S110 the communication data transmitted by the application layer is received through the virtual network device.
  • the multiple communication modules included in the communication device are respectively created with corresponding virtual network devices, and the IP addresses of each virtual network device are in the same network segment to ensure that multiple communication modules can be based on Ethernet data
  • the encapsulation format of the encapsulated data is communicated.
  • the first communication module receives the communication data transmitted by the application layer through the virtual network device. Specifically, the first communication module monitors the data of the virtual network port of the virtual network device, and obtains the communication data from the virtual network port. The communication data is transmitted from the application layer to the virtual network port. Network equipment; after the first communication module obtains the communication data, it encapsulates the communication data according to the encapsulation format of the Ethernet data to obtain the encapsulated data; the encapsulated data is sent to multiple communication modules through the serial port of the first communication module The second communication module. As a result, the communication rate between the first communication module and the second communication module is improved.
  • step S300 includes step S310 and step S320, specifically:
  • step S310 the encapsulated data is stored in the sending buffer.
  • the communication module writes the encapsulated data to the serial port at a fast rate, and the serial port transmits the encapsulated data at a slower rate, it is easy to cause the communication module to write the encapsulated data of the serial port, and the data is lost due to the time being sent by the serial port. problem.
  • the first communication module is provided with a sending buffer.
  • the first communication module obtains the communication data, and encapsulates the communication data according to the encapsulation format of the Ethernet data. After obtaining the encapsulated data, the encapsulated data is stored in the transmission Cache.
  • Step S320 Read the encapsulated data from the sending buffer, and send the encapsulated data to the second communication module of the plurality of communication modules through the serial port of the first communication module.
  • the first communication module stores the encapsulated data in the sending buffer, then reads the encapsulated data from the sending buffer, and sends the encapsulated data to the second communication among the multiple communication modules through the serial port of the first communication module.
  • Fig. 5 is a schematic flowchart of a communication method between communication modules provided by another embodiment.
  • the communication method between communication modules in this embodiment further includes:
  • Step S410 Read the target data from the serial port of the first communication module.
  • the target data is encapsulated according to the encapsulation format of the Ethernet data.
  • the transmitting end first obtains communication data, which can be serial data sent by the application layer, and then transfers the communication data.
  • the encapsulation is performed according to the encapsulation format of the Ethernet data to obtain the encapsulated data, and then the encapsulated data is sent to the serial port of the first communication module through the serial port of the communication module of the current transmitting end.
  • the first communication module monitors the data of the serial port, and reads the encapsulated data sent by the sending end from the serial port of the first communication module, that is, the target data.
  • Step S420 Decapsulate the target data to obtain decapsulated data.
  • the first communication module decapsulates the encapsulation format of the target data. Specifically, it decapsulates the header information and the end of the target data to obtain the decapsulated serial port data.
  • the application layer obtains the serial port data, and the serial port Data is processed.
  • the network communication of the application layer is realized based on the physical connection of the serial ports of each communication module.
  • the physical layer uses serial data communication
  • the application layer uses Ethernet data for processing.
  • TCP, UDP, FTP, TFTP and other network protocols can flexibly use TCP, UDP, FTP, TFTP and other network protocols to achieve different business requirements and applications
  • the layer does not need to deal with the specific data packet sending problem of the bottom layer, which improves the development efficiency of application layer software.
  • step S420 includes step S421 and step S422, specifically:
  • step S421 the target data is stored in the receiving buffer.
  • the first communication module is provided with a receiving buffer, and after the first communication module reads the target data from the serial port of the first communication module, the target data is stored in the receiving buffer.
  • step S422 the target data is read from the receiving buffer, and the header information and the trailer information included in the target data are removed to obtain the decapsulated data.
  • the first communication module reads the stored target data from the receiving buffer, and removes the header information and the end of the packet included in the target data to obtain the serial port data after decapsulation.
  • the application layer obtains the serial port data and sends the data to the serial port. Data is processed. This avoids the problem of data loss caused by the inconsistency between the rate at which the first communication module obtains the target data and the rate at which the application layer obtains the decapsulated data during the data transmission process, and the accuracy of data transmission is ensured.
  • FIG. 7 is a schematic flowchart of a communication method between communication modules provided by another embodiment.
  • a virtual network device is provided in the first communication module of this embodiment, and the communication method between communication modules of this embodiment further includes:
  • step S430 the decapsulated data is transferred to the application layer through the virtual network device.
  • the other communication modules are used as the transmitting end, and the application layer software of the transmitting end sends the communication.
  • Data is sent to the virtual network device of the sending end, the sending end reads the communication data from the virtual network device, and the sending end encapsulates the communication data according to the encapsulation format of the Ethernet data to obtain the encapsulated data, and save the encapsulated data for transmission In the buffer; the sending end reads the encapsulated data from the sending buffer, and sends the encapsulated data to the first communication module through the serial port of the sending end.
  • the first communication module that is, the serial port of the receiving end
  • receives the target data that is, after the encapsulated data
  • the first communication module stores the target data in the receiving buffer, and reads the target data from the receiving buffer, and transfers the target data to the receiving buffer.
  • the header information and the trailer information included in the data are removed to obtain the decapsulated serial port data
  • the decapsulated serial port data is sent to the virtual network device of the first communication module, and the application layer is from the port of the virtual network device of the first communication module Read the decapsulated serial port data for processing. It can be understood that, among the multiple communication modules included in the communication device, any one of the communication modules can be used as a sending end or a receiving end.
  • the communication modules of the communication equipment are connected by serial ports.
  • the communication module converts serial data and Ethernet data.
  • the physical layer uses serial data communication
  • the application layer uses Ethernet data for processing, which improves the development of application layer software. The efficiency improves the communication rate between the communication modules in the communication equipment.
  • FIG. 8 is a schematic flowchart of a communication method between communication modules provided by another embodiment.
  • the communication method between communication modules in this embodiment further includes:
  • Step S500 based on the current communication mode of the first communication module, set the IP address of the virtual network device included in the first communication module.
  • the network segment of the IP address is the same as the network segment corresponding to the second communication module, and the communication mode includes a master mode or a slave mode.
  • the first communication module recognizes that the current communication mode of the first communication module is the master mode or the slave mode according to the state of the DIP switch of the first communication module; specifically, each communication module included in the communication device is set There are DIP switches.
  • the different states of the DIP switches indicate different communication modes of the current communication module, for example, indicate master mode, slave 1 mode, slave 2 mode, and so on.
  • step S500 in this embodiment includes step S510 and step S520, specifically:
  • step S510 if the current communication mode of the first communication module is the host mode, a virtual network bridge is created, and the IP address of the virtual network bridge is set.
  • the virtual network bridge is used to connect the virtual network device with the external connection network port of the first communication module.
  • step S520 the IP address of the virtual network bridge is set as the IP address of the virtual network device.
  • the communication device of this embodiment includes the communication module 1, the communication module 2 and the communication module 3 as shown in FIG.
  • the dial switch is set to 00; the communication module 2 is used as the slave 1 mode, the dial switch is set to 01, the communication module 3 is used as the slave 2 mode, the dial switch is set to 11, the first communication module of this embodiment is shown in Figure 1 Communication module 1 shown.
  • each communication module includes two serial ports: serial port 1 and serial port 2.
  • the MCU of the communication module 1 is connected to the serial port 1 and the serial port 2
  • the MCU of the communication module 2 is connected to the serial port 1
  • the MCU of the communication module 3 is connected to the serial port 2
  • the serial ports 1 and 2 of the three communication modules are respectively connected through terminals. Therefore, the communication module 1 can communicate with the communication module 2 through the serial port 1 and communicate with the communication module 3 through the serial port 2.
  • the serial port 2 of the communication module 2 is used to directly communicate the serial port data between the communication module 1 and the communication module 3.
  • Each communication module creates a corresponding virtual network device.
  • the first communication module recognizes that the current communication mode of the first communication module is the host mode according to the state of the dial switch of the first communication module, it creates a network bridge through system commands and sets the network
  • the IP address of the bridge for example, is set to 192.168.10.100, and the IP address of the virtual network bridge is set to the IP address of the virtual network device of the first communication module.
  • step S500 in this embodiment further includes step S530:
  • Step S530 Set the IP address of the virtual bridge to the IP address of the externally connected network port, so that the external commissioning module can communicate with the IP address of the virtual bridge on the same network segment through the IP address of the externally connected network port. Commission the module.
  • the first communication module sets the IP address of the virtual network bridge as the IP address of the external connection network port, that is, adds the virtual network port of the virtual network device of the first communication module and the external connection network port to the network bridge.
  • the communication module 2 is in the slave 1 mode, and the communication module 2 sets the IP address of its virtual network device to the same network segment as the IP address of the bridge, for example, set it to 192.168.10.101.
  • Communication module 3 is in slave 2 mode.
  • Communication module 3 sets the IP address of its virtual network device to the same network segment as the IP address of the bridge, and is different from the IP address of the virtual network device of communication module 2, for example, set to 192.168.10.102 .
  • a network connection is established between the communication module 1, the communication module 2, and the communication module 3.
  • FIG. 10 is a schematic diagram of detailed steps of step S500 in another embodiment.
  • step S500 in this embodiment includes step S540 and step S550, specifically:
  • Step S540 If the current communication mode of the first communication module is the slave mode, obtain the IP network segment corresponding to the communication module whose current communication mode is the master mode.
  • step S550 the IP address of the virtual network device is set, and the network segment of the IP address of the virtual network device is consistent with the obtained IP network segment.
  • the current communication mode of the first communication module is the slave mode, that is, the first communication module is the communication module 2 or the communication module 3 shown in Figure 1, then the communication module whose current communication mode is the master mode is obtained The corresponding IP network segment is to obtain the IP network segment corresponding to the communication module 1.
  • the communication module 1 After the communication module 1 completes the setting of the IP address of the network bridge, the virtual network port and the external connection network port of the virtual network device of the communication module 1 are all classified into the network bridge, that is, both are the same as the IP address of the network bridge.
  • the first communication module obtains the bridge IP address of the communication module 1, determines the network segment, and sets the IP address of the virtual network device of the first communication module, and connects the network segment of the IP address of the virtual network device of the first communication module with the communication module Keep the same IP network segment of 1 to establish a connection.
  • each communication module of the communication device includes two serial ports, and the two serial ports of each communication module are connected by terminals.
  • the serial port 1 of each communication module is connected to the serial port 1 of other communication modules.
  • the serial port 2 of each communication module is connected to the serial port 2 of other communication modules.
  • the communication protocol between the communication modules is master-slave communication.
  • Each communication module is provided with a DIP switch, and each communication module determines the current working mode of the communication module according to the state of the corresponding DIP switch.
  • the working modes include master mode, slave 1 mode, and slave 2 mode. When the communication module is in different working modes, choose whether to connect to serial port 1 and serial port 2 on the physical connection.
  • the host mode is connected to serial port 1 and serial port 2, and slave machine 1 Mode is connected to serial port 1, and slave 2 mode is connected to serial port 2.
  • slave machine 1 Mode is connected to serial port 1
  • slave 2 mode is connected to serial port 2.
  • the communication device Take the communication device as a repeater as an example.
  • dual-frequency equipment two communication modules are used, and the states of the DIP switches are respectively set to master mode and slave 1 mode.
  • a tri-band device choose three communication modules and set the status of the DIP switch as master mode, slave 1 mode, slave 2 mode, and so on.
  • the network port of the virtual network device can be regarded as a common network port to operate on it.
  • the communication module 1 in the master mode needs to poll the communication module 2 in the slave mode regularly or The data of communication module 3, because communication module 1, communication module 2 and communication module 3 are in the same network segment, each communication module sets its fixed port as a UDP port, and communication module 1 can be connected to communication module 2 or communication module 3. Establish UDP connections between them.
  • the communication module 1 and the communication module 2, the communication module 1 and the communication module 3 can be connected through UDP for query, setting and other operations.
  • communication module 2 or communication module 3 needs to download files from communication module 1, communication module 1 builds an FTP server, communication module 2 or communication module 3 acts as an FTP client to establish an FTP connection with communication module 1 through a virtual network device , So you can download or upload the specified file from the communication module 1. It avoids the problem of slow transmission efficiency in the traditional technology, which only uses serial data to communicate between the host and the slave, and the file transmission must be through the master-slave communication protocol.
  • the commissioning tool can be directly connected to the communication module 2 and the communication module 3 through the external connection network port of the communication module 1 for commissioning.
  • the master-slave communication protocol is required to perform the commissioning.
  • the commissioning tool can only perform commissioning on the host, resulting in low commissioning efficiency. Therefore, this application improves the commissioning efficiency and the production efficiency of communication equipment.
  • a communication device between communication modules is provided, which is provided in a first communication module among a plurality of communication modules included in a communication device, and serial communication is adopted between the plurality of communication modules.
  • the first communication module is any one of the multiple communication modules, and the device includes:
  • the obtaining module 10 is used to obtain communication data
  • the encapsulation module 20 is configured to encapsulate the communication data according to the encapsulation format of Ethernet data to obtain encapsulated data;
  • the sending module 30 is configured to send the encapsulated data to the second communication module of the plurality of communication modules through the serial port of the first communication module, the first communication module and the second communication module In the same network segment.
  • a virtual network device is provided in the first communication module, and the obtaining module 10 includes:
  • the first acquiring unit is configured to receive the communication data delivered by the application layer through the virtual network device.
  • the packaging module 20 includes:
  • the encapsulation unit is used to add corresponding header information and trailer information to the communication data to obtain encapsulated data.
  • the sending module 30 includes:
  • the first storing unit is used to store the encapsulated data in the sending buffer
  • the sending unit is configured to read the encapsulated data from the sending buffer, and send the encapsulated data to the second communication among the plurality of communication modules through the serial port of the first communication module Module.
  • the device further includes:
  • a reading module configured to read target data from the serial port of the first communication module; the target data is obtained by encapsulating according to the encapsulation format of Ethernet data;
  • the decapsulation module is used to decapsulate the target data to obtain the decapsulated data.
  • the decapsulation module includes:
  • the second storing unit is used to store the target data in the receiving buffer
  • the decapsulation unit is configured to read the target data from the receiving buffer, and remove the header information and the trailer information included in the target data to obtain the decapsulated data.
  • a virtual network device is provided in the first communication module, and the apparatus further includes:
  • the transfer module is used to transfer the decapsulated data to the application layer through the virtual network device.
  • the device further includes:
  • the setting module is configured to set the IP address of the virtual network device included in the first communication module based on the current communication mode of the first communication module, and the network segment of the IP address corresponds to the second communication module
  • the network segments are the same, and the communication mode includes a master mode or a slave mode.
  • the setting module includes:
  • the creation unit is configured to create a virtual network bridge and set the IP address of the virtual network bridge if the current communication mode of the first communication module is the host mode; the virtual network bridge is used for the virtual network device and The external connection network port of the first communication module is connected;
  • the first setting unit is configured to set the IP address of the virtual network bridge as the IP address of the virtual network device.
  • the device further includes:
  • the second setting unit is configured to set the IP address of the virtual network bridge to the IP address of the externally connected network port, so that the external commissioning module can use the IP address of the externally connected network port to communicate with the virtual Each communication module whose IP address of the bridge is on the same network segment is commissioned.
  • the setting module includes:
  • the second obtaining unit is configured to obtain the IP network segment corresponding to the communication module whose current communication mode is the master mode if the current communication mode of the first communication module is the slave mode;
  • the third setting unit is configured to set the IP address of the virtual network device, and keep the network segment of the IP address of the virtual network device consistent with the obtained IP network segment.
  • the device further includes:
  • the identification module is used to identify the current communication mode of the first communication module as the master mode or the slave mode according to the state of the DIP switch of the first communication module.
  • the communication device between communication modules provided in this embodiment can execute the foregoing embodiment of the communication method between communication modules, and its implementation principles and technical effects are similar, and will not be repeated here.
  • Each module in the above-mentioned inter-module communication device may be implemented in whole or in part by software, hardware, and a combination thereof.
  • the above-mentioned modules may be embedded in the form of hardware or independent of the processor in the computer equipment, or may be stored in the memory of the computer equipment in the form of software, so that the processor can call and execute the operations corresponding to the above-mentioned modules.
  • a computer device including multiple communication modules, each communication module includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when the processor executes the computer program:
  • the second communication module, the first communication module and the second communication module are in the same network segment.
  • Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory may include random access memory (RAM) or external cache memory.
  • RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Channel (Synchlink) DRAM (SLDRAM), memory bus (Ramb microsecond) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDRSDRAM double data rate SDRAM
  • ESDRAM enhanced SDRAM
  • SLDRAM synchronous chain Channel
  • RDRAM synchronous chain Channel
  • RDRAM direct RAM
  • DRAM direct memory bus dynamic RAM
  • RDRAM memory bus dynamic RAM
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
  • the second communication module, the first communication module and the second communication module are in the same network segment.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Systems (AREA)
  • Communication Control (AREA)

Abstract

本申请涉及一种通信模块间通信方法、装置、计算机设备和可读存储介质。所述通信模块间通信方法应用于通讯设备包括的多个通信模块中的第一通信模块,所述多个通信模块之间采用串口通信,所述第一通信模块是所述多个通信模块中的任一个,所述方法包括:获取通信数据;将所述通信数据按照以太网数据的封装格式进行封装,得到封装后的数据;通过所述第一通信模块的串口将所述封装后的数据发送至所述多个通信模块中的第二通信模块,所述第一通信模块与所述第二通信模块处于同一网段。采用本方法能够提升通讯设备中通信模块间的通信速率。

Description

通信模块间通信方法、装置、计算机设备和可读存储介质 技术领域
本发明涉及移动通信技术领域,特别是涉及一种通信模块间通信方法、装置、计算机设备和可读存储介质。
背景技术
通讯设备是传输通信数据的设备,部分通讯设备内部设置有多个通信模块,多个通信模块之间可以互相通信;例如,直放站作为一种通讯设备,其内部可以设置多个分别覆盖不同频段的通信模块。
运营商的网络频率分布在各个频段,同一运营商在不同的覆盖区域可能需要具备支持一个、两个,甚至三个频段功能的直放站进行基站信号中转,该直放站则设置有相应频段的多个通信模块。传统技术中,直放站中不同频段的通信模块之间,主要采用串口通信的方式进行通信。
然而,上述采用串口通信的方式,通信模块间的通信速率比较慢。
发明内容
基于此,有必要针对上述技术问题,提供一种能够提升通讯设备中通信模块间的通信速率的通信模块间通信方法、装置、计算机设备和可读存储介质。
第一方面,本申请实施例提供了一种通信模块间通信方法,应用于通讯设备包括的多个通信模块中的第一通信模块,所述多个通信模块之间采用串口通信,所述第一通信模块是所述多个通信模块中的任一个,所述方法包括:
获取通信数据;
将所述通信数据按照以太网数据的封装格式进行封装,得到封装后的数据;
通过所述第一通信模块的串口将所述封装后的数据发送至所述多个通信模块中的第二通信模块,所述第一通信模块与所述第二通信模块处于同一网段。
在其中一个实施例中,所述第一通信模块中设置有虚拟网络设备,所述获取通信数据,包括:
通过所述虚拟网络设备接收应用层传递的所述通信数据。
在其中一个实施例中,所述将所述通信数据按照以太网数据的封装格式进行封装,得到封装后的数据,包括:
对所述通信数据添加对应的包头信息和包尾信息,得到封装后的数据。
在其中一个实施例中,所述通过所述第一通信模块的串口将所述封装后的数据发送至所述多个通信模块中的第二通信模块,包括:
将所述封装后的数据存入发送缓存;
从所述发送缓存中读取所述封装后的数据,并通过所述第一通信模块的串口将所述封装后的数据发送至所述多个通信模块中的第二通信模块。
在其中一个实施例中,所述方法还包括:
从所述第一通信模块的串口读取目标数据;所述目标数据是按照以太网数据的封装格式进行封装得到的;
对所述目标数据进行解封装,得到解封装后的数据。
在其中一个实施例中,所述对所述目标数据进行解封装,得到解封装后的数据,包括:
将所述目标数据存入接收缓存;
从所述接收缓存中读取所述目标数据,并将所述目标数据包括的包头信息和包尾信息解除,得到解封装后的数据。
在其中一个实施例中,所述第一通信模块中设置有虚拟网络设备,所述方法还包括:
通过所述虚拟网络设备将所述解封装后的数据传递至应用层。
在其中一个实施例中,所述方法还包括:
基于所述第一通信模块当前的通信模式,设置所述第一通信模块包括的虚拟网络设备的IP地址,所述IP地址的网段和所述第二通信模块所对应的网段相同,所述通信模式包括主机模式或从机模式。
在其中一个实施例中,所述基于所述第一通信模块当前的通信模式,设置所述第一通信模块包括的虚拟网络设备的IP地址,包括:
若所述第一通信模块当前的通信模式为主机模式,则创建虚拟网桥,并设置所述虚拟网桥的IP地址;所述虚拟网桥用于所述虚拟网络设备与所述第一通信模块的对外连接网口连接;
将所述虚拟网桥的IP地址设置为所述虚拟网络设备的IP地址。
在其中一个实施例中,所述方法还包括:
将所述虚拟网桥的IP地址设置为所述对外连接网口的IP地址,以供外部调测模块通过所述对外连接网口的IP地址,对与所述虚拟网桥的IP地址处于同一网段的各通信模块进行调测。
在其中一个实施例中,所述基于所述第一通信模块当前的通信模式,设置所述第一通信模块包括的虚拟网络设备的IP地址,包括:
若所述第一通信模块当前的通信模式为从机模式,则获取当前通信模式为主机模式的通信模块所对应的IP网段;
设置所述虚拟网络设备的IP地址,并将所述虚拟网络设备的IP地址的网段与获取到的所述IP网段保持一致。
在其中一个实施例中,所述方法还包括:
根据所述第一通信模块的拨码开关的状态,识别所述第一通信模块当前的通信模式为主机模式或从机模式。
第二方面,本申请实施例提供一种通信模块间通信装置,设置于通讯设备包括的多个通信模块中的第一通信模块,所述多个通信模块之间采用串口通信,所述第一通信模块是所述多个通信模块中的任一个,所述装置包括:
获取模块,用于获取通信数据;
封装模块,用于将所述通信数据按照以太网数据的封装格式进行封装,得到封装后的数据;
发送模块,用于通过所述第一通信模块的串口将所述封装后的数据发送至所述多个通信模块中的第二通信模块,所述第一通信模块与所述第二通信模块处于同一网段。
第三方面,本申请实施例提供一种计算机设备,包括多个通信模块,各所述通信模块包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现如上述第一方面所述的方法的步骤。
第四方面,本申请实施例提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如上述第一方面所述的方法的步骤。
本申请实施例提供的技术方案带来的有益效果至少包括:
本申请通讯设备包括的多个通信模块之间采用串口通信,所述多个通信模块中的第一通信模块获取通信数据;将所述通信数据按照以太网数据的封装格式进行封装,得到封装后的数据;通过所述第一通信模块的串口将所述封装后的数据发送至所述多个通信模块中的第二通信模块,所述第一通信模块与所述 第二通信模块处于同一网段;由此,第一通信模块与第二通信模块之间传输的数据是按照以太网数据的封装格式封装后的,避免了传统技术中,第一通信模块与第二通信模块之间传输的是串口数据,由于串口数据没有开始和结束符,串口传输时可能会将一个完整的串口数据包分多次发送,由此造成的传输速率慢的问题。本申请提升了第一通信模块与第二通信模块之间的通信速率。
附图说明
图1为一个实施例提供的通信模块间通信方法的应用环境图;
图2为一个实施例提供的通信模块间通信方法的流程示意图;
图3为一个实施例提供的通信模块间通信方法的流程示意图;
图4为一个实施例中步骤S300的细化步骤示意图;
图5为一个实施例提供的通信模块间通信方法的流程示意图;
图6为一个实施例中步骤S420的细化步骤示意图;
图7为一个实施例提供的通信模块间通信方法的流程示意图;
图8为一个实施例提供的通信模块间通信方法的流程示意图;
图9为一个实施例中步骤S500的细化步骤示意图;
图10为一个实施例中步骤S500的细化步骤示意图;
图11为一个实施例提供的通信模块间通信装置的结构框图。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
本申请提供的通信模块间通信方法,可以应用于如图1所示的应用环境中,如图1所示,通讯设备包括多个通信模块,多个通信模块之间采用串口通信,本申请提供的通信模块间通信方法具体是应用在第一通信模块中,该第一通信模块是通讯设备包括的多个通信模块中的任一个。通讯设备可以是直放站。
本申请实施例提供的通信模块间通信方法、装置、计算机设备和可读存储介质,旨在解决传统技术中,通讯设备中的多个通信模块之间采用串口通信的方式进行通信时,通信速率慢的技术问题。下面将通过实施例并结合附图具体地对本申请的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体地实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。
需要说明的是,本申请实施例提供的通信模块间通信方法,其执行主体可以是通信模块间通信装置,该通信模块间通信装置可以通过软件、硬件或者软硬件结合的方式实现成为第一通信模块的部分或者全部。下述方法实施例中,均以执行主体是第一通信模块为例来进行说明。
请参考图2,其示出了本申请实施例提供的一种通信模块间通信方法的流程图,如图2所示,本实施例通信模块间通信方法可以包括以下步骤:
步骤S100,获取通信数据。
第一通信模块获取的通信数据是应用层发送的串口数据。
传统技术中,第一通信模块获取到应用层发送的串口数据后,直接将该串口数据通过串口发送至第二通信模块。由于串口数据没有开始和结束符,串口传输时,可能会将该串口数据拆分,分多次发送至第二通信模块,由此造成第一通信模块与第二通信模块之间传输速率慢。
步骤S200,将通信数据按照以太网数据的封装格式进行封装,得到封装后的数据。
本实施例中,第一通信模块获取通信数据,并将该通信数据按照以太网数据的封装格式进行封装,具体是将通信数据按照以太网帧格式进行封装,对该通信数据添加对应的包头信息和包尾信息,得到封装后的数据。
以太网帧格式有多种,本实施例中,对通信数据添加的包头信息和包尾信息随选用的以太网帧格式的不同而不同。例如,以太网常用帧格式有Ethernet II及IEEE 802.3格式,其中,Ethernet II中包含一个Type字段,Type字段描述了以太网首部后面所跟数据包的类型,例如,Type为0x8000时为IP协议包,Type为8060时为ARP协议包;而IEEE 802.3格式中,此位置是长度字段。本实施例对第一通信模块采用的封装格式不做具体限制。
步骤S300,通过第一通信模块的串口将封装后的数据发送至多个通信模块中的第二通信模块。
其中,第一通信模块与第二通信模块处于同一网段,以确保第二通信模块能够识别第一通信模块发送的封装后的数据。
本实施例中,第一通信模块将通信数据按照以太网数据的封装格式进行封装,得到封装后的数据后,通过第一通信模块的串口将封装后的数据发送至通讯设备包括的多个通信模块中的第二通信模块,由此,第一通信模块和第二通信模块之间传输的封装后的数据是以太网数据,串口传输时,会根据封装后的数据的包头信息和包尾信息,发送完整数据包。
本实施例中,通讯设备包括的多个通信模块之间采用串口通信,通信模块间的连接结构比较简单,避免了多个通信模块之间采用以太网连接造成的通信线较多,网口体积比较大,影响设备小型化的问题。
本实施例通讯设备包括的多个通信模块之间采用串口通信,多个通信模块中的第一通信模块获取通信数据;将通信数据按照以太网数据的封装格式进行封装,得到封装后的数据;通过第一通信模块的串口将封装后的数据发送至多个通信模块中的第二通信模块,第一通信模块与第二通信模块处于同一网段;由此,本实施例第一通信模块与第二通信模块之间传输的数据是按照以太网数据的封装格式封装后的,避免了传统技术中,第一通信模块与第二通信模块之间传输的是串口数据,由于串口数据没有开始和结束符,串口传输时可能会将一个完整的串口数据包分多次发送,由此造成的传输速率慢的问题。本实施例提升了第一通信模块与第二通信模块之间的通信速率。
图3为另一个实施例提供的通信模块间通信方法的流程示意图。在上述图2所示实施例的基础上,本实施例第一通信模块中设置有虚拟网络设备,本实施例步骤S100包括:
步骤S110,通过虚拟网络设备接收应用层传递的通信数据。
本实施例中,通讯设备包括的多个通信模块分别创建有对应的虚拟网络设备,且各虚拟网络设备的IP地址均处于同一网段,以确保多个通信模块之间可以基于按照以太网数据的封装格式封装后的数据进行通信。
第一通信模块通过虚拟网络设备接收应用层传递的通信数据,具体地,第一通信模块监测虚拟网络设备虚拟网口的数据,从虚拟网口获取通信数据,该通信数据是应用层传递至虚拟网络设备的;第一通信模块获取通信数据后,将通信数据按照以太网数据的封装格式进行封装,得到封装后的数据;通过第一通信模块的串口将封装后的数据发送至多个通信模块中的第二通信模块。由此,提升了第一通信模块与第二通信模块之间的通信速率。
在另一个实施例中,基于上述图2所示的实施例,参见图4,图4为本实施 例中步骤S300的细化步骤示意图。本实施例通信模块间通信方法中,步骤S300包括步骤S310和步骤S320,具体地:
步骤S310,将封装后的数据存入发送缓存。
由于通信模块将封装后的数据写入串口的速率快,而串口传输封装后的数据的速率较慢,容易造成通信模块写入串口的封装后的数据,来不及被串口发送所导致的数据丢失的问题。
本实施例中,第一通信模块设置有发送缓存,第一通信模块获取通信数据,将通信数据按照以太网数据的封装格式进行封装,得到封装后的数据后,将封装后的数据存入发送缓存。
步骤S320,从发送缓存中读取封装后的数据,并通过第一通信模块的串口将封装后的数据发送至多个通信模块中的第二通信模块。
第一通信模块将封装后的数据存入发送缓存后,再从发送缓存中读取封装后的数据,并通过第一通信模块的串口将封装后的数据发送至多个通信模块中的第二通信模块,由此,避免了封装后的数据的丢失,提升了通信模块间的通信传输的准确性。
图5为另一个实施例提供的通信模块间通信方法的流程示意图。在上述图2所示实施例的基础上,本实施例通信模块间通信方法还包括:
步骤S410,从第一通信模块的串口读取目标数据。
目标数据是按照以太网数据的封装格式进行封装得到的。
在第一通信模块作为接收端时,通讯设备包括的多个通信模块中的其它通信模块作为发送端,发送端首先获取通信数据,该通信数据可以是应用层发送的串口数据,然后将通信数据按照以太网数据的封装格式进行封装,得到封装 后的数据,再通过当前发送端通信模块的串口将封装后的数据发送至第一通信模块的串口。
第一通信模块监测串口的数据,从第一通信模块的串口读取发送端发送的封装后的数据,即目标数据。
步骤S420,对目标数据进行解封装,得到解封装后的数据。
第一通信模块对目标数据的封装格式进行解封装,具体是对目标数据的包头信息和包尾信息进行解封装,得到解封装后的串口数据,供应用层获取该串口数据,并对该串口数据进行处理。
本实施例中,对于应用层来说,基于各通信模块的串口物理连接实现了应用层的网络通信。物理层使用串口数据通信,应用层使用以太网数据进行处理,通过通信模块间简单的串口连接,应用层可以灵活地使用TCP、UDP、FTP、TFTP等网络协议来实现不同的业务需求,且应用层不用处理底层具体的数据包发送问题,提高了应用层软件的开发效率。
在另一个实施例中,基于上述图5所示的实施例,参见图6,图6为本实施例中步骤S420的细化步骤示意图。本实施例通信模块间通信方法中,步骤S420包括步骤S421和步骤S422,具体地:
步骤S421,将目标数据存入接收缓存。
本实施例中,作为一种实施方式,第一通信模块设置有接收缓存,第一通信模块从第一通信模块的串口读取目标数据后,将目标数据存入接收缓存。
步骤S422,从接收缓存中读取目标数据,并将目标数据包括的包头信息和包尾信息解除,得到解封装后的数据。
第一通信模块从接收缓存中读取存入的目标数据,并将目标数据包括的包头信息和包尾信息解除,得到解封装后的串口数据,供应用层获取该串口数据, 并对该串口数据进行处理。由此,避免了在数据传输过程中,由于第一通信模块获取目标数据的速率与应用层获取解封装后的数据的速率不一致,导致的数据丢失的问题,确保了数据传输的准确性。
图7为另一个实施例提供的通信模块间通信方法的流程示意图。在上述图6所示实施例的基础上,本实施例第一通信模块中设置有虚拟网络设备,本实施例通信模块间通信方法还包括:
步骤S430,通过虚拟网络设备将解封装后的数据传递至应用层。
本实施例中,作为一种实施方式,第一通信模块作为接收端与通讯设备包括的多个通信模块中的其它通信模块进行通信时,其它通信模块作为发送端,发送端的应用层软件发送通信数据到发送端的虚拟网络设备,发送端从该虚拟网络设备读取通信数据,发送端将通信数据按照以太网数据的封装格式进行封装,得到封装后的数据,并将封装后的数据存入发送缓存中;发送端从发送缓存中读取封装后的数据,并通过发送端的串口将封装后的数据发送至第一通信模块。进一步地,第一通信模块,即接收端的串口接收到目标数据,即该封装后的数据后,第一通信模块将目标数据存入接收缓存,并从接收缓存中读取目标数据,并将目标数据包括的包头信息和包尾信息解除,得到解封装后的串口数据,发送该解封装后的串口数据到第一通信模块的虚拟网络设备,应用层从第一通信模块的虚拟网络设备的端口读取该解封装后的串口数据进行处理。可以理解的是,通讯设备包括的多个通信模块中,任一个通信模块既可以作为发送端,也可以作为接收端。
由此,通讯设备的各通信模块之间采用串口连接,通信模块将串口数据与以太网数据互相转换,物理层使用串口数据通信,应用层使用以太网数据进行处理,提高了应用层软件的开发效率,提升了通讯设备中各通信模块之间的通 信速率。
参见图8,图8为另一个实施例提供的通信模块间通信方法的流程示意图。在上述图3所示实施例的基础上,本实施例通信模块间通信方法还包括:
步骤S500,基于第一通信模块当前的通信模式,设置第一通信模块包括的虚拟网络设备的IP地址。
IP地址的网段和第二通信模块所对应的网段相同,通信模式包括主机模式或从机模式。
本实施例中,第一通信模块根据第一通信模块的拨码开关的状态,识别第一通信模块当前的通信模式为主机模式或从机模式;具体地,通讯设备包括的各通信模块均设置有拨码开关,拨码开关的不同状态表示当前通信模块不同的通信模式,例如,表示主机模式、从机1模式、从机2模式,等等。
进一步地,参见图9,图9为本实施例中步骤S500的细化步骤示意图,如图9所示,本实施例步骤S500包括步骤S510和步骤S520,具体地:
步骤S510,若第一通信模块当前的通信模式为主机模式,则创建虚拟网桥,并设置虚拟网桥的IP地址。
虚拟网桥用于虚拟网络设备与第一通信模块的对外连接网口连接。
步骤S520,将虚拟网桥的IP地址设置为虚拟网络设备的IP地址。
为了更清楚地说明本实施例的实施方式,请结合图1,假设本实施例通讯设备包括如图1所示的通信模块1、通信模块2以及通信模块3,通信模块1作为主机模式,其拨码开关设置为00;通信模块2作为从机1模式,拨码开关设置为01,通信模块3作为从机2模式,拨码开关设置为11,本实施例第一通信模块则为图1所示的通信模块1。
如图1所示,每个通信模块都包括两个串口:串口1和串口2。通信模块1的MCU与串口1和串口2连接,通信模块2的MCU与串口1连接,通信模块3的MCU与串口2连接,三个通信模块的串口1和串口2分别通过端子连接。由此,通信模块1可通过串口1与通信模块2通信、通过串口2与通信模块3通信,通信模块2的串口2用来直通通信模块1和通信模块3之间的串口数据。
各通信模块创建对应的虚拟网络设备,第一通信模块根据第一通信模块的拨码开关的状态,识别第一通信模块当前的通信模式为主机模式时,通过系统命令创建网桥,并设置网桥的IP地址,例如设置为192.168.10.100,并将虚拟网桥的IP地址设置为第一通信模块的虚拟网络设备的IP地址。
进一步地,作为一种实施方式,本实施例步骤S500还包括步骤S530:
步骤S530,将虚拟网桥的IP地址设置为对外连接网口的IP地址,以供外部调测模块通过对外连接网口的IP地址,对与虚拟网桥的IP地址处于同一网段的各通信模块进行调测。
第一通信模块将虚拟网桥的IP地址设置为对外连接网口的IP地址,即将第一通信模块虚拟网络设备的虚拟网口和对外连接网口加入到网桥中。
通信模块2为从机1模式,通信模块2设置其虚拟网络设备的IP地址与网桥的IP地址同一网段,比如设置为192.168.10.101。通信模块3为从机2模式,通信模块3设置其虚拟网络设备的IP地址与网桥的IP地址同一网段,且与通信模块2的虚拟网络设备的IP地址不同,比如设置为192.168.10.102。由此,通信模块1、通信模块2以及通信模块3之间建立网络连接。
在另一个实施例中,参见图10,图10为另一个实施例中步骤S500的细化步骤示意图,如图10所示,本实施例步骤S500包括步骤S540和步骤S550,具体地:
步骤S540,若第一通信模块当前的通信模式为从机模式,则获取当前通信模式为主机模式的通信模块所对应的IP网段。
步骤S550,设置虚拟网络设备的IP地址,并将虚拟网络设备的IP地址的网段与获取到的IP网段保持一致。
请继续参见图1,若第一通信模块当前的通信模式为从机模式,即第一通信模块为图1所示的通信模块2或通信模块3,则获取当前通信模式为主机模式的通信模块所对应的IP网段,即获取通信模块1所对应的IP网段。
通信模块1完成网桥的IP地址的设置后,通信模块1的虚拟网络设备的虚拟网口和对外连接网口均归入该网桥中,即均和该网桥的IP地址相同。第一通信模块获取通信模块1的网桥IP地址,确定网段,并设置第一通信模块的虚拟网络设备的IP地址,将第一通信模块的虚拟网络设备的IP地址的网段与通信模块1的IP网段保持一致,以建立连接。
本实施例中,通讯设备的每一个通信模块均包含两个串口,每个通信模块的两个串口使用端子连接,如图1所示,每个通信模块的串口1与其它通信模块的串口1相连,每个通信模块的串口2与其它通信模块的串口2相连。通信模块之间的通信协议为主从机通信。各通信模块设置有拨码开关,各通信模块根据对应的拨码开关的状态确定通信模块当前的工作模式。工作模式包括主机模式、从机1模式、从机2模式,通信模块处于不同工作模式时,物理连接上选择与串口1和串口2是否连接,主机模式与串口1和串口2连接,从机1模式与串口1连接,从机2模式与串口2连接。由此,主机模式的通信模块的两个串口可实现分别与两个从机模式的通信模块的串口相连。
以通讯设备为直放站为例,当仅需要单频设备时,选用一个通信模块,设置拨码开关的状态为主机模式即可。当需要双频设备时,选用两个通信模块, 分别设置拨码开关的状态为主机模式和从机1模式。需要三频设备时,选用三个通信模块,分别设置拨码开关的状态为主机模式、从机1模式,从机2模式,等等。
本实施例中,对于应用层来说,虚拟网络设备的网口可看做一个普通的网口对其进行操作,例如,主机模式的通信模块1需要定时轮询从机模式的通信模块2或通信模块3的数据,由于通信模块1、通信模块2及通信模块3均处于同一网段,各通信模块设置其固定的端口作为UDP端口,通信模块1则可以与通信模块2或通信模块3之间分别建立UDP连接。通信模块1与通信模块2、通信模块1与通信模块3则可以通过UDP连接进行查询、设置等操作。进一步地,如果通信模块2或通信模块3需要从通信模块1下载文件,通信模块1搭建好FTP服务器,通信模块2或通信模块3作为FTP客户端通过虚拟网络设备建立与通信模块1的FTP连接,这样便可从通信模块1下载或者上传指定的文件。避免了传统技术中,主机和从机之间仅使用串口数据进行通信,文件传输必须通过主从通信协议,导致的传输效率慢的问题。
本实施例中,调测工具可以通过通信模块1的对外连接网口直接连接到通信模块2和通信模块3进行调测,在通讯设备生产时,传统技术中,需要通过主从通信协议进行各通信模块工作模式的转换,调测工具只能对主机进行调测,导致调测效率低,因此本申请提高了调测效率,提高了通讯设备的生产效率。
应该理解的是,虽然图2-10的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2-10中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻 执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。
在一个实施例中,如图11所示,提供了一种通信模块间通信装置,设置于通讯设备包括的多个通信模块中的第一通信模块,所述多个通信模块之间采用串口通信,所述第一通信模块是所述多个通信模块中的任一个,所述装置包括:
获取模块10,用于获取通信数据;
封装模块20,用于将所述通信数据按照以太网数据的封装格式进行封装,得到封装后的数据;
发送模块30,用于通过所述第一通信模块的串口将所述封装后的数据发送至所述多个通信模块中的第二通信模块,所述第一通信模块与所述第二通信模块处于同一网段。
可选地,所述第一通信模块中设置有虚拟网络设备,所述获取模块10包括:
第一获取单元,用于通过所述虚拟网络设备接收应用层传递的所述通信数据。
可选地,所述封装模块20包括:
封装单元,用于对所述通信数据添加对应的包头信息和包尾信息,得到封装后的数据。
可选地,所述发送模块30包括:
第一存入单元,用于将所述封装后的数据存入发送缓存;
发送单元,用于从所述发送缓存中读取所述封装后的数据,并通过所述第一通信模块的串口将所述封装后的数据发送至所述多个通信模块中的第二通信模块。
可选地,所述装置还包括:
读取模块,用于从所述第一通信模块的串口读取目标数据;所述目标数据是按照以太网数据的封装格式进行封装得到的;
解封装模块,用于对所述目标数据进行解封装,得到解封装后的数据。
可选地,所述解封装模块包括:
第二存入单元,用于将所述目标数据存入接收缓存;
解封装单元,用于从所述接收缓存中读取所述目标数据,并将所述目标数据包括的包头信息和包尾信息解除,得到解封装后的数据。
可选地,所述第一通信模块中设置有虚拟网络设备,所述装置还包括:
传递模块,用于通过所述虚拟网络设备将所述解封装后的数据传递至应用层。
可选地,所述装置还包括:
设置模块,用于基于所述第一通信模块当前的通信模式,设置所述第一通信模块包括的虚拟网络设备的IP地址,所述IP地址的网段和所述第二通信模块所对应的网段相同,所述通信模式包括主机模式或从机模式。
可选地,所述设置模块包括:
创建单元,用于若所述第一通信模块当前的通信模式为主机模式,则创建虚拟网桥,并设置所述虚拟网桥的IP地址;所述虚拟网桥用于所述虚拟网络设备与所述第一通信模块的对外连接网口连接;
第一设置单元,用于将所述虚拟网桥的IP地址设置为所述虚拟网络设备的IP地址。
可选地,所述装置还包括:
第二设置单元,用于将所述虚拟网桥的IP地址设置为所述对外连接网口的 IP地址,以供外部调测模块通过所述对外连接网口的IP地址,对与所述虚拟网桥的IP地址处于同一网段的各通信模块进行调测。
可选地,所述设置模块包括:
第二获取单元,用于若所述第一通信模块当前的通信模式为从机模式,则获取当前通信模式为主机模式的通信模块所对应的IP网段;
第三设置单元,用于设置所述虚拟网络设备的IP地址,并将所述虚拟网络设备的IP地址的网段与获取到的所述IP网段保持一致。
可选地,所述装置还包括:
识别模块,用于根据所述第一通信模块的拨码开关的状态,识别所述第一通信模块当前的通信模式为主机模式或从机模式。
本实施例提供的通信模块间通信装置,可以执行上述通信模块间通信方法实施例,其实现原理和技术效果类似,在此不再赘述。
关于通信模块间通信装置的具体限定可以参见上文中对于通信模块间通信方法的限定,在此不再赘述。上述通信模块间通信装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。
在一个实施例中,提供了一种计算机设备,包括多个通信模块,各通信模块包括存储器和处理器,存储器存储有计算机程序,该处理器执行计算机程序时实现以下步骤:
获取通信数据;将所述通信数据按照以太网数据的封装格式进行封装,得到封装后的数据;通过所述第一通信模块的串口将所述封装后的数据发送至所 述多个通信模块中的第二通信模块,所述第一通信模块与所述第二通信模块处于同一网段。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Ramb微秒)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:
获取通信数据;将所述通信数据按照以太网数据的封装格式进行封装,得到封装后的数据;通过所述第一通信模块的串口将所述封装后的数据发送至所述多个通信模块中的第二通信模块,所述第一通信模块与所述第二通信模块处于同一网段。
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技 术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。

Claims (15)

  1. 一种通信模块间通信方法,其特征在于,应用于通讯设备包括的多个通信模块中的第一通信模块,所述多个通信模块之间采用串口通信,所述第一通信模块是所述多个通信模块中的任一个,所述方法包括:
    获取通信数据;
    将所述通信数据按照以太网数据的封装格式进行封装,得到封装后的数据;
    通过所述第一通信模块的串口将所述封装后的数据发送至所述多个通信模块中的第二通信模块,所述第一通信模块与所述第二通信模块处于同一网段。
  2. 根据权利要求1所述的方法,其特征在于,所述第一通信模块中设置有虚拟网络设备,所述获取通信数据,包括:
    通过所述虚拟网络设备接收应用层传递的所述通信数据。
  3. 根据权利要求1所述的方法,其特征在于,所述将所述通信数据按照以太网数据的封装格式进行封装,得到封装后的数据,包括:
    对所述通信数据添加对应的包头信息和包尾信息,得到封装后的数据。
  4. 根据权利要求1所述的方法,其特征在于,所述通过所述第一通信模块的串口将所述封装后的数据发送至所述多个通信模块中的第二通信模块,包括:
    将所述封装后的数据存入发送缓存;
    从所述发送缓存中读取所述封装后的数据,并通过所述第一通信模块的串口将所述封装后的数据发送至所述多个通信模块中的第二通信模块。
  5. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    从所述第一通信模块的串口读取目标数据;所述目标数据是按照以太网数据的封装格式进行封装得到的;
    对所述目标数据进行解封装,得到解封装后的数据。
  6. 根据权利要求5所述的方法,其特征在于,所述对所述目标数据进行解封装,得到解封装后的数据,包括:
    将所述目标数据存入接收缓存;
    从所述接收缓存中读取所述目标数据,并将所述目标数据包括的包头信息和包尾信息解除,得到解封装后的数据。
  7. 根据权利要求6所述的方法,其特征在于,所述第一通信模块中设置有虚拟网络设备,所述方法还包括:
    通过所述虚拟网络设备将所述解封装后的数据传递至应用层。
  8. 根据权利要求2或7所述的方法,其特征在于,所述方法还包括:
    基于所述第一通信模块当前的通信模式,设置所述第一通信模块包括的虚拟网络设备的IP地址,所述IP地址的网段和所述第二通信模块所对应的网段相同,所述通信模式包括主机模式或从机模式。
  9. 根据权利要求8所述的方法,其特征在于,所述基于所述第一通信模块当前的通信模式,设置所述第一通信模块包括的虚拟网络设备的IP地址,包括:
    若所述第一通信模块当前的通信模式为主机模式,则创建虚拟网桥,并设置所述虚拟网桥的IP地址;所述虚拟网桥用于所述虚拟网络设备与所述第一通信模块的对外连接网口连接;
    将所述虚拟网桥的IP地址设置为所述虚拟网络设备的IP地址。
  10. 根据权利要求9所述的方法,其特征在于,所述方法还包括:
    将所述虚拟网桥的IP地址设置为所述对外连接网口的IP地址,以供外部调测模块通过所述对外连接网口的IP地址,对与所述虚拟网桥的IP地址处于同一网段的各通信模块进行调测。
  11. 根据权利要求8所述的方法,其特征在于,所述基于所述第一通信模块当前的通信模式,设置所述第一通信模块包括的虚拟网络设备的IP地址,包括:
    若所述第一通信模块当前的通信模式为从机模式,则获取当前通信模式为主机模式的通信模块所对应的IP网段;
    设置所述虚拟网络设备的IP地址,并将所述虚拟网络设备的IP地址的网段与获取到的所述IP网段保持一致。
  12. 根据权利要求8所述的方法,其特征在于,所述方法还包括:
    根据所述第一通信模块的拨码开关的状态,识别所述第一通信模块当前的通信模式为主机模式或从机模式。
  13. 一种通信模块间通信装置,其特征在于,设置于通讯设备包括的多个 通信模块中的第一通信模块,所述多个通信模块之间采用串口通信,所述第一通信模块是所述多个通信模块中的任一个,所述装置包括:
    获取模块,用于获取通信数据;
    封装模块,用于将所述通信数据按照以太网数据的封装格式进行封装,得到封装后的数据;
    发送模块,用于通过所述第一通信模块的串口将所述封装后的数据发送至所述多个通信模块中的第二通信模块,所述第一通信模块与所述第二通信模块处于同一网段。
  14. 一种计算机设备,包括多个通信模块,各所述通信模块包括存储器和处理器,所述存储器存储有计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1至12中任一项所述方法的步骤。
  15. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至12中任一项所述的方法的步骤。
PCT/CN2020/136921 2019-12-17 2020-12-16 通信模块间通信方法、装置、计算机设备和可读存储介质 WO2021121287A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911300852.1A CN111221622B (zh) 2019-12-17 2019-12-17 通信模块间通信方法、装置、计算机设备和可读存储介质
CN201911300852.1 2019-12-17

Publications (1)

Publication Number Publication Date
WO2021121287A1 true WO2021121287A1 (zh) 2021-06-24

Family

ID=70806053

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/136921 WO2021121287A1 (zh) 2019-12-17 2020-12-16 通信模块间通信方法、装置、计算机设备和可读存储介质

Country Status (2)

Country Link
CN (1) CN111221622B (zh)
WO (1) WO2021121287A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116321518A (zh) * 2022-09-08 2023-06-23 深圳市丰润达科技有限公司 网络连接状态的提示方法、装置、控制模块及存储介质

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111221622B (zh) * 2019-12-17 2023-10-24 京信网络系统股份有限公司 通信模块间通信方法、装置、计算机设备和可读存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104408906A (zh) * 2014-12-17 2015-03-11 国家电网公司 一种td-lte无线通信集中器以及电表数据采集方法
CN106936944A (zh) * 2017-03-31 2017-07-07 苏州科达科技股份有限公司 一种检测及处理网络地址冲突的方法及装置
CN107426263A (zh) * 2016-05-24 2017-12-01 中兴通讯股份有限公司 数据包的发送、接收方法及装置、电子设备
CN109412651A (zh) * 2018-11-08 2019-03-01 普联技术有限公司 蓝牙覆盖范围扩展系统及方法
CN111221622A (zh) * 2019-12-17 2020-06-02 京信通信系统(中国)有限公司 通信模块间通信方法、装置、计算机设备和可读存储介质

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8269622B2 (en) * 2009-03-17 2012-09-18 Jetlun Corporation Method and system for intelligent energy network management control system
CN101616088B (zh) * 2009-06-29 2011-12-07 中兴通讯股份有限公司 一种虚拟网口的实现方法及实现虚拟网口的嵌入式设备
CN103152771B (zh) * 2013-02-23 2015-08-12 广州市弘宇科技有限公司 中高速无线传感网络的通信系统
CN103259735B (zh) * 2013-05-15 2016-05-11 重庆邮电大学 一种基于NetFPGA的可编程虚拟化路由器的通信方法
CN204334633U (zh) * 2014-12-24 2015-05-13 刘俊彪 一种多串口医疗网关及系统
CN106130897B (zh) * 2016-06-08 2019-05-31 成都万纬信息技术有限公司 基于路由模拟的性能优化方法
CN108563518A (zh) * 2018-04-08 2018-09-21 广州视源电子科技股份有限公司 主从机通信方法、装置、终端设备及存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104408906A (zh) * 2014-12-17 2015-03-11 国家电网公司 一种td-lte无线通信集中器以及电表数据采集方法
CN107426263A (zh) * 2016-05-24 2017-12-01 中兴通讯股份有限公司 数据包的发送、接收方法及装置、电子设备
CN106936944A (zh) * 2017-03-31 2017-07-07 苏州科达科技股份有限公司 一种检测及处理网络地址冲突的方法及装置
CN109412651A (zh) * 2018-11-08 2019-03-01 普联技术有限公司 蓝牙覆盖范围扩展系统及方法
CN111221622A (zh) * 2019-12-17 2020-06-02 京信通信系统(中国)有限公司 通信模块间通信方法、装置、计算机设备和可读存储介质

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116321518A (zh) * 2022-09-08 2023-06-23 深圳市丰润达科技有限公司 网络连接状态的提示方法、装置、控制模块及存储介质

Also Published As

Publication number Publication date
CN111221622A (zh) 2020-06-02
CN111221622B (zh) 2023-10-24

Similar Documents

Publication Publication Date Title
WO2021121287A1 (zh) 通信模块间通信方法、装置、计算机设备和可读存储介质
CN103166874B (zh) 一种报文转发方法及设备
JP2018535574A (ja) 端末の相互接続方法、装置及び記憶媒体
CN111464419B (zh) 一种基于总线网络通信的数据传输控制方法
CN102123002B (zh) 一种基于IPsec的频率同步方法和相关设备
CN113228567B (zh) 一种信息处理的方法、装置和信息处理系统
US9503309B2 (en) Ethernet communication system and method based on MMC/SD interface
JP6402583B2 (ja) 中継装置、中継システム、中継方法、及び、プログラム
EP3435691B1 (en) Communication control device, wireless machine, communication control system, communication control method and program
CN105472023A (zh) 一种远程直接存储器存取的方法及装置
CN110912810A (zh) 数据传输的方法、智能网关、计算机设备和存储介质
CN105338657A (zh) eUICC卡与管理平台的连接方法和eUICC卡
JP5698366B2 (ja) 制御方法、装置、及びシステム
CN103297311A (zh) 无线接入点控制和提供协议数据隧道的实现方法及装置
CN112866439A (zh) 数据处理方法、装置及系统
CN110875896A (zh) 报文处理方法、装置及电子设备
KR20010084769A (ko) 이더넷용 티씨피/아이피 모뎀
CN111917621B (zh) 通信设备的网管服务器与网元的通信方法及系统
CN102932208A (zh) 站点监控方法及装置
US20220109659A1 (en) Computer network with an ip subnetwork and a non-ip subnetwork and backend device, gateway, frontend device therefore and procedure for operation thereof
CN115550104A (zh) Axi总线扩展方法、装置、电子设备及存储介质
KR101454879B1 (ko) 복수의 통신 인터페이스를 구비한 통신 장치 및 복수의 통신 인터페이스에서의 데이터 처리 방법
CN108848090B (zh) 基于ipsec的报文转发方法、网关设备及系统
CN111867153A (zh) 一种终端、网关设备和数据处理方法
KR101947169B1 (ko) IP 터널링을 이용한IoT 디바이스제어 방법 및장치

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: 20902912

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20902912

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 020223)

122 Ep: pct application non-entry in european phase

Ref document number: 20902912

Country of ref document: EP

Kind code of ref document: A1