Internal communication method for IDU equipment and ODU equipment

By establishing an internal communication channel based on VLAN, SSL, and DHCP between the IDU and ODU devices, the problem of poor interactivity in device collaboration is solved, information interaction and status acquisition are achieved, and the overall performance and user experience of wireless communication products are improved.

CN120729670APending Publication Date: 2025-09-30DEMING COMM SHANGHAI CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510948986.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-10
Publication Date
2025-09-30

AI Technical Summary

Technical Problem

Existing IDU and ODU devices lack a unified internal communication mechanism when working together, resulting in poor interactivity and delayed management, affecting the overall performance and user experience of wireless communication products.

Method used

Software-defined virtual local area network (VLAN), secure socket layer (SSL) encryption, and dynamic host configuration protocol (DHCP) technologies are used to create an internal communication channel between the IDU and ODU devices. Information exchange and status acquisition are achieved by connecting and establishing an encrypted channel through the virtual LAN interface.

Benefits of technology

It improves the interactivity between IDU and ODU devices and the efficiency of network signal management, is suitable for collaborative work between devices of different models, and enhances the overall performance and user experience of wireless communication products.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120729670A_ABST
    Figure CN120729670A_ABST
Patent Text Reader

Abstract

The invention provides an internal communication method for IDU equipment and ODU equipment, which comprises the following steps of: creating a special virtual local area network interface for internal communication with the IDU on the ODU, and configuring network parameters of the VLAN interface; creating a VLAN (Virtual Local Area Network) interface with the same virtual local area network identifier as the ODU on the IDU, and communicating the VLAN interface of the IDU equipment with the VLAN interface of the ODU equipment; and creating an encryption channel based on SSL data transmission, and establishing internal communication between the IDU and the ODU. According to the invention, the IDU can obtain the working state, networking information, signal strength and other information of the ODU, so that the interactivity between the IDU and the ODU is improved; even if the ODU data interface is in a network disconnection state, special internal communication between the IDU and the ODU can still be kept through the VLAN interface, and the overall performance of a wireless communication product is improved; and the DHCP is adopted, so that the influence on the change of the IP address of the public network after the IDU and the ODU are networked in a cellular manner is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of wireless communications, and in particular to an internal communication method between an IDU device and an ODU device. Background Art

[0002] In existing wireless communication technologies, IDU devices (indoor Wi-Fi routers) and ODU devices (outdoor cellular network 5G / 4G / 3G products) are typically designed and developed by different teams or companies, lacking unified internal communication between the two devices. Consequently, when used together, these wireless communication IDU and ODU devices can only provide basic internet access and lack effective means for overall network signal management, resulting in the following shortcomings: 1. The cellular network status and signal parameters of the ODU device cannot be viewed from the IDU device; 2. It is also impossible to configure special frequency bands for ODU devices or search for cells with better signals to achieve networking from the IDU device.

[0003] Due to the above-mentioned situation, when IDU devices and ODU devices (especially different models of IDU devices and different models of ODU devices) work together, there are problems such as poor interactivity and management lag, which greatly limits the overall performance of wireless communication products and affects the user experience. Summary of the Invention

[0004] In view of this, the purpose of the present invention is to address the technical bottlenecks existing in the collaborative work of IDU devices and ODU devices in the prior art, and to define a set of internal communication methods specifically for IDU devices and ODU devices based on the collocation usage of IDU devices and ODU devices. Based on software-defined virtual local area network (VLAN), secure socket layer (SSL) encryption and dynamic host configuration protocol (DHCP) technology, a unified internal communication channel is created, an internal communication workflow of IDU devices and ODU devices is constructed, a unified internal communication mechanism between IDU devices and ODU devices is implemented, the overall management efficiency of network signals is improved, and the IDU device can efficiently and stably obtain key parameters such as working status, network information, and signal strength from the ODU device, breaking the compatibility barriers caused by differences in development teams or companies, and realizing direct adaptation and collaborative interaction between different models of IDU devices and different models of ODU devices, thereby improving the overall performance of wireless communication products and enhancing user experience. The present invention provides an internal communication method between an IDU device and an ODU device, comprising the following steps: Create a virtual local area network interface (VLAN interface) on the ODU device for internal communication with the IDU device, and configure network parameters of the virtual local area network interface based on the dynamic host configuration protocol; Creating a virtual LAN interface on the IDU device that has the same virtual LAN identifier as that of the ODU device, and connecting the virtual LAN interface of the IDU device and the virtual LAN interface of the ODU device to each other; Create an encrypted channel based on SSL data transmission to establish internal communication between IDU and ODU devices.

[0005] Furthermore, the method of creating a virtual local area network interface on the ODU device for internal communication with the IDU device includes: Create a data transmission encryption verification interface on the virtual LAN interface of the ODU device, configure the data transmission encryption verification interface as the client, configure the virtual LAN interface of the IDU device as the server, and configure the main port, server-side listening communication port, and exception handling dedicated port from the data transmission encryption verification interface.

[0006] Furthermore, the method of creating an encrypted channel based on SSL data transmission and establishing internal communication between the IDU device and the ODU device includes: Creating an SSL encryption channel for a network transmission secure socket communication connection between the IDU device and the ODU device on the data transmission encryption verification interface; Creating a secure socket layer protocol context for the data transmission encryption verification interface; Loading the identity authentication certificate, and performing bidirectional identity authentication on the IDU device and the ODU device through the identity authentication certificate; Binding the network transmission secure socket communication connection to an encrypted session established through the SSL protocol; Based on the SSL encryption channel, a preset port dedicated for internal communication between the IDU device and the ODU device is configured, and the IDU device is connected to the ODU device.

[0007] Furthermore, the method for configuring the network parameters of the virtual local area network interface includes: Based on the Dynamic Host Configuration Protocol (DHCP), the IDU device applies for a cellular mobile network address from the ODU device; After the IDU device obtains the cellular mobile network address, it sends AT commands (AT commands are instructions used for connection and communication between two devices) to the ODU device for querying and configuring the mobile device's LTE network (cellular mobile network) signal parameters.

[0008] Specifically, the Ethernet interface of the IDU device initiates a DHCP Client request to the ODU device to apply for a cellular mobile network address. After obtaining the network address, the IDU device configures the Ethernet interface and provides network routing and forwarding functions. The IDU device sends an AT command to the ODU device to query the mobile device's LTE network signal quality. After receiving the command, the ODU device returns cellular signal strength-related parameters. Based on the cellular signal strength-related parameters, the communication quality of the IDU device is evaluated. The IDU device sends an AT command for configuring the mobile private network parameters to the ODU device. After receiving the command, the ODU device configures both the IPV4 and IPV6 addresses and completes the mobile private network configuration according to the mobile private network parameters set by the IDU device. The IDU device sends an AT command to the ODU device for configuring or querying emergency information notifications. The ODU device returns cellular network search cell information, allowing the IDU device to achieve a better network connection selection. The IDU device sends an AT command to the ODU device for configuring the LTE frequency band combination supported by the mobile device. The ODU device completes the configuration of the cellular network frequency band according to the AT*BAND command to meet the frequency band requirements of different communication scenarios.

[0009] Furthermore, the internal communication method between the IDU device and the ODU device further includes: if the internal communication between the IDU device and the ODU device fails to be established, triggering an exception handling mechanism, the exception handling mechanism including: When the ODU device fails to connect to the primary port of the IDU device, the IDU device attempts to connect to the exception handling dedicated port of the ODU device; When the ODU device is successfully connected to the primary port of the IDU device, the IDU device sends a reset and restart command to the ODU device to reset the connection of the server-side monitoring communication port of the ODU device.

[0010] Furthermore, if the IDU device fails in its attempt to connect to the dedicated port for exception handling, the ODU device is shut down and restarted, so that the IDU device can successfully connect to the dedicated port for exception handling.

[0011] Specifically, the IDU device controls the POE power supply through the universal input and output interface, first lowering the POE power supply to turn off the power of the ODU device; then raising the POE power supply to power on the ODU device again, thereby restarting the ODU device. The IDU device and the ODU device are reconnected by connecting the special port for exception handling, thereby solving the abnormal state of communication loss or freeze of the ODU device.

[0012] Furthermore, the method of shutting down the ODU device and restarting it includes: Input zero voltage power to the ODU device to perform a shutdown operation; After shutting down the ODU device, a startup voltage is input to the ODU device to perform a restart operation.

[0013] Specifically, when the ODU device is shut down, the GPIO pin PIN of the POE Ethernet interface, which serves as the power source of the ODU device, is configured to the OUTPUT output mode, and a low-level signal is written to the data register corresponding to the GPIO pin PIN so that the output voltage of the GPIO pin PIN is 0V, and the 0V voltage is transmitted to the ODU device, causing the ODU device to lose power and shut down; When the ODU device is restarted, a high-level signal is written to the data register corresponding to the GPIO pin PIN, so that the GPIO pin PIN outputs a high level (5v), transmits a high voltage (5v) to the ODU device, and enables the ODU device to obtain power and start up.

[0014] Furthermore, the method for creating an encrypted channel based on SSL data transmission includes: The IDU device sends encrypted AT command data to the ODU device; After receiving the encrypted AT command data, the ODU device decrypts the data and parses the AT command; The ODU device encrypts the parsing result of the AT command using SSL, and returns the SSL-encrypted parsing result to the IDU device.

[0015] Specifically, the IDU device sends the AT command encrypted by SSL to the ODU device, encrypts the AT command data based on the AES 256-bit encryption algorithm by calling the API interface of the openSSL library function, and calls the openSSL standard library function SSL_write to send the encrypted AT command data to the ODU device; After the ODU device receives the encrypted AT command data, it calls the openssl library function, decrypts the data based on the AES256 algorithm and parses the command, encrypts the parsed result with SSL and returns it to the IDU device.

[0016] The present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the steps of the internal communication method between the IDU device and the ODU device as described above are implemented.

[0017] The present invention also provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps of the internal communication method between the IDU device and the ODU device as described above are implemented.

[0018] Compared with the prior art, the present invention has the following beneficial effects: The internal communication method between the IDU device and the ODU device provided by the present invention connects the IDU device to the ODU device through a virtual local area network interface (VLAN interface) and establishes internal secure encrypted communication. The IDU device can obtain the working status, networking information, signal strength and other information of the ODU device, thereby improving the interactivity between the IDU device and the ODU device; even when the data interface of the ODU device is disconnected from the network, the dedicated internal communication between the IDU device and the ODU device can still be maintained through the virtual local area network interface, thereby improving the overall performance of the wireless communication product; the Dynamic Host Configuration Protocol (DHCP) is adopted to avoid the impact of the change of the public network IP address after the cellular networking of the IDU device and the ODU device; this solution is applicable to the combination between indoor IDU WiFi wireless products of different models, different chips and different platforms and outdoor ODU cellular wireless communication products; the IDU device can configure the ODU device networking cell, frequency band, network search and mobile private network connection, with wide applicability and improved user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Various other advantages and benefits will become apparent to those skilled in the art by reading the following detailed description of the preferred embodiment.The accompanying drawings are only for the purpose of illustrating the preferred embodiment and are not to be considered as limiting the present invention.

[0020] In the attached figure: Figure 1 A diagram showing the steps of an internal communication method between an IDU device and an ODU device according to an embodiment of the present invention; Figure 2 A diagram showing steps of a method for establishing a communication connection between an IDU device and an ODU device according to an embodiment of the present invention; Figure 3 Schematic diagram of the structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0021] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, like numbers in different figures represent like or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all possible embodiments consistent with the present disclosure. Rather, they are merely examples of devices and products consistent with certain aspects of the present disclosure, as detailed in the appended claims.

[0022] The terms used in this disclosure are for the purpose of describing specific embodiments only and are not intended to limit the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.

[0023] It should be understood that although the terms first, second, third, etc. may be used in this disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. For example, without departing from the scope of this disclosure, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining."

[0024] The embodiments of the present invention are further described in detail below with reference to the accompanying drawings.

[0025] The embodiment of the present invention provides an internal communication method between an IDU device and an ODU device, see Figure 1 As shown, the following steps are included: S1. Start the IDU device and provide overall power to the ODU device through the POE Ethernet cable of the IDU device. Start the ODU device and start running. As an outdoor cellular wireless product, ODU devices are usually installed on rooftops, utility poles, or balconies, where AC power supply is a major challenge.

[0026] POE technology, a mature and established technology, enables simultaneous data transmission over Ethernet cables while providing DC power, eliminating the need to modify existing Ethernet cabling infrastructure. It is suitable for a variety of IP terminal devices, including IP phones and wireless LAN access points. This invention utilizes Power over Ethernet (POE), with the IDU providing POE power to the ODU.

[0027] After the IDU device is turned on and powered on through the Ethernet port, the ODU device obtains power through POE power supply and automatically starts running, laying the foundation for subsequent communication processes.

[0028] S2. Based on the Ethernet interface of the ODU device, create a VLAN interface of the ODU device dedicated to internal communication with the IDU device, and configure the network parameters of the VLAN interface; To configure the network parameters of a VLAN interface: Create an SSL TCP Socket interface on the VLAN interface of the ODU device, use the SSL TCP Socket interface as the client, use the VLAN interface of the IDU device as the server, and configure the primary port, the server listening communication port, and the exception handling dedicated port on the SSL TCP Socket interface.

[0029] The IDU device initiates a DHCP client request (also known as a DHCPDISCOVER message) to the outdoor ODU device over its Ethernet interface. [This is a key step in the DHCP (Dynamic Host Configuration Protocol) communication process. When a device first connects to a network or needs to update its IP address, it sends this request as a DHCP client to obtain a network address assigned by the server.] to apply for a cellular network address. After obtaining the network address, the IDU device configures the Ethernet interface (eth1) and provides network routing and forwarding functions, ensuring efficient transmission of network data.

[0030] The IDU device sends an AT command (AT+CESQ) to query the mobile device's LTE network signal quality. [AT+CESQ is an AT command used to query the LTE network signal quality of a mobile device (such as a modem, phone, or IoT device). This command is very common in the mobile communications field, especially in IoT applications and data transmission scenarios. 】 to the ODU device. After receiving the command, the ODU device returns cellular signal strength-related parameters, including RSRP, RSSI, RSRQ, SINR, and BER. These parameters provide a basis for indoor IDU devices to evaluate communication quality. (These are important indicators for evaluating signal quality and network performance in the wireless communication field. Understanding their meanings is very helpful for optimizing network deployment, troubleshooting, and device debugging. RSRP (Signal Received Power) refers to the average power of the reference signal from the network received by the UE (User Equipment) within a specific measurement bandwidth. RSSI (Received Signal Strength Indicator) refers to the total signal strength received by the UE, including the desired signal, interference signal, and noise. RSRQ (Signal Received Quality) refers to the ratio of RSRP to RSSI. SINR (Signal to Interference and Noise Ratio) refers to the ratio of the desired signal power to the sum of the interference signal power and noise power. BER (Bit Error Rate) refers to the ratio of the number of error bits to the total number of bits during transmission.) The IDU device sends a command (AT+CGDCONT=1, IPV4V6, APN) to configure the mobile private network APN parameters to the ODU device. After receiving the command, the ODU device is configured to obtain both IPv4 and IPv6 addresses and complete the mobile private network configuration according to the APN parameters set by the IDU device. (This AT command is used to configure the PDP (Packet Data Protocol) context of mobile devices (such as modems and IoT terminals) to support network connections using both IPv4 and IPv6 protocol stacks. This is a key configuration for achieving dual-stack connectivity in modern communication networks. The APN is a key parameter used to distinguish between a general user network and a private network.) The IDU device sends the AT command (AT+EEMGINFORNC) for configuring or querying emergency information notifications to the ODU device. The ODU device returns cellular search cell information, helping the IDU device achieve a better network connection selection. [AT+EEMGINFORNC is an AT command used to configure or query the Emergency Information Notification function.] The IDU device sends an AT command (e.g., AT*BAND=11,78,145,384,134217749) to the ODU device, which configures the LTE band combinations supported by the mobile device. The ODU device then configures the cellular network bands based on the AT*BAND command to meet the frequency band requirements of different communication scenarios. (This command configures the LTE band combinations supported by a mobile device (such as a modem or IoT terminal). Each number in the AT*BAND=11,78,145,384,134217749 command parameter represents a specific LTE band on which the device will be able to search and connect. This command tells the device: Search for networks on BAND 11, BAND 78, BAND 3, and BAND 28. If none of the above bands are available, enable automatic band selection and select the band using the 134217749 parameter.

[0031] In this embodiment, the server-side monitoring communication port of the ODU device is port 5566, which is used to monitor the specific port of the IDU device; the special port for exception handling is port 5555, which provides a solution for abnormal situations in the communication process between the ODU device and the IDU device.

[0032] SSL (Secure Socket Layer) is a network security protocol. SSL uses public key technology to provide three basic security services: data encryption, identity verification, and data integrity verification. The purpose of SSL is to ensure the security of communications between the client and the server, preventing data from being eavesdropped or tampered with during transmission. ‌TCP (Transmission Control Protocol)‌ is a transmission control protocol and belongs to the transport layer protocol. TCP establishes a connection through a three-way handshake to ensure reliable data transmission. TCP is a connection-oriented protocol that can ensure the secure delivery of data.‌

[0033] ‌Socket is a method for network communication, a calling interface (API), rather than a specific protocol. Socket simplifies network programming and can send and receive messages through the Socket interface. Socket is an encapsulation of the TCP / IP protocol. You can directly use the Socket interface for network communication without having to deeply understand the underlying TCP / IP details.‌ SSL runs on top of TCP, providing encryption and security services for TCP-based communications. SSL ensures the confidentiality, integrity, and authentication of data during transmission, while TCP is responsible for reliable data transmission.

[0034] Socket is an encapsulation of the TCP / IP protocol, providing a simple interface for network communication. Socket allows you to conveniently use transport layer protocols such as TCP or UDP for network programming without having to directly manipulate the underlying IP and port numbers.

[0035] Since the ODU device is only equipped with one POE Ethernet interface, it is not suitable to use the hardware-level HWVLAN technology. This embodiment uses the software-level Tag VLAN technology to implement a dedicated VLAN interface for direct access between devices within the same VLAN interface.

[0036] The Ethernet interface of the ODU device is eth0, and the VLAN interface is eth0.100. The VLAN ID of the VLAN interface can be selected in the range of 1-4094 (the example uses 100) and is only used for internal communication between the IDU and ODU devices.

[0037] S3. Based on the Ethernet interface of the IDU device, create a VLAN interface of the IDU device with the same VLAN ID as the ODU device. This interface serves as a dedicated interface for internal communication with the ODU device, enabling intercommunication between the VLAN interface of the IDU device and the VLAN interface of the ODU device, and establishing an internal communication connection between the IDU device and the ODU device. The method for establishing a communication connection between an IDU device and an ODU device includes the following steps (see Figure 2 shown): S31. In the SSL TCP Socket interface, based on network socket programming, create a TCP socket communication connection between the IDU device and the ODU device; The code is: sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM S32. Create an SSL (Secure Sockets Layer) context for the SSL TCP Socket interface; The code is: context = ssl.create_default_context() S33. Load the Certificate to the SSL TCP Socket interface for bidirectional identity authentication between the IDU and ODU devices. The code is: context.load_verify_locations(cafile=cert_path) S34. Bind the TCP socket communication to the SSL session; The code is: ssl_sock = context.wrap_socket(sock, server_hostname=192.168.100.1) S35. Configure the preset TCP Port for internal communication between the IDU and ODU devices, and connect the IDU device to the ODU device through the SSL encrypted channel based on the SSL TCPSocket interface.

[0038] The code is: ssl_sock.connect((192.168.100.1, 5566)) IP addresses and ports are essential elements for network communication. In this embodiment, the ODU device's VLAN interface is eth0.100, configured with the default IP address 192.168.100.1. 192.168 represents the private address domain, used only within the internal private network and not for communication on the global Internet. 100 represents the subnet mask segment 100 used on the 192.168 private network, and the trailing 1 represents a specific address within the 100 segment. The DHCP server function is enabled on this VLAN interface for address allocation, with the address pool range set to 100-200.

[0039] In this embodiment, the Ethernet interface of the IDU device is eth1, the VLAN interface of the IDU device is eth1.100, and the VLAN IDs of the VLAN interface of the IDU device and the VLAN interface of the ODU device are the same, both being 100.

[0040] S4. After the IDU device and the ODU device successfully establish internal communication, the communication data is protected based on SSL encryption to prevent the communication content from being intercepted or tampered with.

[0041] The method of protecting communication data based on SSL encryption is: The IDU device encrypts the AT command using SSL and sends it to the ODU device. It then encrypts the data using the AES256-bit encryption algorithm by calling the openSSL library API. It then calls the openSSL standard library function SSL_write to send the encrypted data to the ODU device. (You can refer to the Linux system's openssl command for direct call: openssl enc -aes-256-cbc -salt -a -pbkdf2 -iter 100000 -in input.txt -out output.enc) After receiving the encrypted data, the ODU device decrypts it, parses the command, and calls the OpenSSL library function to decrypt it based on the AES256 algorithm (reference command: openssl enc -d -aes-256-cbc -a -pbkdf2 -inoutput.enc -out decrypted.txt). The parsed result ("AT:OK") is encrypted with SSL and returned to the indoor IDU device, ensuring the security and reliability of the communication process.

[0042] After the IDU device and the ODU device successfully establish internal communication based on SSL TCP Socket, both the IDU device and the ODU device use SSL encryption technology to protect the communication data, effectively preventing the communication content from being intercepted or tampered with.

[0043] If the IDU and ODU devices fail to establish an internal communication connection, the exception handling mechanism is triggered. The exception handling mechanism includes: When the ODU device fails to connect to the primary port of the IDU device, the IDU device attempts to connect to the exception handling port of the ODU device. If the connection is successful, the IDU device sends a reset command ("AT+RESET") to the ODU device to reset the server-side listening communication port connection of the SSL TCP Socket interface of the ODU device.

[0044] In this embodiment, the dedicated port for exception handling is port 5555. Port 5555 is a preset port for TCP Socket communication and is only used for communication recovery during exception handling. The server-side listening communication port is port 5566, which solves communication failure problems caused by congestion or exceptions.

[0045] If the connection to the dedicated port for exception handling (port 5555) also fails, the IDU device controls the POE power supply of the Ethernet interface through the GPIO interface (general input and output interface), first lowering the power supply to turn off the power of the outdoor ODU device; then raising the power supply to power on the outdoor ODU device again to restart the ODU device and resolve the abnormal state of communication loss or freeze of the outdoor ODU device.

[0046] The working principle of the GPIO interface is: When a GPIO interface is configured in output mode, the internal circuitry controls the pin's voltage level based on the value of the output data register. For example, in OUTPUT mode, when the output data register is "0," the GPIO interface's internal N-type MOS transistor turns on, pulling the pin's voltage level down to near ground (GND). When the output data register is "1," the GPIO interface's internal P-type MOS transistor turns on, pulling the pin's voltage level up to near the preset power supply voltage (VDD).

[0047] The GPIO interface controls the POE power supply of the Ethernet interface. When the ODU device is shut down, the GPIO pin of the POE Ethernet interface, which serves as the power supply source for the ODU device, is configured to OUTPUT output mode. By writing a low-level signal to the data register corresponding to the GPIO pin, the output voltage of the GPIO pin is set to 0V, supplying 0V to the ODU device, causing the ODU device to lose power and shut down. When the ODU device is powered on, a high-level signal is written to the data register corresponding to the GPIO pin PIN, causing the GPIO pin PIN to output a high level, causing the Ethernet interface to transmit 5V voltage to the ODU device through the network cable, and the ODU device is powered on and powered on.

[0048] In this embodiment, the IDU device sends the command "AT+CGATT?" (get network status) to the ODU device. If the IDU device receives the command "+CGATT:1 OK" from the ODU device, it indicates that the ODU device is successfully connected to the network.

[0049] The internal communication method between the IDU device and the ODU device in this embodiment connects the IDU device to the ODU device through a virtual local area network interface (VLAN interface) and establishes internal secure encrypted communication. The IDU device can obtain information such as the working status, networking information, and signal strength of the ODU device, thereby improving the interactivity between the IDU device and the ODU device. Even when the data interface of the ODU device is disconnected from the network, the dedicated internal communication between the IDU device and the ODU device can still be maintained through the virtual local area network interface, thereby improving the overall performance of the wireless communication product. The Dynamic Host Configuration Protocol (DHCP) is used to avoid the impact of changes in the public network IP address after the cellular networking of the IDU device and the ODU device. This solution is applicable to the combination of indoor IDU WiFi wireless products and outdoor ODU cellular wireless communication products of different models, different chips, and different platforms. The IDU device can configure the ODU device networking cell, frequency band, network search, and mobile private network connection, and has a wide range of applicability.

[0050] An embodiment of the present invention further provides a computer device, Figure 3 This is a schematic diagram of the structure of a computer device provided by an embodiment of the present invention; see the accompanying drawings Figure 3As shown, the computer device includes: an input device 23, an output device 24, a memory 22 and a processor 21; the memory 22 is used to store one or more programs; when the one or more programs are executed by the one or more processors 21, the one or more processors 21 implement the internal communication method between the IDU device and the ODU device provided in the above embodiment; wherein the input device 23, the output device 24, the memory 22 and the processor 21 can be connected by a bus or other means, Figure 3 The bus connection is taken as an example.

[0051] The memory 22 is a readable and writable storage medium of a computing device and can be used to store software programs and computer executable programs, such as program instructions corresponding to the internal communication method between the IDU device and the ODU device described in the embodiment of the present invention. The memory 22 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system and at least one application required for a function; the data storage area can store data created based on the use of the device, etc. In addition, the memory 22 can include a high-speed random access memory and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 22 can further include a memory remotely located relative to the processor 21, and these remote memories can be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0052] The input device 23 may be used to receive input digital or character information, and generate key signal input related to user settings and function control of the device; the output device 24 may include a display device such as a display screen.

[0053] The processor 21 executes various functional applications and data processing of the device by running the software programs, instructions and modules stored in the memory 22, that is, realizes the internal communication method between the IDU device and the ODU device.

[0054] The computer device provided above can be used to execute the internal communication method between the IDU device and the ODU device provided in the above embodiment, and has corresponding functions and beneficial effects.

[0055] An embodiment of the present invention also provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to execute the internal communication method between the IDU device and the ODU device as provided in the above embodiment. The storage medium is any of various types of memory devices or storage devices, including: installation media, such as CD-ROM, floppy disk or tape device; computer system memory or random access memory, such as DRAM, DDRRAM, SRAM, EDORAM, Rambus RAM, etc.; non-volatile memory, such as flash memory, magnetic media (such as hard disk or optical storage); registers or other similar types of memory components; the storage medium may also include other types of memory or a combination thereof; in addition, the storage medium may be located in the first computer system in which the program is executed, or may be located in a different second computer system, the second computer system being connected to the first computer system via a network (such as the Internet); the second computer system may provide program instructions to the first computer for execution. The storage medium includes two or more storage media that can reside in different locations (for example, in different computer systems connected via a network). The storage medium can store program instructions (for example, specifically implemented as a computer program) that can be executed by one or more processors.

[0056] Of course, the storage medium containing computer-executable instructions provided in an embodiment of the present invention is not limited to the internal communication method between the IDU device and the ODU device described in the above embodiment, and the computer-executable instructions can also execute the relevant operations in the internal communication method between the IDU device and the ODU device provided in any embodiment of the present invention.

[0057] Thus far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it will be readily understood by those skilled in the art that the scope of protection of the present invention is obviously not limited to these specific embodiments. Without departing from the principles of the present invention, those skilled in the art may make equivalent changes or substitutions to the relevant technical features, and the technical solutions after such changes or substitutions will fall within the scope of protection of the present invention.

[0058] The foregoing description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Those skilled in the art will readily appreciate that the present invention is susceptible to various modifications and variations. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present invention are intended to be within the scope of protection of the present invention.

Claims

1. A method for internal communication between an IDU device and an ODU device, characterized in that: The following steps are involved: Create a virtual local area network interface on the ODU device for internal communication with the IDU device, and configure network parameters of the virtual local area network interface based on the dynamic host configuration protocol; Creating a virtual LAN interface on the IDU device that has the same virtual LAN identifier as that of the ODU device, and connecting the virtual LAN interface of the IDU device and the virtual LAN interface of the ODU device to each other; Create an encrypted channel based on SSL data transmission to establish internal communication between IDU and ODU devices.

2. The internal communication method between an IDU device and an ODU device according to claim 1, characterized in that: The method for creating a virtual local area network interface dedicated for internal communication with an IDU device on an ODU device includes: Create a data transmission encryption verification interface on the virtual LAN interface of the ODU device, configure the data transmission encryption verification interface as the client, configure the virtual LAN interface of the IDU device as the server, and configure the main port, server-side listening communication port, and exception handling dedicated port from the data transmission encryption verification interface.

3. The internal communication method between an IDU device and an ODU device according to claim 2, characterized in that: The method for creating an encrypted channel based on SSL data transmission and establishing internal communication between the IDU device and the ODU device includes: Creating an SSL encryption channel for a network transmission secure socket communication connection between the IDU device and the ODU device on the data transmission encryption verification interface; Creating a secure socket layer protocol context for the data transmission encryption verification interface; Loading the identity authentication certificate, and performing bidirectional identity authentication on the IDU device and the ODU device through the identity authentication certificate; Binding the network transmission secure socket communication connection to an encrypted session established through the SSL protocol; Based on the SSL encryption channel, a preset port dedicated for internal communication between the IDU device and the ODU device is configured, and the IDU device is connected to the ODU device.

4. The internal communication method between an IDU device and an ODU device according to claim 2, characterized in that: The method for configuring the network parameters of the virtual local area network interface includes: The IDU device applies for a cellular mobile network address from the ODU device; After the IDU device obtains the cellular mobile network address, it sends an AT command for querying and configuring the LTE network signal parameters of the mobile device to the ODU device.

5. The internal communication method between an IDU device and an ODU device according to claim 2, characterized in that: Also includes: If the internal communication between the IDU and ODU fails, an exception handling mechanism is triggered. The exception handling mechanism includes: When the ODU device fails to connect to the primary port of the IDU device, the IDU device attempts to connect to the exception handling dedicated port of the ODU device; When the ODU device is successfully connected to the primary port of the IDU device, the IDU device sends a reset and restart command to the ODU device to reset the connection of the server-side monitoring communication port of the ODU device.

6. The internal communication method between an IDU device and an ODU device according to claim 5, characterized in that: If the IDU device fails in its attempt to connect to the dedicated port for exception handling, the ODU device is shut down and restarted to enable the IDU device to successfully connect to the dedicated port for exception handling.

7. The internal communication method between an IDU device and an ODU device according to claim 6, characterized in that: The method of shutting down the ODU device and restarting it includes: Input zero voltage power to the ODU device to perform a shutdown operation; After shutting down the ODU device, a startup voltage is input to the ODU device to perform a restart operation.

8. The internal communication method between an IDU device and an ODU device according to claim 4, characterized in that: The method for creating an encrypted channel based on SSL data transmission includes: The IDU device sends encrypted AT command data to the ODU device; After receiving the encrypted AT command data, the ODU device decrypts the data and parses the AT command; The ODU device encrypts the parsing result of the AT command using SSL, and returns the SSL-encrypted parsing result to the IDU device.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the internal communication method between an IDU device and an ODU device according to any one of claims 1 to 8 are implemented.

10. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps of the internal communication method between the IDU device and the ODU device are implemented as described in any one of claims 1 to 8.